[Dcmlib] 2D -> 3D

Olivier Stern olivier.stern at swing.be
Sun Jul 17 15:22:03 CEST 2005


Actually, there is no real '3D' in Dicom.
Volumes are either a of of slices (one slice in each image file), or a
'multiframe' file (all the planes in a single file).
If you have to deal with a set of slices, you must 'concatenate' the pixels
of each one.
This is done 'out of gdcm'.



==> how do you represent the image so ? a 3D matrix ? And what is the file
format ?


gdcm comes with a vtkGdcmReader (derived class of vtkImageReader ) that can
read a set of files 'ala VTK')
After that, all the VTK abilities are wide open for you.



==> In fact, i've never used VTK, just install it to use examples of gdcm


It depends on what it contains.
Since you're working on MRI brain images, you'll have to perform some
thresholding, segmentation, etc, before.
See VTK doc.

==> Ok !

Olivier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050717/13bfbfe5/attachment.html>


More information about the Dcmlib mailing list