[Insight-users] itk ResampleImageFilter + OutputDirection Problem (dicom)

Luis Ibanez luis.ibanez at kitware.com
Thu Mar 25 12:09:08 EDT 2010


Hi Sebastien,

Thanks for sharing with us the resolution of the problem.

--

One last observation:

If the DICOM files are created properly, you shouldn't need
to use the OrientImageFilter at all.   ITK takes the direction
cosines directly from the DICOM headers (via GDCM), and
then uses those direction cosines during the registration
process.

In other words, you can directly register a Coronal image with
a Sagittal image without having to explicitly reorient any of them.

ITK image orientation now manages these direction cosines
properly (as of ITK 3.16).


    Regards,


          Luis


------------------------------------------------------------------------
On Thu, Mar 25, 2010 at 9:10 AM, Aussensaiter <s.ganger at hotmail.com> wrote:
>
> Just wanted to clear things up, if somebody stumbles across a similar problem
> and finds this thread.
> I figured out that it was only occuring with MR Images, CT Images seemed to
> be fine.
> So the main difference between them was, that the MR Images where not in
> coronal view, when sliced through the z-Axis.
> All CT's where, and i wanted to skip the problem so i used the
> OrientImageFilter and set it to "RAI", firstly ignoring the problem.
> Afterwards when i tried the Affine Transform again out of curiosity there
> was no more problem with the images, they are oriented rightly and the
> AffineTransform now works fine :)
>
> Long story short:
> The images needed to be rotated to coronal view before the affine Transform.
> Thx for your help =)
> --
> View this message in context: http://old.nabble.com/itk-ResampleImageFilter-%2B-OutputDirection-Problem-%28dicom%29-tp27768466p28028647.html
> Sent from the ITK - 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
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list