18#ifndef itkThresholdMaximumConnectedComponentsImageFilter_h
19#define itkThresholdMaximumConnectedComponentsImageFilter_h
73template <
typename TInputImage,
typename TOutputImage = TInputImage>
106 itkSetMacro(MinimumObjectSizeInPixels,
unsigned int);
107 itkGetConstMacro(MinimumObjectSizeInPixels,
unsigned int);
183 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
220 unsigned int m_MinimumObjectSizeInPixels{};
235#ifndef ITK_MANUAL_INSTANTIATION
236# include "itkThresholdMaximumConnectedComponentsImageFilter.hxx"
Binarize an input image by thresholding.
Label the objects in a binary image.
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Computes the minimum and the maximum intensity values of an image.
Relabel the components in an image such that consecutive labels are used.
Finds the threshold value of an image based on maximizing the number of objects in the image that are...
TOutputImage OutputImageType
typename InputImageType::PixelType InputImagePixelType
TInputImage InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::PixelType OutputImagePixelType
typename TOutputImage::PixelType OutputPixelType
typename InputImageType::ConstPointer InputImagePointer
ThresholdMaximumConnectedComponentsImageFilter()
void GenerateData() override
~ThresholdMaximumConnectedComponentsImageFilter() override=default
typename OutputImageType::RegionType OutputImageRegionType
unsigned int FilterPixelType
typename TInputImage::PixelType PixelType
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::Pointer OutputImagePointer
SizeValueType ComputeConnectedComponents()
typename FilterImageType::Pointer FilterImagePointer
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType