18 #ifndef itkStatisticsLabelMapFilter_h
19 #define itkStatisticsLabelMapFilter_h
40 template<
typename TImage,
typename TFeatureImage >
43 Image< typename TImage::PixelType, TImage ::ImageDimension > >
69 itkStaticConstMacro(ImageDimension,
unsigned int,
70 TImage::ImageDimension);
79 #ifdef ITK_USE_CONCEPT_CHECKING
94 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
106 this->SetInput(input);
112 this->SetFeatureImage(input);
121 itkSetMacro(ComputeHistogram,
bool);
122 itkGetConstReferenceMacro(ComputeHistogram,
bool);
123 itkBooleanMacro(ComputeHistogram);
131 itkSetMacro(NumberOfBins,
unsigned int);
132 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
139 virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject) ITK_OVERRIDE;
141 virtual void BeforeThreadedGenerateData() ITK_OVERRIDE;
143 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
150 unsigned int m_NumberOfBins;
151 bool m_ComputeHistogram;
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkStatisticsLabelMapFilter.hxx"
Light weight base class for most itk classes.
ImageType::LabelObjectType LabelObjectType
StatisticsLabelMapFilter Self
SmartPointer< const Self > ConstPointer
TFeatureImage FeatureImageType
void SetInput1(TImage *input)
ImageType::ConstPointer ImageConstPointer
ImageType::IndexType IndexType
FeatureImageType::ConstPointer FeatureImageConstPointer
ImageBaseType::SpacingType VectorType
LabelObjectType::MatrixType MatrixType
SmartPointer< Self > Pointer
FeatureImageType * GetFeatureImage()
ImageBaseType::PointType PointType
LabelObjectType::VectorType VectorType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void SetInput2(const TFeatureImage *input)
~StatisticsLabelMapFilter() override
FeatureImageType::Pointer FeatureImagePointer
FeatureImageType::PixelType FeatureImagePixelType
Control indentation during Print() invocation.
ShapeLabelMapFilter< TImage > Superclass
void SetFeatureImage(const TFeatureImage *input)
ImageType::PixelType PixelType
ImageType::PointType PointType
The valuator class for the StatisticsLabelObject.
The valuator class for the ShapeLabelObject.
ImageType::Pointer ImagePointer
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType