18 #ifndef sitkGeodesicActiveContourLevelSetImageFilter_h
19 #define sitkGeodesicActiveContourLevelSetImageFilter_h
100 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumRMSError (
double MaximumRMSError ) { this->m_MaximumRMSError = MaximumRMSError;
return *
this; }
108 SITK_RETURN_SELF_TYPE_HEADER
SetPropagationScaling (
double PropagationScaling ) { this->m_PropagationScaling = PropagationScaling;
return *
this; }
116 SITK_RETURN_SELF_TYPE_HEADER
SetCurvatureScaling (
double CurvatureScaling ) { this->m_CurvatureScaling = CurvatureScaling;
return *
this; }
124 SITK_RETURN_SELF_TYPE_HEADER
SetAdvectionScaling (
double AdvectionScaling ) { this->m_AdvectionScaling = AdvectionScaling;
return *
this; }
140 SITK_RETURN_SELF_TYPE_HEADER
SetReverseExpansionDirection (
bool ReverseExpansionDirection ) { this->m_ReverseExpansionDirection = ReverseExpansionDirection;
return *
this; }
166 std::string
GetName()
const {
return std::string (
"GeodesicActiveContourLevelSetImageFilter"); }
169 std::string ToString()
const;
177 Image Execute (
const Image& image1,
const Image& image2,
double maximumRMSError,
double propagationScaling,
double curvatureScaling,
double advectionScaling,
uint32_t numberOfIterations,
bool reverseExpansionDirection );
184 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
185 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
double m_AdvectionScaling
#define SITKBasicFilters_EXPORT
double GetRMSChange() const
The Root Mean Square of the levelset upon termination.
double GetPropagationScaling() const
Self & ReverseExpansionDirectionOff()
bool m_ReverseExpansionDirection
Self & SetAdvectionScaling(double AdvectionScaling)
double m_CurvatureScaling
Self & SetCurvatureScaling(double CurvatureScaling)
uint32_t m_ElapsedIterations
bool GetReverseExpansionDirection() const
Self & SetNumberOfIterations(uint32_t NumberOfIterations)
Self & SetPropagationScaling(double PropagationScaling)
Self & SetMaximumRMSError(double MaximumRMSError)
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
Self & ReverseExpansionDirectionOn()
Self & SetReverseExpansionDirection(bool ReverseExpansionDirection)
Image GeodesicActiveContourLevelSet(const Image &image1, const Image &image2, double maximumRMSError=0.01, double propagationScaling=1.0, double curvatureScaling=1.0, double advectionScaling=1.0, uint32_t numberOfIterations=1000u, bool reverseExpansionDirection=false)
Segments structures in images based on a user supplied edge potential map.
double m_PropagationScaling
std::string GetName() const
uint32_t GetNumberOfIterations() const
The main Image class for SimpleITK.
double GetMaximumRMSError() const
Segments structures in images based on a user supplied edge potential map.
double GetAdvectionScaling() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
uint32_t m_NumberOfIterations
GeodesicActiveContourLevelSetImageFilter Self
The base interface for SimpleITK filters that take one input image.
RealPixelIDTypeList PixelIDTypeList
double GetCurvatureScaling() const
uint32_t GetElapsedIterations() const
Number of iterations run.