18 #ifndef itkThresholdMaximumConnectedComponentsImageFilter_h
19 #define itkThresholdMaximumConnectedComponentsImageFilter_h
73 template<
typename TInputImage,
typename TOutputImage = TInputImage >
107 itkSetMacro(MinimumObjectSizeInPixels,
unsigned int);
108 itkGetConstMacro(MinimumObjectSizeInPixels,
unsigned int);
129 itkGetConstMacro(UpperBoundary,
PixelType);
141 itkGetConstMacro(ThresholdValue,
PixelType);
158 void PrintSelf(std::ostream & os,
Indent indent)
const override;
160 void GenerateData()
override;
173 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
229 #ifndef ITK_MANUAL_INSTANTIATION
230 #include "itkThresholdMaximumConnectedComponentsImageFilter.hxx"
unsigned int m_MinimumObjectSizeInPixels
typename OutputImageType::Pointer OutputImagePointer
unsigned long SizeValueType
unsigned int FilterPixelType
typename TInputImage::PixelType PixelType
typename TOutputImage::PixelType OutputPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ThresholdFilterType::Pointer m_ThresholdFilter
Base class for all process objects that output image data.
OutputPixelType m_InsideValue
TInputImage InputImageType
PixelType m_LowerBoundary
PixelType m_ThresholdValue
typename OutputImageType::PixelType OutputImagePixelType
Binarize an input image by thresholding.
typename InputImageType::PixelType InputImagePixelType
MinMaxCalculatorType::Pointer m_MinMaxCalculator
typename InputImageType::Pointer InputImagePointer
ConnectedFilterType::Pointer m_ConnectedComponent
Finds the threshold value of an image based on maximizing the number of objects in the image that are...
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
Computes the minimum and the maximum intensity values of an image.
typename FilterImageType::Pointer FilterImagePointer
RelabelFilterType::Pointer m_LabeledComponent
Relabel the components in an image such that consecutive labels are used.
OutputPixelType m_OutsideValue
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
PixelType m_UpperBoundary
#define itkConceptMacro(name, concept)
SizeValueType m_NumberOfObjects
Templated n-dimensional image class.
Label the objects in a binary image.