18 #ifndef itkNeighborhoodConnectedImageFilter_h 19 #define itkNeighborhoodConnectedImageFilter_h 35 template<
typename TInputImage,
typename TOutputImage >
57 typedef typename InputImageType::IndexType
IndexType;
71 void SetSeed(
const IndexType & seed);
74 void AddSeed(
const IndexType & seed);
77 itkSetMacro(Lower, InputImagePixelType);
78 itkGetConstMacro(Lower, InputImagePixelType);
83 itkSetMacro(Upper, InputImagePixelType);
84 itkGetConstMacro(Upper, InputImagePixelType);
90 itkSetMacro(ReplaceValue, OutputImagePixelType);
91 itkGetConstMacro(ReplaceValue, OutputImagePixelType);
95 itkSetMacro(Radius, InputImageSizeType);
98 itkGetConstReferenceMacro(Radius, InputImageSizeType);
102 TInputImage::ImageDimension);
104 TOutputImage::ImageDimension);
107 #ifdef ITK_USE_CONCEPT_CHECKING 144 void operator=(const Self &) ITK_DELETE_FUNCTION;
148 #ifndef ITK_MANUAL_INSTANTIATION 149 #include "itkNeighborhoodConnectedImageFilter.hxx" static const unsigned int InputImageDimension
TInputImage InputImageType
std::vector< IndexType > m_Seeds
InputImagePixelType m_Upper
InputImageType::SizeType InputImageSizeType
OutputImageType::PixelType OutputImagePixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static const unsigned int OutputImageDimension
OutputImageType::RegionType OutputImageRegionType
InputImageType::RegionType InputImageRegionType
~NeighborhoodConnectedImageFilter()
InputImageType::IndexType IndexType
void GenerateInputRequestedRegion() override
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TOutputImage OutputImageType
NeighborhoodConnectedImageFilter Self
void AddSeed(const IndexType &seed)
NeighborhoodConnectedImageFilter()
InputImagePixelType m_Lower
InputImageSizeType m_Radius
OutputImagePixelType m_ReplaceValue
SmartPointer< const Self > ConstPointer
void EnlargeOutputRequestedRegion(DataObject *output) override
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
void PrintSelf(std::ostream &os, Indent indent) const override
InputImageType::Pointer InputImagePointer
void GenerateData() override
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
Label pixels that are connected to a seed and lie within a neighborhood.
OutputImageType::Pointer OutputImagePointer
Base class for all data objects in ITK.
InputImageType::PixelType InputImagePixelType
void SetSeed(const IndexType &seed)