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);
122 itkSetMacro(InsideValue, OutputPixelType);
123 itkSetMacro(OutsideValue, OutputPixelType);
124 itkSetMacro(UpperBoundary, PixelType);
125 itkGetConstMacro(InsideValue, OutputPixelType);
126 itkGetConstMacro(OutsideValue, OutputPixelType);
127 itkGetConstMacro(UpperBoundary, PixelType);
139 itkGetConstMacro(ThresholdValue, PixelType);
173 TInputImage::ImageDimension);
181 void operator=(const Self &) ITK_DELETE_FUNCTION;
232 #ifndef ITK_MANUAL_INSTANTIATION 233 #include "itkThresholdMaximumConnectedComponentsImageFilter.hxx" unsigned int m_MinimumObjectSizeInPixels
TInputImage InputImageType
ThresholdMaximumConnectedComponentsImageFilter Self
InputImageType::PixelType InputImagePixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ThresholdFilterType::Pointer m_ThresholdFilter
unsigned long SizeValueType
OutputPixelType m_InsideValue
~ThresholdMaximumConnectedComponentsImageFilter()
InputImageType::RegionType InputImageRegionType
PixelType m_LowerBoundary
void PrintSelf(std::ostream &os, Indent indent) const override
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...
FilterImageType::Pointer FilterImagePointer
InputImageType::ConstPointer InputImagePointer
SizeValueType ComputeConnectedComponents()
TInputImage::PixelType PixelType
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
itk::Image< FilterPixelType, itkGetStaticConstMacro(ImageDimension) > FilterImageType
PixelType m_UpperBoundary
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
SizeValueType m_NumberOfObjects
Templated n-dimensional image class.
SmartPointer< const Self > ConstPointer
Label the objects in a binary image.