2D to 3D
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am doing my graduation project.. I want to know about the conversion of 2D image into 3D image using cat3 function. Can anyone tell me the syntax behind the usage of "cat3" ???
0 comentarios
Respuestas (4)
Thomas
el 15 de Mzo. de 2012
I'm not sure about the cat3 function. It is not part of MATLAB, is it from file exchange? or any particular toolbox.
cat is function used to concatenate arrays..
doc cat
will give you help about the function..
1 comentario
Manoj Soundararajan
el 15 de Mzo. de 2012
2 comentarios
Walter Roberson
el 15 de Mzo. de 2012
They can be the same or different.
It is important, though, that they *not* be TrueColor (RGB) images.
Walter Roberson
el 15 de Mzo. de 2012
Well, what do you mean by a "3d image" ? cat(3,I1,I2,I3) would be for creating an RGB image from individual color planes.
MATLAB does not have any (useful) volume visualization routines.
surf() is not designed for volume visualization.
You may wish to have a look at the File Exchange contribution http://www.mathworks.com/matlabcentral/fileexchange/3280-voxel
3 comentarios
Walter Roberson
el 16 de Mzo. de 2012
Then what you need is an extensive model of the shape and material properties, colors, specular properties, light absorption properties of tissue, and varies other pieces of information about human bodies. And then you want models of your light positions, light spectral characteristics, light polarization properties, coherence of the light source, shape and material properties of the emission cavity; and you want to know about the atmospheric properties, humidity, dust particle size distribution, particulate composition in suspension in the atmosphere, molecular gas proportions and light absorption and polarization properties. Once you have all of this data, you want to put it through a good Ray Tracing program, which will probably hum away for half an hour or so to produce one single frame of the 3D view.
OR// you could refine your data set to finer-grained voxels and use a voxel rendering program. Some people have a fondness for that approach.
http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22ray+tracing%22
Ver también
Categorías
Más información sobre Biomedical Imaging en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!