[vtkusers] how to position/orient a DICOM volume
Elvis Chen
elvis.chen at gmail.com
Fri Oct 12 17:04:23 EDT 2007
hi all,
I would like to display multiple DICOM volumes in a common coordinate
system (MRI machine, for example) so that volumes of different
anatomies are displayed in their correct poses (relative to each
other). Using DataExtent and DataSpacing, one can compute the *real*
size of the volume, but I'm not clear on how to position and orient a
DICOM volume.
>From the documentation the following two functions seems to give the
absolute geometry of a DICOM volume (from vtkDICOMImageReader):
GetImageOrientationPatient()
Get the (DICOM) directions cosines. It consist of the components of
the first two vectors. The third vector needs to be computed to form
an orthonormal basis.
GetImagePositionPatient()
Get the (DICOM) x,y,z coordinates of the first pixel in the image
(upper left hand corner) of the last image processed by the
DICOMParser
However, the descriptions are not informative enough for me to render
the DICOM volumes correctly. Can someone please explain if I'm on the
right track, or is there another to get the absolute geometry of a
DICOM volume?
any help is very much appreciated,
Elvis
More information about the vtkusers
mailing list