how to convert 2D image into 3D ??
Afficher commentaires plus anciens
Hello everybody,my graduation project is about 3D mri visualization ,I want to convert 2D images into 3D ...could anyone help me plz
10 commentaires
Doug Hull
le 8 Mar 2012
What does it mean to convert a 2-d image to 3-d?
Sean de Wolski
le 8 Mar 2012
@Doug, repmat() it!
Med_Imager
le 8 Mar 2012
Do you just want to add a dimension?
MRI_3D=repmat(MRI, [1 1 64])
if there is a whole bunch of images you could run a for loop
Med_Imager
le 8 Mar 2012
However, your question is confusing, if you say you have 2D IMAGES (plural)
that means it is something like a 3D
size(horizontal) x size(vert) x # of images
Walter Roberson
le 8 Mar 2012
Question for Maha: are your images already registered, or do you need to do the registration step?
If the source images are in DICOM format from a standard MRI machine, and are from a single scan, then you can assume they are registered relative to each other. It won't be completely true, but it should be close enough for brain imaging (but will _not_ be close enough for chest imaging!)
If the source images are averaged from multiple scans, or are from multiple modalities, then you will need to do image registration.
maha mohy
le 9 Mar 2012
sorena mirzaie
le 5 Juin 2013
try gray2rgb
Bhoomika Ghosh
le 6 Août 2013
@i have a similar project currently i have registered images from DICOM and need an algorithm / code to convert 64 slices into a 3D brain model.. can u plz help me! Walter Roberson
zee falcon
le 27 Déc 2016
I also need help for 3d conversion of MRI images. Need code to convert it into 3d model. Kindly help me out.
Image Analyst
le 27 Déc 2016
Explain why cat() did not work for you.
Réponse acceptée
Plus de réponses (2)
Walter Roberson
le 8 Mar 2012
0 votes
The problem is not constructing the 3D array: the problem is displaying it. MATLAB does not have good voxel visualization routines. You could try http://www.mathworks.com/matlabcentral/fileexchange/3280-voxel
5 commentaires
Image Analyst
le 8 Mar 2012
How did you decide that? Displaying is converting a 3D volumetric image into a 2D projection image - the opposite of what he said.
Walter Roberson
le 8 Mar 2012
At my workplace we often build 3D MRI images from 2D MRI slices. MATLAB is okay for displaying the resulting datasets if you just want a planar slice, but it is far far below the 3-space imaging capabilities of some other products.
For example see
http://www.vitalimages.com/App_Themes/VitalStandard/Images/Common/04-HPHOTO.jpg
and look at the lower-left image in the "screen" in the middle foreground. Textured, shaded, cut-ins, real-time transparency control based upon data ranges so that you can see (e.g.) tumors and peer inside them...
Image Analyst
le 8 Mar 2012
I definitely agree that MATLAB doesn't have anywhere near the power of other programs in doing volumetric visualization.
amine benhsina
le 18 Août 2021
can you propose a best programming language to for 3D image construction,and could you provide us with some sources that can help us in this
thank you
Image Analyst
le 19 Août 2021
Depends on what you mean by 3-D Image reconstruction. Usually instruments have this built-in. For example if you have a CT, MRI, or confocal instrument, those instruments have software to reconstruct the 3-D image.
If you want to do visualization on the reconstructed volume, we use Avizo:
zahoor mosad
le 20 Nov 2018
0 votes
please code in matlab convert 2D image to 3D
Catégories
En savoir plus sur Medical Physics dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!