18 #ifndef sitkInvertDisplacementFieldImageFilter_h
19 #define sitkInvertDisplacementFieldImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumNumberOfIterations ( uint32_t MaximumNumberOfIterations ) { this->m_MaximumNumberOfIterations = MaximumNumberOfIterations;
return *
this; }
69 SITK_RETURN_SELF_TYPE_HEADER
SetMaxErrorToleranceThreshold (
double MaxErrorToleranceThreshold ) { this->m_MaxErrorToleranceThreshold = MaxErrorToleranceThreshold;
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
SetMeanErrorToleranceThreshold (
double MeanErrorToleranceThreshold ) { this->m_MeanErrorToleranceThreshold = MeanErrorToleranceThreshold;
return *
this; }
85 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;
127 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
136 uint32_t m_MaximumNumberOfIterations{10u};
138 double m_MaxErrorToleranceThreshold{0.1};
140 double m_MeanErrorToleranceThreshold{0.001};
142 bool m_EnforceBoundaryCondition{
true};
145 double m_MaxErrorNorm{0.0};
147 double m_MeanErrorNorm{0.0};