18#ifndef itkLabelStatisticsOpeningImageFilter_h
19#define itkLabelStatisticsOpeningImageFilter_h
45template <
typename TInputImage,
typename TFeatureImage>
75 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
76 static constexpr unsigned int OutputImageDimension = TInputImage::ImageDimension;
77 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
93#ifdef ITK_USE_CONCEPT_CHECKING
112 itkGetConstMacro(Lambda,
double);
113 itkSetMacro(Lambda,
double);
122 itkGetConstMacro(ReverseOrdering,
bool);
123 itkSetMacro(ReverseOrdering,
bool);
124 itkBooleanMacro(ReverseOrdering);
136 this->SetAttribute(LabelObjectType::GetAttributeFromName(s));
145 this->SetNthInput(1,
const_cast<TFeatureImage *
>(input));
149 const FeatureImageType *
159 this->SetInput(input);
166 this->SetFeatureImage(input);
193 bool m_ReverseOrdering{};
198#ifndef ITK_MANUAL_INSTANTIATION
199# include "itkLabelStatisticsOpeningImageFilter.hxx"
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
convert a labeled image to a label collection image
Converts a LabelMap to a labeled image.
Templated n-dimensional image to store labeled objects.
unsigned int AttributeType
remove the objects according to the value of their statistics attribute
LabelStatisticsOpeningImageFilter()
TFeatureImage FeatureImageType
TInputImage InputImageType
void EnlargeOutputRequestedRegion(DataObject *) override
typename InputImageType::PixelType InputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
void SetAttribute(const std::string &s)
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::Pointer OutputImagePointer
void GenerateInputRequestedRegion() override
void SetInput1(const InputImageType *input)
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateData() override
typename LabelObjectType::AttributeType AttributeType
void SetFeatureImage(const TFeatureImage *input)
void SetInput2(const FeatureImageType *input)
typename FeatureImageType::PixelType FeatureImagePixelType
~LabelStatisticsOpeningImageFilter() override=default
typename InputImageType::ConstPointer InputImageConstPointer
const FeatureImageType * GetFeatureImage()
typename FeatureImageType::ConstPointer FeatureImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::ConstPointer OutputImageConstPointer
typename FeatureImageType::Pointer FeatureImagePointer
TInputImage OutputImageType
Light weight base class for most itk classes.
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
The valuator class for the StatisticsLabelObject.
A Label object to store the common attributes related to the statistics of the object.
remove the objects according to the value of their statistics attribute
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....