Go to the documentation of this file.
18 #ifndef sitkBinaryMinMaxCurvatureFlowImageFilter_h
19 #define sitkBinaryMinMaxCurvatureFlowImageFilter_h
80 SITK_RETURN_SELF_TYPE_HEADER
SetTimeStep (
double TimeStep ) { this->m_TimeStep = TimeStep;
return *
this; }
96 SITK_RETURN_SELF_TYPE_HEADER
SetStencilRadius (
int StencilRadius ) { this->m_StencilRadius = StencilRadius;
return *
this; }
112 std::string
GetName()
const {
return std::string (
"BinaryMinMaxCurvatureFlowImageFilter"); }
115 std::string ToString()
const;
123 Image Execute (
const Image& image1,
double timeStep,
uint32_t numberOfIterations,
int stencilRadius,
double threshold );
130 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
The main Image class for SimpleITK.
Self & SetNumberOfIterations(uint32_t NumberOfIterations)
Self & SetStencilRadius(int StencilRadius)
Self & SetTimeStep(double TimeStep)
double GetThreshold() const
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
Self & SetThreshold(double Threshold)
Image Threshold(const 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 between simple threshold valu...
uint32_t GetNumberOfIterations() const
double GetTimeStep() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
uint32_t m_NumberOfIterations
#define SITKBasicFilters_EXPORT
RealPixelIDTypeList PixelIDTypeList
Denoise a binary image using min/max curvature flow.
BinaryMinMaxCurvatureFlowImageFilter Self
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
int GetStencilRadius() const
std::string GetName() const
Image BinaryMinMaxCurvatureFlow(const Image &image1, double timeStep=0.05, uint32_t numberOfIterations=5u, int stencilRadius=2, double threshold=0)
Denoise a binary image using min/max curvature flow.