18#ifndef itkBinaryStatisticsOpeningImageFilter_h
19#define itkBinaryStatisticsOpeningImageFilter_h
49template <
typename TInputImage,
typename TFeatureImage>
105 itkSetMacro(FullyConnected,
bool);
106 itkGetConstReferenceMacro(FullyConnected,
bool);
107 itkBooleanMacro(FullyConnected);
133 itkGetConstMacro(Lambda,
double);
134 itkSetMacro(Lambda,
double);
143 itkGetConstMacro(ReverseOrdering,
bool);
144 itkSetMacro(ReverseOrdering,
bool);
145 itkBooleanMacro(ReverseOrdering);
166 this->
SetNthInput(1,
const_cast<TFeatureImage *
>(input));
170 const FeatureImageType *
220#ifndef ITK_MANUAL_INSTANTIATION
221# include "itkBinaryStatisticsOpeningImageFilter.hxx"
Label the connected components in a binary image and produce a collection of label objects.
typename OutputImageType::PixelType OutputImagePixelType
void SetFeatureImage(const TFeatureImage *input)
BinaryImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
static constexpr unsigned int OutputImageDimension
void GenerateData() override
static constexpr unsigned int ImageDimension
typename InputImageType::PixelType InputImagePixelType
virtual void SetAttribute(AttributeType _arg)
void GenerateInputRequestedRegion() override
typename InputImageType::ConstPointer InputImageConstPointer
LabelMap< LabelObjectType > LabelMapType
typename OutputImageType::ConstPointer OutputImageConstPointer
BinaryStatisticsOpeningImageFilter()
SmartPointer< Self > Pointer
void SetInput1(const InputImageType *input)
const FeatureImageType * GetFeatureImage()
TInputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
void SetInput2(const FeatureImageType *input)
void PrintSelf(std::ostream &os, Indent indent) const override
OutputImagePixelType m_BackgroundValue
StatisticsLabelMapFilter< LabelMapType, FeatureImageType > LabelObjectValuatorType
void SetAttribute(const std::string &s)
OutputImagePixelType m_ForegroundValue
ImageToImageFilter< TInputImage, TInputImage > Superclass
typename FeatureImageType::ConstPointer FeatureImageConstPointer
static constexpr unsigned int InputImageDimension
TInputImage InputImageType
typename FeatureImageType::Pointer FeatureImagePointer
StatisticsOpeningLabelMapFilter< LabelMapType > OpeningType
AttributeType m_Attribute
typename FeatureImageType::PixelType FeatureImagePixelType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
SmartPointer< const Self > ConstPointer
StatisticsLabelObject< LabelType, Self::ImageDimension > LabelObjectType
LabelMapToBinaryImageFilter< LabelMapType, OutputImageType > BinarizerType
typename OutputImageType::RegionType OutputImageRegionType
typename LabelObjectType::AttributeType AttributeType
TFeatureImage FeatureImageType
~BinaryStatisticsOpeningImageFilter() override=default
BinaryStatisticsOpeningImageFilter Self
void EnlargeOutputRequestedRegion(DataObject *output) override
Base class for all data objects in ITK.
virtual void SetInput(const InputImageType *input)
Control indentation during Print() invocation.
Convert a LabelMap to a binary image.
Templated n-dimensional image to store labeled objects.
virtual void SetNthInput(DataObjectPointerArraySizeType idx, DataObject *input)
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Implements transparent reference counting.
The valuator class for the StatisticsLabelObject.
A Label object to store the common attributes related to the statistics of the object.
static AttributeType GetAttributeFromName(const std::string &s)
unsigned int AttributeType
remove the objects according to the value of their statistics attribute
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType