[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.


More information about the Insight-users mailing list