18 #ifndef sitkLaplacianSegmentationLevelSetImageFilter_h
19 #define sitkLaplacianSegmentationLevelSetImageFilter_h
96 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumRMSError (
double MaximumRMSError ) { this->m_MaximumRMSError = MaximumRMSError;
return *
this; }
104 SITK_RETURN_SELF_TYPE_HEADER
SetPropagationScaling (
double PropagationScaling ) { this->m_PropagationScaling = PropagationScaling;
return *
this; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetCurvatureScaling (
double CurvatureScaling ) { this->m_CurvatureScaling = CurvatureScaling;
return *
this; }
128 SITK_RETURN_SELF_TYPE_HEADER
SetReverseExpansionDirection (
bool ReverseExpansionDirection ) { this->m_ReverseExpansionDirection = ReverseExpansionDirection;
return *
this; }
154 std::string
GetName()
const {
return std::string (
"LaplacianSegmentationLevelSetImageFilter"); }
157 std::string ToString()
const;
165 Image Execute (
const Image& image1,
const Image& image2,
double maximumRMSError,
double propagationScaling,
double curvatureScaling,
uint32_t numberOfIterations,
bool reverseExpansionDirection );
172 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
173 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
Self & ReverseExpansionDirectionOff()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetMaximumRMSError(double MaximumRMSError)
uint32_t m_NumberOfIterations
#define SITKBasicFilters_EXPORT
double m_CurvatureScaling
bool m_ReverseExpansionDirection
LaplacianSegmentationLevelSetImageFilter Self
Image LaplacianSegmentationLevelSet(const Image &image1, const Image &image2, double maximumRMSError=0.02, double propagationScaling=1.0, double curvatureScaling=1.0, uint32_t numberOfIterations=1000u, bool reverseExpansionDirection=false)
Segments structures in images based on a second derivative image features.
double GetCurvatureScaling() const
double GetPropagationScaling() const
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
Segments structures in images based on a second derivative image features.
Self & SetNumberOfIterations(uint32_t NumberOfIterations)
double GetRMSChange() const
The Root Mean Square of the levelset upon termination.
uint32_t GetNumberOfIterations() const
double GetMaximumRMSError() const
double m_PropagationScaling
Self & SetPropagationScaling(double PropagationScaling)
uint32_t GetElapsedIterations() const
Number of iterations run.
Self & SetCurvatureScaling(double CurvatureScaling)
The main Image class for SimpleITK.
bool GetReverseExpansionDirection() const
std::string GetName() const
Self & ReverseExpansionDirectionOn()
The base interface for SimpleITK filters that take one input image.
uint32_t m_ElapsedIterations
Self & SetReverseExpansionDirection(bool ReverseExpansionDirection)
RealPixelIDTypeList PixelIDTypeList