[vtkusers] CO-PLANAR DICOM DATA
David Gobbi
david.gobbi at gmail.com
Tue Jul 13 09:08:41 EDT 2010
There are two common methods for sorting DICOM images within a series:
1) Sort based on InstanceNumber. This is an easy method, but it can
result in the images being ordered in reverse (there are methods for
determining whether to sort back-to-front or front-to-back, but but
they require as much math as method (2) below, so I won't go into
them).
2) Use ImageOrientationPatient and ImagePositionPatient. This is a
very robust method for sorting. Take the cross product of the two
ImageOrientationPatient vectors in order to get the slice normal.
Then take the dot product of the slice normal with the
ImagePositionPatient for each slice to generate a coordinate "d" that
is orthogonal to the slice normal. Sort the slices based on the value
of "d" in order to create a volume. Set the voxels spacings for the
volume to the Col spacing, the Row spacing, and for the third spacing
use the value by which "d" changes when you go from one slice to the
next.
Note that CT images are sometimes acquired at an oblique angle (i.e.
with gantry tilt). Oblique CT scans form a parallelogram-shaped
volume instead of a rectangular volume and because of this they are
difficult to do MPRs on.
David
On Tue, Jul 13, 2010 at 2:54 AM, Jothy <jothybasu at gmail.com> wrote:
> Use vtkImageReslice
>
> Jothy
>
> On Tue, Jul 13, 2010 at 5:42 AM, Abhishek_Gupta
> <guptaabhishek1983 at gmail.com> wrote:
>>
>> Hello all,
>>
>> Does someone has an idea on, how to handle co-planar dicom data series for
>> MPR?
>>
>> I understand that I'll have to sort data set based on some value from
>> Dicom
>> header. Which Dicom header should i use and how?
>>
>> P.S. If you require more inputs. do let me know.
>>
>> Thank you
>> Abhishek Gupta
>> --
>> View this message in context:
>> http://old.nabble.com/CO-PLANAR-DICOM-DATA-tp29146574p29146574.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list