18#ifndef sitkCannySegmentationLevelSetImageFilter_h
19#define sitkCannySegmentationLevelSetImageFilter_h
289 std::string
GetName()
const {
return std::string(
"CannySegmentationLevelSetImageFilter"); }
305 initialImage,
const Image *
308 initialImage,
const Image *
362 Image &&initialImage,
const Image &featureImage,
double threshold = 0.0,
double variance = 0.0,
double maximumRMSError = 0.02,
double propagationScaling = 1.0,
double curvatureScaling = 1.0,
double advectionScaling = 1.0, uint32_t numberOfIterations = 1000u,
bool reverseExpansionDirection =
false,
double isoSurfaceValue = 0.0
368 const Image &initialImage,
const Image &featureImage,
double threshold = 0.0,
double variance = 0.0,
double maximumRMSError = 0.02,
double propagationScaling = 1.0,
double curvatureScaling = 1.0,
double advectionScaling = 1.0, uint32_t numberOfIterations = 1000u,
bool reverseExpansionDirection =
false,
double isoSurfaceValue = 0.0
Image GetCannyImage() const
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
uint32_t GetNumberOfIterations() const
void ReverseExpansionDirectionOff()
double GetMaximumRMSError() const
void SetAdvectionScaling(double AdvectionScaling)
void SetIsoSurfaceValue(double IsoSurfaceValue)
void SetReverseExpansionDirection(bool ReverseExpansionDirection)
Image Execute(Image &&initialImage, const Image &featureImage)
double GetRMSChange() const
The Root Mean Square of the levelset upon termination.
double GetPropagationScaling() const
std::string GetName() const
Image(Self::*)(const Image * initialImage, const Image * featureImage) MemberFunctionType
double GetCurvatureScaling() const
bool GetReverseExpansionDirection() const
Image Execute(const Image &initialImage, const Image &featureImage)
void SetMaximumRMSError(double MaximumRMSError)
virtual ~CannySegmentationLevelSetImageFilter()
void SetThreshold(double Threshold)
RealPixelIDTypeList PixelIDTypeList
Image ExecuteInternal(const Image *initialImage, const Image *featureImage)
double m_PropagationScaling
CannySegmentationLevelSetImageFilter Self
void SetPropagationScaling(double PropagationScaling)
std::string ToString() const
double GetAdvectionScaling() const
bool m_ReverseExpansionDirection
void SetCurvatureScaling(double CurvatureScaling)
double GetThreshold() const
void SetNumberOfIterations(uint32_t NumberOfIterations)
double m_CurvatureScaling
CannySegmentationLevelSetImageFilter()
uint32_t m_ElapsedIterations
uint32_t m_NumberOfIterations
uint32_t GetElapsedIterations() const
Number of iterations run.
void ReverseExpansionDirectionOn()
void SetVariance(double Variance)
double m_AdvectionScaling
double GetVariance() const
double GetIsoSurfaceValue() const
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
Image Threshold(Image &&image1, double lower=0.0, double upper=1.0, double outsideValue=0.0)
Set image values to a user-specified value if they are below, above, or outside threshold values.
Image CannySegmentationLevelSet(Image &&initialImage, const Image &featureImage, double threshold=0.0, double variance=0.0, double maximumRMSError=0.02, double propagationScaling=1.0, double curvatureScaling=1.0, double advectionScaling=1.0, uint32_t numberOfIterations=1000u, bool reverseExpansionDirection=false, double isoSurfaceValue=0.0)
Segments structures in images based on image features derived from pseudo-canny-edges.
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
#define SITKBasicFilters_EXPORT