Import 2017-06-07 23:51:09: master 979d08bb

Author Committer Branch Timestamp Parent
lassoan lassoan master 2014-05-16 17:11:28 master 7d069595
Changeset

ENH: Added support for oriented grid Transform

  • Added a new class, vtkOrientedGridTransform, which is based on vtkGridTransform but orientation of the grid can be specified as well.
  • Added test for vtkOrientedGridTransform to verify its derivative and inverse computation and equivalence with ITK displacement field transform.
  • Simplified vtkMRMLGridTransform node: transform parameters are read/written into ITK transform file, no duplicate saving is done in the scene.
  • Removed unused vtkITK files: itkDisplacementFieldTransform, itkEncodedTransformFileReader/Writer, as they were not used (and some of them even had the same name as existing ITK files).
  • Support reading/writing of grid transform from/to nrrd, nhdr, mha, mhd, nii, nii.gz files

Resolves:
http://www.na-mic.org/Bug/view.php?id=3597
http://www.na-mic.org/Bug/view.php?id=3444
http://na-mic.org/Bug/view.php?id=2273

Partially resolves:
http://www.na-mic.org/Bug/view.php?id=3598

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

mod - Libs/MRML/Core/CMakeLists.txt Diff File
mod - Libs/MRML/Core/Testing/CMakeLists.txt Diff File
mod - Libs/MRML/Core/Testing/vtkMRMLNonlinearTransformNodeTest1.cxx Diff File
mod - Libs/MRML/Core/Testing/vtkOrientedBSplineTransformTest1.cxx Diff File
add - Libs/MRML/Core/Testing/vtkOrientedGridTransformTest1.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLBSplineTransformNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLGridTransformNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLGridTransformNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLTransformNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkOrientedBSplineTransform.h Diff File
add - Libs/MRML/Core/vtkOrientedGridTransform.cxx Diff File
add - Libs/MRML/Core/vtkOrientedGridTransform.h Diff File
rm - Libs/vtkITK/itkDisplacementFieldTransform.h Diff File
rm - Libs/vtkITK/itkDisplacementFieldTransform.txx Diff File
rm - Libs/vtkITK/itkEncodedTransformFileReader.cxx Diff File
rm - Libs/vtkITK/itkEncodedTransformFileReader.h Diff File
rm - Libs/vtkITK/itkEncodedTransformFileWriter.cxx Diff File
rm - Libs/vtkITK/itkEncodedTransformFileWriter.h Diff File