18 #ifndef itkBinaryStatisticsOpeningImageFilter_h
19 #define itkBinaryStatisticsOpeningImageFilter_h
45 template<
typename TInputImage,
typename TFeatureImage >
74 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
75 itkStaticConstMacro(OutputImageDimension,
unsigned int, TInputImage::ImageDimension);
76 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
101 itkSetMacro(FullyConnected,
bool);
102 itkGetConstReferenceMacro(FullyConnected,
bool);
103 itkBooleanMacro(FullyConnected);
106 #ifdef ITK_USE_CONCEPT_CHECKING
136 itkGetConstMacro(Lambda,
double);
137 itkSetMacro(Lambda,
double);
146 itkGetConstMacro(ReverseOrdering,
bool);
147 itkSetMacro(ReverseOrdering,
bool);
148 itkBooleanMacro(ReverseOrdering);
159 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
167 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
179 this->SetInput(input);
185 this->SetFeatureImage(input);
191 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
195 void GenerateInputRequestedRegion() ITK_OVERRIDE;
198 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
202 void GenerateData() ITK_OVERRIDE;
207 bool m_FullyConnected;
211 bool m_ReverseOrdering;
216 #ifndef ITK_MANUAL_INSTANTIATION
217 #include "itkBinaryStatisticsOpeningImageFilter.hxx"
StatisticsOpeningLabelMapFilter< LabelMapType > OpeningType
InputImageType::PixelType InputImagePixelType
OutputImageType::RegionType OutputImageRegionType
const FeatureImageType * GetFeatureImage()
~BinaryStatisticsOpeningImageFilter() override
Light weight base class for most itk classes.
Superclass::AttributeType AttributeType
OutputImageType::Pointer OutputImagePointer
LabelMap< LabelObjectType > LabelMapType
FeatureImageType::ConstPointer FeatureImageConstPointer
TFeatureImage FeatureImageType
OutputImageType::ConstPointer OutputImageConstPointer
Remove objects based on the value of their Statistics attribute.
BinaryImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
unsigned long SizeValueType
TInputImage OutputImageType
BinaryStatisticsOpeningImageFilter Self
A Label object to store the common attributes related to the statistics of the object.
InputImageType::RegionType InputImageRegionType
FeatureImageType::PixelType FeatureImagePixelType
LabelObjectType::AttributeType AttributeType
StatisticsLabelObject< LabelType, itkGetStaticConstMacro(ImageDimension) > LabelObjectType
TInputImage InputImageType
InputImageType::ConstPointer InputImageConstPointer
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void SetInput2(const FeatureImageType *input)
FeatureImageType::Pointer FeatureImagePointer
Label the connected components in a binary image and produce a collection of label objects...
StatisticsLabelMapFilter< LabelMapType, FeatureImageType > LabelObjectValuatorType
ImageToImageFilter< TInputImage, TInputImage > Superclass
Base class for filters that take an image as input and produce an image as output.
void SetAttribute(const std::string &s)
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Templated n-dimensional image to store labeled objects.
SmartPointer< const Self > ConstPointer
LabelMapToBinaryImageFilter< LabelMapType, OutputImageType > BinarizerType
OutputImageType::PixelType OutputImagePixelType
void SetFeatureImage(const TFeatureImage *input)
The valuator class for the StatisticsLabelObject.
#define itkConceptMacro(name, concept)
void SetInput1(const InputImageType *input)
remove the objects according to the value of their statistics attribute
InputImageType::Pointer InputImagePointer
Base class for all data objects in ITK.
Convert a LabelMap to a binary image.