HomePhabricator
Diffusion MITK b2ede367f92a

Fix for determining axes corresponding to given orientations

Description

Fix for determining axes corresponding to given orientations

In extreme cases when the volume was rotated around one or two world axes
by exactly 45 degrees, the same axis could be mapped to different orientations
and some other axes were not mapped to any orientations. This resulted in a
incorrectly composed transformation matrix, and the application crashed because
of an ITK exception that was thrown because the inverse matrix could not be
calculated.

This commit changes the way of mapping axes to each orientation. It ensures
that always different axes are mapped to different orientations.

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>

Details

Provenance
espakAuthored on Jun 23 2017, 6:53 PM
kislinskPushed on Oct 4 2023, 9:15 AM
Parents
rMITK071682f3ae18: Merge branch 'T19923-PickingToolInteractor'
Branches
Unknown
Tags
Unknown