18#ifndef sitkBinaryGrindPeakImageFilter_h
19#define sitkBinaryGrindPeakImageFilter_h
101 std::string
GetName()
const {
return std::string (
"BinaryGrindPeakImageFilter"); }
double GetBackgroundValue() const
bool GetFullyConnected() const
BinaryGrindPeakImageFilter Self
Self & SetForegroundValue(double ForegroundValue)
Self & SetFullyConnected(bool FullyConnected)
Image(Self::*)(const Image &image1) MemberFunctionType
double GetForegroundValue() const
Image ExecuteInternal(const Image &image1)
virtual ~BinaryGrindPeakImageFilter()
BinaryGrindPeakImageFilter()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string ToString() const
Self & SetBackgroundValue(double BackgroundValue)
IntegerPixelIDTypeList PixelIDTypeList
Self & FullyConnectedOff()
Self & FullyConnectedOn()
std::string GetName() const
Image Execute(const Image &image1)
The Image class for SimpleITK.
Image BinaryGrindPeak(const Image &image1, bool fullyConnected=false, double foregroundValue=1.0, double backgroundValue=0)
Remove the objects not connected to the boundary of the image.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT