A C++ app that uses a 3D vector field to warp/deform an input 3D volume.
This app requires the Insight Segmentation & Registration Toolkit (ITK). It has been tested with version 4.11 of the toolkit.
Run the following to build:
cd deformationFieldTransform/
cmake .
make
You need a 3D volume as input, plus a deformation field which will be used to warp/deform the input volume. An output volume will be produced containing the result. Run with:
DeformationFieldTransform <Input volume> <Input deformation field> <Output volume>
Example:
DeformationFieldTransform MRIscan_0001.nii deformationfield.mha MRIscan_0001.output.nii
- http://public.kitware.com/pipermail/insight-users/2011-July/041853.html
- https://itk.org/pipermail/insight-users/2011-May/041192.html
- https://itk.org/Doxygen/html/classitk_1_1DisplacementFieldTransform.html
- https://itk.org/Doxygen/html/classitk_1_1InverseDisplacementFieldImageFilter.html
- https://itk.org/Doxygen/html/classitk_1_1WarpImageFilter.html