Import 2017-06-07 23:51:09: master 3f08787c

Author Committer Branch Timestamp Parent
lassoan lassoan master 2015-04-20 22:34:20 master 956e19ff
Changeset

ENH: Improve reslicing speed of quasi-axis-aligned slices

Reslicing speed is 10-20% faster if reslice transform is a permute transform (only reordering of axis and scaling).
Reslice filter checks for strict zero equality to detect a permute transform, which often misses permute transforms
which have very very small values but not exactly zeros.

Added a method to suppress very small components in a transformation matrix (relative to the largest component)
before passing to reslice filter to allow more volumes benefit from this speed optimization.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24182 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Logic/vtkMRMLSliceLayerLogic.cxx Diff File