Go to the documentation of this file.
18 #ifndef sitkHMinimaImageFilter_h
19 #define sitkHMinimaImageFilter_h
72 SITK_RETURN_SELF_TYPE_HEADER
SetHeight (
double Height ) { this->m_Height = Height;
return *
this; }
77 double GetHeight()
const {
return this->m_Height; }\
82 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
94 std::string
GetName()
const {
return std::string (
"HMinimaImageFilter"); }
97 std::string ToString()
const;
109 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
117 double m_Height{2.0};
120 bool m_FullyConnected{
false};
The Image class for SimpleITK.
Image HMinima(const Image &image1, double height=2.0, bool fullyConnected=false)
Suppress local minima whose depth below the baseline is less than h.
Self & FullyConnectedOff()
Suppress local minima whose depth below the baseline is less than h.
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
std::string GetName() const
bool GetFullyConnected() const
Self & FullyConnectedOn()
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
Image(Self::*)(const Image &image1) MemberFunctionType
Self & SetHeight(double Height)
The base interface for SimpleITK filters that take one input image.
Self & SetFullyConnected(bool FullyConnected)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory