18 #ifndef itkLabelStatisticsOpeningImageFilter_h
19 #define itkLabelStatisticsOpeningImageFilter_h
45 template<
typename TInputImage,
typename TFeatureImage >
74 itkStaticConstMacro(InputImageDimension,
unsigned int,
75 TInputImage::ImageDimension);
76 itkStaticConstMacro(OutputImageDimension,
unsigned int,
77 TInputImage::ImageDimension);
78 itkStaticConstMacro(ImageDimension,
unsigned int,
79 TInputImage::ImageDimension);
97 #ifdef ITK_USE_CONCEPT_CHECKING
119 itkGetConstMacro(Lambda,
double);
120 itkSetMacro(Lambda,
double);
129 itkGetConstMacro(ReverseOrdering,
bool);
130 itkSetMacro(ReverseOrdering,
bool);
131 itkBooleanMacro(ReverseOrdering);
142 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
150 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
162 this->SetInput(input);
168 this->SetFeatureImage(input);
174 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
179 void GenerateInputRequestedRegion() ITK_OVERRIDE;
182 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
186 void GenerateData() ITK_OVERRIDE;
193 bool m_ReverseOrdering;
198 #ifndef ITK_MANUAL_INSTANTIATION
199 #include "itkLabelStatisticsOpeningImageFilter.hxx"
convert a labeled image to a label collection image
Light weight base class for most itk classes.
TInputImage InputImageType
Superclass::AttributeType AttributeType
FeatureImageType::Pointer FeatureImagePointer
void SetAttribute(const std::string &s)
~LabelStatisticsOpeningImageFilter() override
FeatureImageType::PixelType FeatureImagePixelType
void SetInput2(const FeatureImageType *input)
LabelMapToLabelImageFilter< LabelMapType, OutputImageType > BinarizerType
InputImageType::ConstPointer InputImageConstPointer
remove the objects according to the value of their statistics attribute
FeatureImageType::ConstPointer FeatureImageConstPointer
ImageToImageFilter< TInputImage, TInputImage > Superclass
InputImageType::PixelType InputImagePixelType
A Label object to store the common attributes related to the statistics of the object.
LabelObjectType::AttributeType AttributeType
void SetInput1(const InputImageType *input)
SmartPointer< Self > Pointer
LabelStatisticsOpeningImageFilter Self
StatisticsLabelObject< InputImagePixelType, itkGetStaticConstMacro(ImageDimension) > LabelObjectType
LabelImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
OutputImageType::Pointer OutputImagePointer
SmartPointer< const Self > ConstPointer
StatisticsOpeningLabelMapFilter< LabelMapType > OpeningType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
TFeatureImage FeatureImageType
InputImageType::Pointer InputImagePointer
InputImageType::RegionType InputImageRegionType
const FeatureImageType * GetFeatureImage()
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
void SetFeatureImage(const TFeatureImage *input)
TInputImage OutputImageType
Templated n-dimensional image to store labeled objects.
LabelMap< LabelObjectType > LabelMapType
The valuator class for the StatisticsLabelObject.
#define itkConceptMacro(name, concept)
OutputImageType::RegionType OutputImageRegionType
StatisticsLabelMapFilter< LabelMapType, TFeatureImage > LabelObjectValuatorType
remove the objects according to the value of their statistics attribute
Base class for all data objects in ITK.
OutputImageType::ConstPointer OutputImageConstPointer
Converts a LabelMap to a labeled image.
OutputImageType::PixelType OutputImagePixelType