18 #ifndef itkStatisticsRelabelImageFilter_h
19 #define itkStatisticsRelabelImageFilter_h
44 template<
typename TInputImage,
typename TFeatureImage >
74 TInputImage::ImageDimension);
76 TInputImage::ImageDimension);
78 TInputImage::ImageDimension);
96 #ifdef ITK_USE_CONCEPT_CHECKING
120 itkGetConstMacro(ReverseOrdering,
bool);
121 itkSetMacro(ReverseOrdering,
bool);
122 itkBooleanMacro(ReverseOrdering);
140 this->
SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
180 void operator=(const
Self &) ITK_DELETE_FUNCTION;
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #include "itkStatisticsRelabelImageFilter.hxx"
void SetInput1(InputImageType *input)
convert a labeled image to a label collection image
OutputImageType::RegionType OutputImageRegionType
Light weight base class for most itk classes.
OutputImageType::ConstPointer OutputImageConstPointer
Superclass::AttributeType AttributeType
relabel objects according to their shape attributes
StatisticsRelabelImageFilter()
StatisticsLabelMapFilter< LabelMapType, TFeatureImage > LabelObjectValuatorType
static const unsigned int InputImageDimension
~StatisticsRelabelImageFilter()
void SetInput2(FeatureImageType *input)
OutputImagePixelType m_BackgroundValue
void PrintSelf(std::ostream &os, Indent indent) const override
FeatureImageType::ConstPointer FeatureImageConstPointer
StatisticsLabelObject< InputImagePixelType, itkGetStaticConstMacro(ImageDimension) > LabelObjectType
ImageToImageFilter< TInputImage, TInputImage > Superclass
static AttributeType GetAttributeFromName(const std::string &s)
OutputImageType::Pointer OutputImagePointer
relabel objects according to their shape attributes
A Label object to store the common attributes related to the statistics of the object.
OutputImageType::PixelType OutputImagePixelType
virtual void SetInput(const InputImageType *image)
LabelMap< LabelObjectType > LabelMapType
LabelMapToLabelImageFilter< LabelMapType, OutputImageType > BinarizerType
StatisticsRelabelImageFilter Self
LabelObjectType::AttributeType AttributeType
LabelImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
FeatureImageType * GetFeatureImage()
void SetAttribute(const std::string &s)
static const unsigned int OutputImageDimension
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void SetFeatureImage(TFeatureImage *input)
TInputImage OutputImageType
void EnlargeOutputRequestedRegion(DataObject *) override
void GenerateInputRequestedRegion() override
static const unsigned int ImageDimension
void GenerateData() override
InputImageType::Pointer InputImagePointer
InputImageType::PixelType InputImagePixelType
virtual void SetAttribute(AttributeType _arg)
SmartPointer< const Self > ConstPointer
FeatureImageType::Pointer FeatureImagePointer
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
Templated n-dimensional image to store labeled objects.
InputImageType::ConstPointer InputImageConstPointer
InputImageType::RegionType InputImageRegionType
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
The valuator class for the StatisticsLabelObject.
#define itkConceptMacro(name, concept)
AttributeType m_Attribute
Base class for all data objects in ITK.
StatisticsRelabelLabelMapFilter< LabelMapType > RelabelType
FeatureImageType::PixelType FeatureImagePixelType
TFeatureImage FeatureImageType
TInputImage InputImageType
Converts a LabelMap to a labeled image.