 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkLabelStatisticsOpeningImageFilter_h
19 #define itkLabelStatisticsOpeningImageFilter_h
45 template <
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);
173 PrintSelf(std::ostream & os,
Indent indent)
const override;
179 GenerateInputRequestedRegion()
override;
183 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
188 GenerateData()
override;
193 bool m_ReverseOrdering{};
198 #ifndef ITK_MANUAL_INSTANTIATION
199 # include "itkLabelStatisticsOpeningImageFilter.hxx"
SmartPointer< Self > Pointer
void SetFeatureImage(const TFeatureImage *input)
const FeatureImageType * GetFeatureImage()
SmartPointer< const Self > ConstPointer
The valuator class for the StatisticsLabelObject.
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::PixelType OutputImagePixelType
convert a labeled image to a label collection image
typename LabelObjectType::AttributeType AttributeType
A Label object to store the common attributes related to the statistics of the object.
typename FeatureImageType::Pointer FeatureImagePointer
Control indentation during Print() invocation.
void SetInput1(const InputImageType *input)
void SetInput2(const FeatureImageType *input)
typename InputImageType::ConstPointer InputImageConstPointer
Templated n-dimensional image to store labeled objects.
TInputImage InputImageType
typename OutputImageType::ConstPointer OutputImageConstPointer
typename FeatureImageType::PixelType FeatureImagePixelType
Base class for filters that take an image as input and produce an image as output.
TFeatureImage FeatureImageType
Light weight base class for most itk classes.
remove the objects according to the value of their statistics attribute
ImageBaseType::RegionType RegionType
typename InputImageType::PixelType InputImagePixelType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void SetAttribute(const std::string &s)
typename OutputImageType::Pointer OutputImagePointer
Converts a LabelMap to a labeled image.
TInputImage OutputImageType
typename FeatureImageType::ConstPointer FeatureImageConstPointer
typename InputImageType::Pointer InputImagePointer
remove the objects according to the value of their statistics attribute
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Base class for all data objects in ITK.