Go to the documentation of this file.
18 #ifndef sitkBinaryMinMaxCurvatureFlowImageFilter_h
19 #define sitkBinaryMinMaxCurvatureFlowImageFilter_h
81 SITK_RETURN_SELF_TYPE_HEADER
SetTimeStep (
double TimeStep ) { this->m_TimeStep = TimeStep;
return *
this; }
89 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations ( uint32_t NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
97 SITK_RETURN_SELF_TYPE_HEADER
SetStencilRadius (
int StencilRadius ) { this->m_StencilRadius = StencilRadius;
return *
this; }
114 std::string
GetName()
const {
return std::string (
"BinaryMinMaxCurvatureFlowImageFilter"); }
117 std::string ToString()
const;
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
140 double m_TimeStep{0.05};
143 uint32_t m_NumberOfIterations{5u};
145 int m_StencilRadius{2};
147 double m_Threshold{0.0};
150 bool m_InPlace{
false};
The Image class for SimpleITK.
Self & SetNumberOfIterations(uint32_t NumberOfIterations)
Self & SetStencilRadius(int StencilRadius)
Self & SetTimeStep(double TimeStep)
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
double GetThreshold() const
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 outside threshold values.
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