18 #ifndef sitkInvertDisplacementFieldImageFilter_h
19 #define sitkInvertDisplacementFieldImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetMaxErrorToleranceThreshold (
double MaxErrorToleranceThreshold ) { this->m_MaxErrorToleranceThreshold = MaxErrorToleranceThreshold;
return *
this; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetMeanErrorToleranceThreshold (
double MeanErrorToleranceThreshold ) { this->m_MeanErrorToleranceThreshold = MeanErrorToleranceThreshold;
return *
this; }
86 SITK_RETURN_SELF_TYPE_HEADER
SetEnforceBoundaryCondition (
bool EnforceBoundaryCondition ) { this->m_EnforceBoundaryCondition = EnforceBoundaryCondition;
return *
this; }
112 std::string
GetName()
const {
return std::string (
"InvertDisplacementFieldImageFilter"); }
115 std::string ToString()
const;
123 Image Execute (
const Image& image1,
uint32_t maximumNumberOfIterations,
double maxErrorToleranceThreshold,
double meanErrorToleranceThreshold,
bool enforceBoundaryCondition );
129 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
130 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
double GetMaxErrorNorm() const
#define SITKBasicFilters_EXPORT
Self & SetMaxErrorToleranceThreshold(double MaxErrorToleranceThreshold)
uint32_t m_MaximumNumberOfIterations
double GetMeanErrorNorm() const
double m_MeanErrorToleranceThreshold
RealVectorPixelIDTypeList PixelIDTypeList
double GetMaxErrorToleranceThreshold() const
Self & EnforceBoundaryConditionOn()
Self & SetMaximumNumberOfIterations(uint32_t MaximumNumberOfIterations)
Self & SetMeanErrorToleranceThreshold(double MeanErrorToleranceThreshold)
bool m_EnforceBoundaryCondition
Self & EnforceBoundaryConditionOff()
The Image class for SimpleITK.
double m_MaxErrorToleranceThreshold
double GetMeanErrorToleranceThreshold() const
Image InvertDisplacementField(const Image &image1, uint32_t maximumNumberOfIterations=10u, double maxErrorToleranceThreshold=0.1, double meanErrorToleranceThreshold=0.001, bool enforceBoundaryCondition=true)
Iteratively estimate the inverse field of a displacement field.
uint32_t GetMaximumNumberOfIterations() const
bool GetEnforceBoundaryCondition() const
Self & SetEnforceBoundaryCondition(bool EnforceBoundaryCondition)
Iteratively estimate the inverse field of a displacement field.
typelist::MakeTypeList< VectorPixelID< float >, VectorPixelID< double > >::Type RealVectorPixelIDTypeList
InvertDisplacementFieldImageFilter Self
The base interface for SimpleITK filters that take one input image.
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory