18 #ifndef sitkLaplacianSegmentationLevelSetImageFilter_h
19 #define sitkLaplacianSegmentationLevelSetImageFilter_h
106 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumRMSError (
double MaximumRMSError ) { this->m_MaximumRMSError = MaximumRMSError;
return *
this; }
114 SITK_RETURN_SELF_TYPE_HEADER
SetPropagationScaling (
double PropagationScaling ) { this->m_PropagationScaling = PropagationScaling;
return *
this; }
122 SITK_RETURN_SELF_TYPE_HEADER
SetCurvatureScaling (
double CurvatureScaling ) { this->m_CurvatureScaling = CurvatureScaling;
return *
this; }
130 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations ( uint32_t NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
138 SITK_RETURN_SELF_TYPE_HEADER
SetReverseExpansionDirection (
bool ReverseExpansionDirection ) { this->m_ReverseExpansionDirection = ReverseExpansionDirection;
return *
this; }
165 std::string
GetName()
const {
return std::string (
"LaplacianSegmentationLevelSetImageFilter"); }
168 std::string ToString()
const;
175 Image Execute (
const Image & initialImage,
const Image & featureImage );
182 template <
class TImageType>
Image ExecuteInternal (
const Image * initialImage,
const Image * featureImage );
191 double m_MaximumRMSError{0.02};
194 double m_PropagationScaling{1.0};
197 double m_CurvatureScaling{1.0};
200 uint32_t m_NumberOfIterations{1000u};
203 bool m_ReverseExpansionDirection{
false};
206 uint32_t m_ElapsedIterations{0};
208 double m_RMSChange{0.0};
211 bool m_InPlace{
false};