18#ifndef itkHistogramToRunLengthFeaturesFilter_h
19#define itkHistogramToRunLengthFeaturesFilter_h
58extern ITKStatistics_EXPORT std::ostream &
89template <
typename THistogram>
199 itkGetMacro(TotalNumberOfRuns,
unsigned long);
201#if !defined(ITK_LEGACY_REMOVE)
203 static constexpr RunLengthFeatureEnum ShortRunEmphasis = RunLengthFeatureEnum::ShortRunEmphasis;
205 static constexpr RunLengthFeatureEnum GreyLevelNonuniformity = RunLengthFeatureEnum::GreyLevelNonuniformity;
206 static constexpr RunLengthFeatureEnum RunLengthNonuniformity = RunLengthFeatureEnum::RunLengthNonuniformity;
207 static constexpr RunLengthFeatureEnum LowGreyLevelRunEmphasis = RunLengthFeatureEnum::LowGreyLevelRunEmphasis;
208 static constexpr RunLengthFeatureEnum HighGreyLevelRunEmphasis = RunLengthFeatureEnum::HighGreyLevelRunEmphasis;
210 RunLengthFeatureEnum::ShortRunLowGreyLevelEmphasis;
212 RunLengthFeatureEnum::ShortRunHighGreyLevelEmphasis;
213 static constexpr RunLengthFeatureEnum LongRunLowGreyLevelEmphasis = RunLengthFeatureEnum::LongRunLowGreyLevelEmphasis;
215 RunLengthFeatureEnum::LongRunHighGreyLevelEmphasis;
243#ifndef ITK_MANUAL_INSTANTIATION
244# include "itkHistogramToRunLengthFeaturesFilter.hxx"
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
Contains all enum classes used by HistogramToRunLengthFeaturesFilter class.
MeasurementType GetShortRunEmphasis() const
typename HistogramType::MeasurementVectorType MeasurementVectorType
MeasurementType GetShortRunLowGreyLevelEmphasis() const
typename HistogramType::Pointer HistogramPointer
typename HistogramType::IndexType IndexType
MeasurementType GetShortRunHighGreyLevelEmphasis() const
SmartPointer< Self > Pointer
const MeasurementObjectType * GetLongRunLowGreyLevelEmphasisOutput() const
~HistogramToRunLengthFeaturesFilter() override=default
HistogramToRunLengthFeaturesFilter()
void SetInput(const HistogramType *histogram)
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
void GenerateData() override
SimpleDataObjectDecorator< MeasurementType > MeasurementObjectType
MeasurementType GetLongRunLowGreyLevelEmphasis() const
const MeasurementObjectType * GetShortRunHighGreyLevelEmphasisOutput() const
MeasurementType GetRunLengthNonuniformity() const
SmartPointer< const Self > ConstPointer
MeasurementType GetGreyLevelNonuniformity() const
MeasurementType GetHighGreyLevelRunEmphasis() const
const MeasurementObjectType * GetShortRunLowGreyLevelEmphasisOutput() const
typename HistogramType::TotalAbsoluteFrequencyType FrequencyType
const HistogramType * GetInput() const
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.
MeasurementType GetLowGreyLevelRunEmphasis() const
const MeasurementObjectType * GetGreyLevelNonuniformityOutput() const
HistogramToRunLengthFeaturesFilter Self
DataObject::Pointer DataObjectPointer
typename HistogramType::MeasurementType MeasurementType
const MeasurementObjectType * GetHighGreyLevelRunEmphasisOutput() const
unsigned long m_TotalNumberOfRuns
const MeasurementObjectType * GetShortRunEmphasisOutput() const
typename HistogramType::ConstPointer HistogramConstPointer
const MeasurementObjectType * GetRunLengthNonuniformityOutput() const
void PrintSelf(std::ostream &os, Indent indent) const override
const MeasurementObjectType * GetLongRunEmphasisOutput() const
const MeasurementObjectType * GetLowGreyLevelRunEmphasisOutput() const
MeasurementType GetFeature(RunLengthFeatureEnum feature)
MeasurementType GetLongRunEmphasis() const
const MeasurementObjectType * GetLongRunHighGreyLevelEmphasisOutput() const
MeasurementType GetLongRunHighGreyLevelEmphasis() const
@ ShortRunHighGreyLevelEmphasis
@ LongRunLowGreyLevelEmphasis
@ HighGreyLevelRunEmphasis
@ LowGreyLevelRunEmphasis
@ ShortRunLowGreyLevelEmphasis
@ LongRunHighGreyLevelEmphasis
HistogramToRunLengthFeaturesFilterEnums::RunLengthFeature RunLengthFeatureEnum
ITKStatistics_EXPORT std::ostream & operator<<(std::ostream &out, const ExpectationMaximizationMixtureModelEstimatorEnums::TERMINATION_CODE value)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....