18 #ifndef sitkThresholdSegmentationLevelSetImageFilter_h
19 #define sitkThresholdSegmentationLevelSetImageFilter_h
97 SITK_RETURN_SELF_TYPE_HEADER
SetLowerThreshold (
double LowerThreshold ) { this->m_LowerThreshold = LowerThreshold;
return *
this; }
106 SITK_RETURN_SELF_TYPE_HEADER
SetUpperThreshold (
double UpperThreshold ) { this->m_UpperThreshold = UpperThreshold;
return *
this; }
114 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumRMSError (
double MaximumRMSError ) { this->m_MaximumRMSError = MaximumRMSError;
return *
this; }
122 SITK_RETURN_SELF_TYPE_HEADER
SetPropagationScaling (
double PropagationScaling ) { this->m_PropagationScaling = PropagationScaling;
return *
this; }
130 SITK_RETURN_SELF_TYPE_HEADER
SetCurvatureScaling (
double CurvatureScaling ) { this->m_CurvatureScaling = CurvatureScaling;
return *
this; }
146 SITK_RETURN_SELF_TYPE_HEADER
SetReverseExpansionDirection (
bool ReverseExpansionDirection ) { this->m_ReverseExpansionDirection = ReverseExpansionDirection;
return *
this; }
173 std::string
GetName()
const {
return std::string (
"ThresholdSegmentationLevelSetImageFilter"); }
176 std::string ToString()
const;
183 Image Execute (
const Image & initialImage,
const Image & featureImage );
190 template <
class TImageType>
Image ExecuteInternal (
const Image * initialImage,
const Image * featureImage );
198 double m_LowerThreshold{0.0};
200 double m_UpperThreshold{255.0};
203 double m_MaximumRMSError{0.02};
206 double m_PropagationScaling{1.0};
209 double m_CurvatureScaling{1.0};
215 bool m_ReverseExpansionDirection{
false};
220 double m_RMSChange{0.0};
223 bool m_InPlace{
false};