[Insight-users] loading a dataset correctly
Dan Mueller
d.mueller at qut.edu.au
Thu Mar 8 00:07:31 EST 2007
Hi Mark,
From my understanding the itk::OrientImageFilter determines the given
orientation using the direction cosines (if UseImageDirection = true). I
use Meta Header files with the AnatomicalOrientation field set to the
orientation of the dataset on disk. Therefore when I read a dataset, I
can use the itk::OrientImageFilter to set the desired orientation.
In your case, some of your datasets will be "RAI" (ie. axial:
*right*-to-left varies fastest, then *anterior*-to-posterior, then
*inferior*-to-superior), and some of them "RAS". If you apply the
itk::OrientImageFilter to the datasets and set the desired orientation
"RAI", all the datasets will be transformed to be the same orientation.
Is there some reason I missed preventing you from using this approach?
Dan
Mark Wyszomierski wrote:
> Hi Dan,
>
> I used this class about a year ago - if I remember correctly, it
> expects you to load the image data correctly in the first place before
> trying to transform.
>
> My problem is that for a give study, I don't know whether to load my
> images from back to front, or back to front.
>
> Do you know if that class has any support for this though?
>
> Thanks,
> Mark
>
> On 3/7/07, Dan Mueller <d.mueller at qut.edu.au> wrote:
>> Hi Mark,
>>
>> You probably want the itk::OrientImageFilter
>>
>>
>> http://www.itk.org/Doxygen/html/classitk_1_1OrientImageFilter.html
>>
>> HTH
>>
>> Dan
>>
>> Mark Wyszomierski wrote:
>> Hi,
>>
>> I have two axial studies - one scanned from head to foot, the other
>> scanned from foot to head.
>>
>> This causes a problem when loading them each a slice at a time into a
>> vtkImageData object for volume rendering (based on instance number) -
>> the acquisition scanned from head to foot comes out 'backwards'.
>>
>> I'm wondering if there is some ITK class to help me load the slices in
>> the correct order?
>>
>> Please help me,
>>
>> Thanks,
>> Mark
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070308/cbbd2581/attachment.html
More information about the Insight-users
mailing list