<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<small><font face="Helvetica, Arial, sans-serif">Hi Mark,<br>
<br>
>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.<br>
<br>
In your case, some of your datasets will be "RAI" </font></small><small><font
face="Helvetica, Arial, sans-serif">(</font></small><small><font
face="Helvetica, Arial, sans-serif">ie. axial: <b>right</b>-to-left
varies fastest, then <b>anterior</b>-to-posterior, then <b>inferior</b>-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.<br>
<br>
Is there some reason I missed preventing you from using this approach?</font></small><small><font
face="Helvetica, Arial, sans-serif"><br>
<br>
Dan<br>
<br>
Mark Wyszomierski wrote:</font></small>
<blockquote
cite="middfdfe01e0703071825u63d78d9xa42d62bd7c349d8f@mail.gmail.com"
type="cite"><small><font face="Helvetica, Arial, sans-serif">Hi Dan,
<br>
<br>
I used this class about a year ago - if I remember correctly, it
<br>
expects you to load the image data correctly in the first place before
<br>
trying to transform.
<br>
<br>
My problem is that for a give study, I don't know whether to load my
<br>
images from back to front, or back to front.
<br>
<br>
Do you know if that class has any support for this though?
<br>
<br>
Thanks,
<br>
Mark
<br>
<br>
On 3/7/07, Dan Mueller <a class="moz-txt-link-rfc2396E" href="mailto:d.mueller@qut.edu.au"><d.mueller@qut.edu.au></a> wrote:
<br>
</font>
</small>
<blockquote type="cite"><small><font
face="Helvetica, Arial, sans-serif">Hi Mark,
<br>
<br>
You probably want the itk::OrientImageFilter
<br>
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.itk.org/Doxygen/html/classitk_1_1OrientImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1OrientImageFilter.html</a>
<br>
<br>
HTH
<br>
<br>
Dan
<br>
<br>
Mark Wyszomierski wrote:
<br>
Hi,
<br>
<br>
I have two axial studies - one scanned from head to foot, the other
<br>
scanned from foot to head.
<br>
<br>
This causes a problem when loading them each a slice at a time into a
<br>
vtkImageData object for volume rendering (based on instance number) -
<br>
the acquisition scanned from head to foot comes out 'backwards'.
<br>
<br>
I'm wondering if there is some ITK class to help me load the slices in
<br>
the correct order?
<br>
<br>
Please help me,
<br>
<br>
Thanks,
<br>
Mark
<br>
_______________________________________________
<br>
Insight-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
<br>
<br>
</font>
</small></blockquote>
</blockquote>
</body>
</html>