[vtkusers] Image Orientation calculation

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu May 6 03:47:34 EDT 2010


On Wed, May 5, 2010 at 3:59 PM, Abhishek_Gupta
<guptaabhishek1983 at gmail.com> wrote:
>
> Am implementing the MPR functionality using VTK libraries and bit confused
> how to calculate the patient orientations in the sagital and coronal view
> when the DICOM image was in Axial view. I was able to display the
> orientations from the DICOM file using the formulas provided in the
> http://www.dclunie.com/medical-image-faq/html/part2.html site by Mr. Clunie.

This particular piece of code is available in GDCM 2.x. Look for a
class gdcm.Orientation.

> Using this i get the orientation of the image of that particular DICOM image
> but how should i calculate the orientations for the other views except the
> one present in the DICOM file when reconstructed using the VTK.

There is an example that show how to use DICOM orientation and pass it to VTK:

http://gdcm.sourceforge.net/html/gdcmreslice.cxx-example.html

HTH
-- 
Mathieu



More information about the vtkusers mailing list