how to find the depth from the image?

12 ビュー (過去 30 日間)
SURENTHIRAN C
SURENTHIRAN C 2014 年 2 月 25 日
sir i have used 2d image in project it has only x and y directions but i want depth of the image in all direction like x,y,z because i want convert 2d to 3d imaging so please help me
  2 件のコメント
Image Analyst
Image Analyst 2014 年 2 月 25 日
What do you mean by depth? Like bit depth, like 8 bits or 16 or 24 bits? Or depth like you have a topographic image?
Mohammad Shafivulla
Mohammad Shafivulla 2020 年 1 月 12 日
sir,
I need depth of an image my input is rgb image i need depth map image for this. can plese help me.

サインインしてコメントする。

回答 (2 件)

Jacob Halbrooks
Jacob Halbrooks 2014 年 2 月 25 日
編集済み: Jacob Halbrooks 2014 年 2 月 25 日
You can use IMFINFO to find the bit depth of an image. For example:
>> info = imfinfo('ngc6543a.jpg');
>> info.BitDepth
ans =
24
As for conversion of 2D to 3D, you may want to look at some previous answers on this topic, such as this or this.

Arunachal Eswaran
Arunachal Eswaran 2018 年 7 月 20 日
info = imfinfo('D.jpg'); info.BitDepth

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by