Go to the documentation of this file.
18 #ifndef sitkAntiAliasBinaryImageFilter_h
19 #define sitkAntiAliasBinaryImageFilter_h
108 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumRMSError (
double MaximumRMSError ) { this->m_MaximumRMSError = MaximumRMSError;
return *
this; }
116 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations ( uint32_t NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
139 std::string
GetName()
const {
return std::string (
"AntiAliasBinaryImageFilter"); }
142 std::string ToString()
const;
156 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
165 double m_MaximumRMSError{0.07};
168 uint32_t m_NumberOfIterations{1000u};
171 uint32_t m_ElapsedIterations{0};
173 double m_RMSChange{0.0};
176 bool m_InPlace{
false};
The Image class for SimpleITK.
uint32_t GetElapsedIterations() const
Number of iterations run.
uint32_t GetNumberOfIterations() const
double GetMaximumRMSError() const
Self & SetNumberOfIterations(uint32_t NumberOfIterations)
IntegerPixelIDTypeList PixelIDTypeList
A method for estimation of a surface from a binary volume.
double GetRMSChange() const
The Root Mean Square of the levelset upon termination.
Image AntiAliasBinary(Image &&image1, double maximumRMSError=0.07, uint32_t numberOfIterations=1000u)
A method for estimation of a surface from a binary volume.
std::string GetName() const
#define SITKBasicFilters_EXPORT
Self & SetMaximumRMSError(double MaximumRMSError)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image(Self::*)(const Image &image1) MemberFunctionType
The base interface for SimpleITK filters that take one input image.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList