Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram > Class Template Reference

This class computes texture feature coefficients from a grey level run-length matrix. More...

#include <itkEnhancedHistogramToRunLengthFeaturesFilter.h>

Inheritance diagram for itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >:
Collaboration diagram for itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >:

Public Types

enum  RunLengthFeatureName {
  ShortRunEmphasis, LongRunEmphasis, GreyLevelNonuniformity, GreyLevelNonuniformityNormalized,
  RunLengthNonuniformity, RunLengthNonuniformityNormalized, LowGreyLevelRunEmphasis, HighGreyLevelRunEmphasis,
  ShortRunLowGreyLevelEmphasis, ShortRunHighGreyLevelEmphasis, LongRunLowGreyLevelEmphasis, LongRunHighGreyLevelEmphasis,
  RunPercentage, NumberOfRuns, GreyLevelVariance, RunLengthVariance,
  RunEntropy
}
 
typedef EnhancedHistogramToRunLengthFeaturesFilter Self
 
typedef ProcessObject Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef THistogram HistogramType
 
typedef HistogramType::Pointer HistogramPointer
 
typedef HistogramType::ConstPointer HistogramConstPointer
 
typedef HistogramType::MeasurementType MeasurementType
 
typedef HistogramType::MeasurementVectorType MeasurementVectorType
 
typedef HistogramType::IndexType IndexType
 
typedef HistogramType::TotalAbsoluteFrequencyType FrequencyType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef SimpleDataObjectDecorator< MeasurementTypeMeasurementObjectType
 

Public Member Functions

virtual const char * GetClassName () const
 
void SetInput (const HistogramType *histogram)
 
const HistogramTypeGetInput () const
 
MeasurementType GetShortRunEmphasis () const
 
const MeasurementObjectTypeGetShortRunEmphasisOutput () const
 
MeasurementType GetLongRunEmphasis () const
 
const MeasurementObjectTypeGetLongRunEmphasisOutput () const
 
MeasurementType GetGreyLevelNonuniformity () const
 
const MeasurementObjectTypeGetGreyLevelNonuniformityOutput () const
 
MeasurementType GetGreyLevelNonuniformityNormalized () const
 
const MeasurementObjectTypeGetGreyLevelNonuniformityNormalizedOutput () const
 
MeasurementType GetRunLengthNonuniformity () const
 
const MeasurementObjectTypeGetRunLengthNonuniformityOutput () const
 
MeasurementType GetRunLengthNonuniformityNormalized () const
 
const MeasurementObjectTypeGetRunLengthNonuniformityNormalizedOutput () const
 
MeasurementType GetLowGreyLevelRunEmphasis () const
 
const MeasurementObjectTypeGetLowGreyLevelRunEmphasisOutput () const
 
MeasurementType GetHighGreyLevelRunEmphasis () const
 
const MeasurementObjectTypeGetHighGreyLevelRunEmphasisOutput () const
 
MeasurementType GetShortRunLowGreyLevelEmphasis () const
 
const MeasurementObjectTypeGetShortRunLowGreyLevelEmphasisOutput () const
 
MeasurementType GetShortRunHighGreyLevelEmphasis () const
 
const MeasurementObjectTypeGetShortRunHighGreyLevelEmphasisOutput () const
 
MeasurementType GetLongRunLowGreyLevelEmphasis () const
 
const MeasurementObjectTypeGetLongRunLowGreyLevelEmphasisOutput () const
 
MeasurementType GetLongRunHighGreyLevelEmphasis () const
 
const MeasurementObjectTypeGetLongRunHighGreyLevelEmphasisOutput () const
 
MeasurementType GetRunPercentage () const
 
const MeasurementObjectTypeGetRunPercentageOutput () const
 
MeasurementType GetNumberOfRuns () const
 
const MeasurementObjectTypeGetNumberOfRunsOutput () const
 
MeasurementType GetGreyLevelVariance () const
 
const MeasurementObjectTypeGetGreyLevelVarianceOutput () const
 
MeasurementType GetRunLengthVariance () const
 
const MeasurementObjectTypeGetRunLengthVarianceOutput () const
 
MeasurementType GetRunEntropy () const
 
const MeasurementObjectTypeGetRunEntropyOutput () const
 
virtual unsigned long GetTotalNumberOfRuns ()
 
virtual unsigned long GetNumberOfVoxels () const
 
virtual void SetNumberOfVoxels (unsigned long _arg)
 
MeasurementType GetFeature (RunLengthFeatureName name)
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

typedef ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 

Protected Member Functions

 EnhancedHistogramToRunLengthFeaturesFilter ()
 
 ~EnhancedHistogramToRunLengthFeaturesFilter () override
 
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) ITK_OVERRIDE
 
void GenerateData () ITK_OVERRIDE
 

Detailed Description

template<typename THistogram>
class itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >

This class computes texture feature coefficients from a grey level run-length matrix.

By default, run length features are computed for each spatial direction and then averaged afterward, so it is possible to access the standard deviations of the texture features. These values give a clue as to texture anisotropy. However, doing this is much more work, because it involved computing one for each offset given. To compute a single matrix using the first offset, call FastCalculationsOn(). If this is called, then the texture standard deviations will not be computed (and will be set to zero), but texture computation will be much faster.

This class is templated over the input histogram type.

Print references: M. M. Galloway. Texture analysis using gray level run lengths. Computer Graphics and Image Processing, 4:172-179, 1975.

A. Chu, C. M. Sehgal, and J. F. Greenleaf. Use of gray value distribution of run lengths for texture analysis. Pattern Recognition Letters, 11:415-420, 1990.

B. R. Dasarathy and E. B. Holder. Image characterizations based on joint gray-level run-length distributions. Pattern Recognition Letters, 12:490-502, 1991.

IJ article: https://hdl.handle.net/1926/1374

See also
ScalarImageToRunLengthFeaturesFilter
ScalarImageToRunLengthMatrixFilter
EnhancedHistogramToRunLengthFeaturesFilter
Author
: Nick Tustison

Definition at line 78 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename THistogram >
typedef SmartPointer<const Self> itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::ConstPointer

◆ DataObjectPointer

template<typename THistogram >
typedef DataObject::Pointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::DataObjectPointer

Smart Pointer type to a DataObject.

Definition at line 108 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

◆ DataObjectPointerArraySizeType

template<typename THistogram >
typedef ProcessObject::DataObjectPointerArraySizeType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::DataObjectPointerArraySizeType
protected

Make a DataObject to be used for output output.

Definition at line 217 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

◆ FrequencyType

template<typename THistogram >
typedef HistogramType:: TotalAbsoluteFrequencyType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::FrequencyType

◆ HistogramConstPointer

template<typename THistogram >
typedef HistogramType::ConstPointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::HistogramConstPointer

◆ HistogramPointer

template<typename THistogram >
typedef HistogramType::Pointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::HistogramPointer

◆ HistogramType

template<typename THistogram >
typedef THistogram itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::HistogramType

◆ IndexType

template<typename THistogram >
typedef HistogramType::IndexType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::IndexType

◆ MeasurementObjectType

template<typename THistogram >
typedef SimpleDataObjectDecorator<MeasurementType> itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::MeasurementObjectType

Type of DataObjects used for scalar outputs

Definition at line 111 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

◆ MeasurementType

template<typename THistogram >
typedef HistogramType::MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::MeasurementType

◆ MeasurementVectorType

template<typename THistogram >
typedef HistogramType::MeasurementVectorType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::MeasurementVectorType

◆ Pointer

template<typename THistogram >
typedef SmartPointer<Self> itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::Pointer

◆ Self

Standard typedefs

Definition at line 82 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

◆ Superclass

template<typename THistogram >
typedef ProcessObject itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::Superclass

Member Enumeration Documentation

◆ RunLengthFeatureName

Run-length feature types

Enumerator
ShortRunEmphasis 
LongRunEmphasis 
GreyLevelNonuniformity 
GreyLevelNonuniformityNormalized 
RunLengthNonuniformity 
RunLengthNonuniformityNormalized 
LowGreyLevelRunEmphasis 
HighGreyLevelRunEmphasis 
ShortRunLowGreyLevelEmphasis 
ShortRunHighGreyLevelEmphasis 
LongRunLowGreyLevelEmphasis 
LongRunHighGreyLevelEmphasis 
RunPercentage 
NumberOfRuns 
GreyLevelVariance 
RunLengthVariance 
RunEntropy 

Definition at line 187 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

Constructor & Destructor Documentation

◆ EnhancedHistogramToRunLengthFeaturesFilter()

◆ ~EnhancedHistogramToRunLengthFeaturesFilter()

template<typename THistogram >
itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::~EnhancedHistogramToRunLengthFeaturesFilter ( )
inlineoverrideprotected

Member Function Documentation

◆ GenerateData()

template<typename THistogram >
void itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GenerateData ( )
protected

◆ GetClassName()

template<typename THistogram >
virtual const char* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

◆ GetFeature()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetFeature ( RunLengthFeatureName  name)

convenience method to access the run length values

◆ GetGreyLevelNonuniformity()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelNonuniformity ( ) const

Methods to return the grey level nonuniformity.

◆ GetGreyLevelNonuniformityNormalized()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelNonuniformityNormalized ( ) const

Methods to return the grey level nonuniformity.

◆ GetGreyLevelNonuniformityNormalizedOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelNonuniformityNormalizedOutput ( ) const

◆ GetGreyLevelNonuniformityOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelNonuniformityOutput ( ) const

◆ GetGreyLevelVariance()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelVariance ( ) const

Methods to return the grey level variance.

◆ GetGreyLevelVarianceOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelVarianceOutput ( ) const

◆ GetHighGreyLevelRunEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetHighGreyLevelRunEmphasis ( ) const

Methods to return the high grey level run emphasis.

◆ GetHighGreyLevelRunEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetHighGreyLevelRunEmphasisOutput ( ) const

◆ GetInput()

template<typename THistogram >
const HistogramType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetInput ( ) const

◆ GetLongRunEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunEmphasis ( ) const

Methods to return the long run emphasis.

◆ GetLongRunEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunEmphasisOutput ( ) const

◆ GetLongRunHighGreyLevelEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunHighGreyLevelEmphasis ( ) const

Methods to return the long run high grey level run emphasis.

◆ GetLongRunHighGreyLevelEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunHighGreyLevelEmphasisOutput ( ) const

◆ GetLongRunLowGreyLevelEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunLowGreyLevelEmphasis ( ) const

Methods to return the long run low grey level run emphasis.

◆ GetLongRunLowGreyLevelEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunLowGreyLevelEmphasisOutput ( ) const

◆ GetLowGreyLevelRunEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLowGreyLevelRunEmphasis ( ) const

Methods to return the low grey level run emphasis.

◆ GetLowGreyLevelRunEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLowGreyLevelRunEmphasisOutput ( ) const

◆ GetNumberOfRuns()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetNumberOfRuns ( ) const

Methods to return the long run high grey level run emphasis.

◆ GetNumberOfRunsOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetNumberOfRunsOutput ( ) const

◆ GetNumberOfVoxels()

template<typename THistogram >
virtual unsigned long itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetNumberOfVoxels ( ) const
virtual

◆ GetRunEntropy()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunEntropy ( ) const

Methods to return the run entropy.

◆ GetRunEntropyOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunEntropyOutput ( ) const

◆ GetRunLengthNonuniformity()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformity ( ) const

Methods to return the run length nonuniformity.

◆ GetRunLengthNonuniformityNormalized()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformityNormalized ( ) const

Methods to return the run length nonuniformity.

◆ GetRunLengthNonuniformityNormalizedOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformityNormalizedOutput ( ) const

◆ GetRunLengthNonuniformityOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformityOutput ( ) const

◆ GetRunLengthVariance()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthVariance ( ) const

Methods to return the run length variance.

◆ GetRunLengthVarianceOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthVarianceOutput ( ) const

◆ GetRunPercentage()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunPercentage ( ) const

Methods to return the long run high grey level run emphasis.

◆ GetRunPercentageOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunPercentageOutput ( ) const

◆ GetShortRunEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunEmphasis ( ) const

Methods to return the short run emphasis.

◆ GetShortRunEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunEmphasisOutput ( ) const

◆ GetShortRunHighGreyLevelEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunHighGreyLevelEmphasis ( ) const

Methods to return the short run high grey level run emphasis.

◆ GetShortRunHighGreyLevelEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunHighGreyLevelEmphasisOutput ( ) const

◆ GetShortRunLowGreyLevelEmphasis()

template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunLowGreyLevelEmphasis ( ) const

Methods to return the short run low grey level run emphasis.

◆ GetShortRunLowGreyLevelEmphasisOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunLowGreyLevelEmphasisOutput ( ) const

◆ GetTotalNumberOfRuns()

template<typename THistogram >
virtual unsigned long itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetTotalNumberOfRuns ( )
virtual

◆ MakeOutput()

template<typename THistogram >
DataObjectPointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::MakeOutput ( DataObjectPointerArraySizeType  )
protected

◆ New()

template<typename THistogram >
static Pointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::New ( )
static

standard New() method support

◆ PrintSelf()

template<typename THistogram >
void itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

◆ SetInput()

template<typename THistogram >
void itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::SetInput ( const HistogramType histogram)

◆ SetNumberOfVoxels()

template<typename THistogram >
virtual void itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::SetNumberOfVoxels ( unsigned long  _arg)
virtual

The documentation for this class was generated from the following file: