18 #ifndef sitkGrayscaleGrindPeakImageFilter_h
19 #define sitkGrayscaleGrindPeakImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
85 std::string
GetName()
const {
return std::string (
"GrayscaleGrindPeakImageFilter"); }
88 std::string ToString()
const;
96 Image Execute (
const Image& image1,
bool fullyConnected );
102 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
103 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & FullyConnectedOn()
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
Image GrayscaleGrindPeak(const Image &image1, bool fullyConnected=false)
Remove local maxima not connected to the boundary of the image.
GrayscaleGrindPeakImageFilter Self
Self & FullyConnectedOff()
Remove local maxima not connected to the boundary of the image.
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Self & SetFullyConnected(bool FullyConnected)
The Image class for SimpleITK.
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
bool GetFullyConnected() const