Read Image Coordinates
Show older comments
Hi all ,
I need a way to read the (x,y,z,colors) of a 3D image .
Thanks
7 Comments
Walter Roberson
on 8 Jun 2012
What format is your 3D image in? For example is a volumetric slice that you are using DICOM for? Or do you mean that you have a 2D image that represents a 3D scene and you wish to calculate the 3D position of each object? Or do you have a stereo pair?
Yassmin Abdallah
on 8 Jun 2012
Image Analyst
on 8 Jun 2012
So then it's a monochrome, volumetric image? Not a color volumetric image? So why can't you just do
intensity = image3D(row, column, slice)?
Yassmin Abdallah
on 8 Jun 2012
Walter Roberson
on 8 Jun 2012
We do not understand? Monochrome images are not usually spoken of as having "colors" ?
The X, Y, Z that you want: do you want pixel indices, or do you want them translated into space coordinates by examining the DICOM headers for the spacing information?
Yassmin Abdallah
on 8 Jun 2012
Image Analyst
on 8 Jun 2012
All that code does is to stack your slices into a volumetric gray scale image, and type out your inputs to the command window. It doesn't do anything like marching cubes.
Accepted Answer
More Answers (0)
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!