18 #ifndef itkThresholdMaximumConnectedComponentsImageFilter_h
19 #define itkThresholdMaximumConnectedComponentsImageFilter_h
73 template<
typename TInputImage,
typename TOutputImage = TInputImage >
92 typedef typename TInputImage::PixelType
PixelType;
105 itkSetMacro(MinimumObjectSizeInPixels,
unsigned int);
106 itkGetConstMacro(MinimumObjectSizeInPixels,
unsigned int);
127 itkGetConstMacro(UpperBoundary,
PixelType);
173 TInputImage::ImageDimension);
175 typedef itk::
Image< FilterPixelType, itkGetStaticConstMacro(ImageDimension) >
182 void operator=(const Self &);
233 #ifndef ITK_MANUAL_INSTANTIATION
234 #include "itkThresholdMaximumConnectedComponentsImageFilter.hxx"
unsigned int m_MinimumObjectSizeInPixels
TInputImage InputImageType
ThresholdMaximumConnectedComponentsImageFilter Self
InputImageType::PixelType InputImagePixelType
ThresholdFilterType::Pointer m_ThresholdFilter
Base class for all process objects that output image data.
unsigned long SizeValueType
OutputPixelType m_InsideValue
~ThresholdMaximumConnectedComponentsImageFilter()
InputImageType::RegionType InputImageRegionType
PixelType m_LowerBoundary
OutputImageType::Pointer OutputImagePointer
PixelType m_ThresholdValue
Binarize an input image by thresholding.
MinMaxCalculatorType::Pointer m_MinMaxCalculator
TOutputImage OutputImageType
ConnectedFilterType::Pointer m_ConnectedComponent
Finds the threshold value of an image based on maximizing the number of objects in the image that are...
InputImageType::ConstPointer InputImagePointer
TInputImage InputImageType
SizeValueType ComputeConnectedComponents()
TInputImage::PixelType PixelType
typedef(Concept::Comparable< PixelType >) PixelTypeComparable
void GenerateData(void) override
OutputImageType::RegionType OutputImageRegionType
Computes the minimum and the maximum intensity values of an image.
static const unsigned int ImageDimension
RelabelFilterType::Pointer m_LabeledComponent
Relabel the components in an image such that consecutive labels are used.
OutputPixelType m_OutsideValue
Base class for filters that take an image as input and produce an image as output.
unsigned int FilterPixelType
Control indentation during Print() invocation.
ThresholdMaximumConnectedComponentsImageFilter()
OutputImageType::PixelType OutputImagePixelType
TOutputImage::PixelType OutputPixelType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TOutputImage OutputImageType
PixelType m_UpperBoundary
#define itkConceptMacro(name, concept)
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer
SizeValueType m_NumberOfObjects
Templated n-dimensional image class.
SmartPointer< const Self > ConstPointer
Label the objects in a binary image.