18 #ifndef sitkReconstructionByErosionImageFilter_h
19 #define sitkReconstructionByErosionImageFilter_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); }
86 SITK_RETURN_SELF_TYPE_HEADER
SetUseInternalCopy (
bool UseInternalCopy ) { this->m_UseInternalCopy = UseInternalCopy;
return *
this; }
96 std::string
GetName()
const {
return std::string (
"ReconstructionByErosionImageFilter"); }
99 std::string ToString()
const;
107 Image Execute (
const Image& image1,
const Image& image2,
bool fullyConnected,
bool useInternalCopy );
114 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
115 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
BasicPixelIDTypeList PixelIDTypeList
bool GetUseInternalCopy() const
ReconstructionByErosionImageFilter Self
#define SITKBasicFilters_EXPORT
bool GetFullyConnected() const
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 & UseInternalCopyOff()
Self & SetUseInternalCopy(bool UseInternalCopy)
std::string GetName() const
grayscale reconstruction by erosion of an image
Self & SetFullyConnected(bool FullyConnected)
Image ReconstructionByErosion(const Image &image1, const Image &image2, bool fullyConnected=false, bool useInternalCopy=true)
grayscale reconstruction by erosion of an image
Self & FullyConnectedOn()
The main Image class for SimpleITK.
Self & UseInternalCopyOn()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & FullyConnectedOff()
The base interface for SimpleITK filters that take one input image.