Go to the documentation of this file.
18 #ifndef sitkReconstructionByDilationImageFilter_h
19 #define sitkReconstructionByDilationImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
76 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
85 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;
111 template <
class TImageType>
Image ExecuteInternal (
const Image * markerImage,
const Image * maskImage );
120 bool m_FullyConnected{
false};
122 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
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > 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