[ITK] [ITK-users] ExtractSliceImageFilter & image orientation

Christina Roßmanith ChrRossmanith at gmx.de
Sat Mar 4 11:57:20 EST 2017


Hi Matt,

SetDirectionCollapseToGuess() and SetDirectionCollapseToIdentity() both lead
to the same bad oriented slice, SetDirectionCollapseToSubmatrix() throws an
exception with error message "Invalid submatrix extracted for collapsed
direction."

But SetUseImageDirection( true ) and
SetDesiredCoordinateOrientationToSagittal() on the OrientImageFilter in
combination with SetDirectionCollapseToSubmatrix() on the ExtractImageFilter
did the trick.

Regards,
Christina



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-ExtractSliceImageFilter-image-orientation-tp7589657p7589661.html
Sent from the ITK Insight 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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list