I’m working on cleaning up the MINC support (IO and Transforms) in ITK, and my last step is to properly handle the MINC non-linear deformation files. The major change is to convert the coordinate system every single voxel vector element from RAS to LPS, equivalent to multiplication with (-1,-1,0). See https://github.com/InsightSoftwareConsortium/ITK/pull/147
From my reading, https://itk.org/Doxygen/html/classitk_1_1MultiplyImageFilter.html doesn’t seem to support templating (is that the right term?) over a vector, only images, or constants.
So the question arises, do I write some special code for the TransforMINC module, or do I make some modifications to the MultiplyImageFilter. Would there be other users of such functionality?