18 #ifndef sitkHConvexImageFilter_h
19 #define sitkHConvexImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetHeight (
double Height ) { this->m_Height = Height;
return *
this; }
80 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
91 std::string
GetName()
const {
return std::string (
"HConvexImageFilter"); }
94 std::string ToString()
const;
102 Image Execute (
const Image& image1,
double height,
bool fullyConnected );
108 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
109 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & FullyConnectedOff()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
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 & SetHeight(double Height)
bool GetFullyConnected() const
Identify local maxima whose height above the baseline is greater than h.
std::string GetName() const
Self & SetFullyConnected(bool FullyConnected)
The Image class for SimpleITK.
Image HConvex(const Image &image1, double height=2.0, bool fullyConnected=false)
Identify local maxima whose height above the baseline is greater than h.
BasicPixelIDTypeList PixelIDTypeList
Self & FullyConnectedOn()
The base interface for SimpleITK filters that take one input image.