how to find the depth from the image?

28 visualizaciones (últimos 30 días)
SURENTHIRAN C
SURENTHIRAN C el 25 de Feb. de 2014
Comentada: Mohammad Shafivulla el 12 de En. de 2020
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 comentarios
Image Analyst
Image Analyst el 25 de Feb. de 2014
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 el 12 de En. de 2020
sir,
I need depth of an image my input is rgb image i need depth map image for this. can plese help me.

Iniciar sesión para comentar.

Respuestas (2)

Jacob Halbrooks
Jacob Halbrooks el 25 de Feb. de 2014
Editada: Jacob Halbrooks el 25 de Feb. de 2014
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 el 20 de Jul. de 2018
info = imfinfo('D.jpg'); info.BitDepth

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by