필터 지우기
필터 지우기

2D to 3D

조회 수: 3 (최근 30일)
Manoj Soundararajan
Manoj Soundararajan 2012년 3월 15일
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" ???

답변 (4개)

Thomas
Thomas 2012년 3월 15일
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
Sean de Wolski
Sean de Wolski 2012년 3월 15일
I've made that typo many times as well.

댓글을 달려면 로그인하십시오.


Sean de Wolski
Sean de Wolski 2012년 3월 15일
cat(3,I1,I2,I3)
doc cat
for more info

Manoj Soundararajan
Manoj Soundararajan 2012년 3월 15일
@Sean de Wolski: What are those I1, I2, I3? Are they 3 distinct images? Can all the three may be the same? Or is it necessary that they have to be distinct?
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 3월 15일
They can be the same or different.
It is important, though, that they *not* be TrueColor (RGB) images.
Manoj Soundararajan
Manoj Soundararajan 2012년 3월 15일
No they are not. Yet I don't get a 3D image.
Well !! Can u tell me about surf function ????

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2012년 3월 15일
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
Manoj Soundararajan
Manoj Soundararajan 2012년 3월 16일
I tried voxel already. That's not what I exactly need. Actually i want a human from an 2D image to be projected in a 3d plane such that its visible completly. I hope u got it now.
Walter Roberson
Walter Roberson 2012년 3월 16일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by