how to find the depth from the image?

조회 수: 10 (최근 30일)
SURENTHIRAN C
SURENTHIRAN C 2014년 2월 25일
댓글: Mohammad Shafivulla 2020년 1월 12일
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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by