[vtkusers] loading a vtkImageData correctly

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Mar 8 09:02:01 EST 2007


Mark Wyszomierski wrote:
> Hi,
> 
> I have two axial studies - one scanned from head to foot, the other
> scanned from foot to head.
> 
> What can I do to load each study correctly into a vtkImageData?
> Previously I was simply loading them in a slice at a time based on
> instance number, but this fails miserably for the study which was
> scanned head to foot (the volume comes out backwards).


Hi Mark,


   See my answer to your post in dicom newsgroup. I would also suggest 
you have a look at what is being done in vtkDICOMImageReader. This is 
exactly the same idea, you order IPP along the normal (computed using IOP).

HTH
-Mathieu



More information about the vtkusers mailing list