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);
156 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
158 void GenerateData(
void) ITK_OVERRIDE;
171 itkStaticConstMacro(ImageDimension,
173 TInputImage::ImageDimension);
175 typedef itk::
Image< FilterPixelType, itkGetStaticConstMacro(ImageDimension) >
208 typename ThresholdFilterType::
Pointer m_ThresholdFilter;
213 typename MinMaxCalculatorType::
Pointer m_MinMaxCalculator;
216 unsigned int m_MinimumObjectSizeInPixels;
231 #ifndef ITK_MANUAL_INSTANTIATION
232 #include "itkThresholdMaximumConnectedComponentsImageFilter.hxx"
TInputImage InputImageType
ThresholdMaximumConnectedComponentsImageFilter Self
InputImageType::PixelType InputImagePixelType
Base class for all process objects that output image data.
unsigned long SizeValueType
InputImageType::RegionType InputImageRegionType
OutputImageType::Pointer OutputImagePointer
Binarize an input image by thresholding.
TOutputImage OutputImageType
Finds the threshold value of an image based on maximizing the number of objects in the image that are...
InputImageType::ConstPointer InputImagePointer
TInputImage InputImageType
TInputImage::PixelType PixelType
OutputImageType::RegionType OutputImageRegionType
Computes the minimum and the maximum intensity values of an image.
Relabel the components in an image such that consecutive labels are used.
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() override
OutputImageType::PixelType OutputImagePixelType
TOutputImage::PixelType OutputPixelType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TOutputImage OutputImageType
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
Templated n-dimensional image class.
SmartPointer< const Self > ConstPointer
Label the objects in a binary image.