Go to the documentation of this file.
18 #ifndef sitkBinaryMinMaxCurvatureFlowImageFilter_h
19 #define sitkBinaryMinMaxCurvatureFlowImageFilter_h
82 SITK_RETURN_SELF_TYPE_HEADER
SetTimeStep (
double TimeStep ) { this->m_TimeStep = TimeStep;
return *
this; }
98 SITK_RETURN_SELF_TYPE_HEADER
SetStencilRadius (
int StencilRadius ) { this->m_StencilRadius = StencilRadius;
return *
this; }
115 std::string
GetName()
const {
return std::string (
"BinaryMinMaxCurvatureFlowImageFilter"); }
118 std::string ToString()
const;
132 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
141 double m_TimeStep{0.05};
146 int m_StencilRadius{2};
148 double m_Threshold{0.0};
151 bool m_InPlace{
false};
The 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)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image BinaryMinMaxCurvatureFlow(Image &&image1, double timeStep=0.05, uint32_t numberOfIterations=5u, int stencilRadius=2, double threshold=0.0)
Denoise a binary image using min/max curvature flow.
uint32_t GetNumberOfIterations() const
double GetTimeStep() const
#define SITKBasicFilters_EXPORT
Denoise a binary image using min/max curvature flow.
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 between simple threshold valu...
Image(Self::*)(const Image &image1) MemberFunctionType
RealPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.
int GetStencilRadius() const
std::string GetName() const