ANIMA  4.0
animaVelocityUtils.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <itkStationaryVelocityFieldTransform.h>
4 #include <rpiDisplacementFieldTransform.h>
5 
6 namespace anima
7 {
8 
13 template <class ScalarType, unsigned int NDimensions>
14 void composeSVF(itk::StationaryVelocityFieldTransform <ScalarType,NDimensions> *baseTrsf,
15  itk::StationaryVelocityFieldTransform <ScalarType,NDimensions> *addonTrsf,
16  unsigned int numThreads, unsigned int bchOrder);
17 
18 template <class ScalarType, unsigned int NDimensions>
19 void GetSVFExponential(itk::StationaryVelocityFieldTransform <ScalarType,NDimensions> *baseTrsf,
20  rpi::DisplacementFieldTransform <ScalarType,NDimensions> *resultTransform,
21  unsigned int exponentiationOrder, unsigned int numThreads, bool invert);
22 
27 template <class ScalarType, unsigned int NDimensions>
28 void composeDistortionCorrections(typename rpi::DisplacementFieldTransform <ScalarType,NDimensions>::Pointer &baseTrsf,
29  typename rpi::DisplacementFieldTransform <ScalarType,NDimensions>::Pointer &positiveAddOn,
30  typename rpi::DisplacementFieldTransform <ScalarType,NDimensions>::Pointer &negativeAddOn,
31  unsigned int numThreads);
32 
33 } // end of namespace anima
34 
35 #include "animaVelocityUtils.hxx"
void GetSVFExponential(itk::StationaryVelocityFieldTransform< ScalarType, NDimensions > *baseTrsf, rpi::DisplacementFieldTransform< ScalarType, NDimensions > *resultTransform, unsigned int exponentiationOrder, unsigned int numThreads, bool invert)
void composeSVF(itk::StationaryVelocityFieldTransform< ScalarType, NDimensions > *baseTrsf, itk::StationaryVelocityFieldTransform< ScalarType, NDimensions > *addonTrsf, unsigned int numThreads, unsigned int bchOrder)
void composeDistortionCorrections(typename rpi::DisplacementFieldTransform< ScalarType, NDimensions >::Pointer &baseTrsf, typename rpi::DisplacementFieldTransform< ScalarType, NDimensions >::Pointer &positiveAddOn, typename rpi::DisplacementFieldTransform< ScalarType, NDimensions >::Pointer &negativeAddOn, unsigned int numThreads)