18#ifndef sitkThresholdSegmentationLevelSetImageFilter_h
19#define sitkThresholdSegmentationLevelSetImageFilter_h
211 std::string
GetName()
const {
return std::string(
"ThresholdSegmentationLevelSetImageFilter"); }
227 initialImage,
const Image *
230 initialImage,
const Image *
278 Image &&initialImage,
const Image &featureImage,
double lowerThreshold = 0.0,
double upperThreshold = 255.0,
double maximumRMSError = 0.02,
double propagationScaling = 1.0,
double curvatureScaling = 1.0, uint32_t numberOfIterations = 1000u,
bool reverseExpansionDirection =
false
284 const Image &initialImage,
const Image &featureImage,
double lowerThreshold = 0.0,
double upperThreshold = 255.0,
double maximumRMSError = 0.02,
double propagationScaling = 1.0,
double curvatureScaling = 1.0, uint32_t numberOfIterations = 1000u,
bool reverseExpansionDirection =
false
The Image class for SimpleITK.
void ReverseExpansionDirectionOff()
uint32_t m_NumberOfIterations
uint32_t m_ElapsedIterations
Image Execute(Image &&initialImage, const Image &featureImage)
void SetPropagationScaling(double PropagationScaling)
double m_CurvatureScaling
Image(Self::*)(const Image * initialImage, const Image * featureImage) MemberFunctionType
void ReverseExpansionDirectionOn()
bool m_ReverseExpansionDirection
double GetPropagationScaling() const
void SetMaximumRMSError(double MaximumRMSError)
Image ExecuteInternal(const Image *initialImage, const Image *featureImage)
uint32_t GetElapsedIterations() const
Number of iterations run.
void SetCurvatureScaling(double CurvatureScaling)
double GetLowerThreshold() const
double GetUpperThreshold() const
void SetLowerThreshold(double LowerThreshold)
void SetNumberOfIterations(uint32_t NumberOfIterations)
double m_PropagationScaling
double GetRMSChange() const
The Root Mean Square of the levelset upon termination.
double GetMaximumRMSError() const
virtual ~ThresholdSegmentationLevelSetImageFilter()
void SetReverseExpansionDirection(bool ReverseExpansionDirection)
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
bool GetReverseExpansionDirection() const
ThresholdSegmentationLevelSetImageFilter()
uint32_t GetNumberOfIterations() const
Image Execute(const Image &initialImage, const Image &featureImage)
ThresholdSegmentationLevelSetImageFilter Self
std::string GetName() const
std::string ToString() const
RealPixelIDTypeList PixelIDTypeList
void SetUpperThreshold(double UpperThreshold)
double GetCurvatureScaling() const
A class used to instantiate and generate function object to templated member functions.
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
Image ThresholdSegmentationLevelSet(Image &&initialImage, const Image &featureImage, double lowerThreshold=0.0, double upperThreshold=255.0, 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 intensity values.
#define SITKBasicFilters_EXPORT