18 #ifndef itkBinaryStatisticsOpeningImageFilter_h
19 #define itkBinaryStatisticsOpeningImageFilter_h
45 template<
typename TInputImage,
typename TFeatureImage >
76 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
77 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
78 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
102 itkSetMacro(FullyConnected,
bool);
103 itkGetConstReferenceMacro(FullyConnected,
bool);
104 itkBooleanMacro(FullyConnected);
107 #ifdef ITK_USE_CONCEPT_CHECKING
137 itkGetConstMacro(Lambda,
double);
138 itkSetMacro(Lambda,
double);
147 itkGetConstMacro(ReverseOrdering,
bool);
148 itkSetMacro(ReverseOrdering,
bool);
149 itkBooleanMacro(ReverseOrdering);
160 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
168 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
180 this->SetInput(input);
186 this->SetFeatureImage(input);
192 void PrintSelf(std::ostream & os,
Indent indent)
const override;
196 void GenerateInputRequestedRegion()
override;
199 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
203 void GenerateData()
override;
215 #ifndef ITK_MANUAL_INSTANTIATION
216 #include "itkBinaryStatisticsOpeningImageFilter.hxx"
typename FeatureImageType::ConstPointer FeatureImageConstPointer
const FeatureImageType * GetFeatureImage()
Light weight base class for most itk classes.
typename Superclass::AttributeType AttributeType
TInputImage OutputImageType
unsigned long SizeValueType
Remove objects based on the value of their Statistics attribute.
typename InputImageType::RegionType InputImageRegionType
AttributeType m_Attribute
OutputImagePixelType m_BackgroundValue
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::ConstPointer OutputImageConstPointer
typename InputImageType::PixelType InputImagePixelType
A Label object to store the common attributes related to the statistics of the object.
OutputImagePixelType m_ForegroundValue
TFeatureImage FeatureImageType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void SetInput2(const FeatureImageType *input)
typename InputImageType::Pointer InputImagePointer
Label the connected components in a binary image and produce a collection of label objects...
Base class for filters that take an image as input and produce an image as output.
void SetAttribute(const std::string &s)
Control indentation during Print() invocation.
typename OutputImageType::Pointer OutputImagePointer
Templated n-dimensional image to store labeled objects.
typename InputImageType::ConstPointer InputImageConstPointer
void SetFeatureImage(const TFeatureImage *input)
The valuator class for the StatisticsLabelObject.
typename FeatureImageType::PixelType FeatureImagePixelType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename FeatureImageType::Pointer FeatureImagePointer
void SetInput1(const InputImageType *input)
typename LabelObjectType::AttributeType AttributeType
remove the objects according to the value of their statistics attribute
Base class for all data objects in ITK.
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
Convert a LabelMap to a binary image.