Go to the documentation of this file.
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; }
97 std::string
GetName()
const {
return std::string (
"ReconstructionByDilationImageFilter"); }
100 std::string ToString()
const;
112 template <
class TImageType>
Image ExecuteInternal (
const Image * markerImage,
const Image * maskImage );
121 bool m_FullyConnected{
false};
123 bool m_UseInternalCopy{
true};
The Image class for SimpleITK.
BasicPixelIDTypeList PixelIDTypeList
Self & UseInternalCopyOff()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
grayscale reconstruction by dilation of an 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 & UseInternalCopyOn()
#define SITKBasicFilters_EXPORT
Image(Self::*)(const Image *markerImage, const Image *maskImage) MemberFunctionType
Self & FullyConnectedOff()
std::string GetName() const
The base interface for SimpleITK filters that take one input image.
bool GetUseInternalCopy() const
Self & SetFullyConnected(bool FullyConnected)
Image ReconstructionByDilation(const Image &markerImage, const Image &maskImage, bool fullyConnected=false, bool useInternalCopy=true)
grayscale reconstruction by dilation of an image
Self & SetUseInternalCopy(bool UseInternalCopy)
Self & FullyConnectedOn()
bool GetFullyConnected() const