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