Medical Imaging Interaction Toolkit  2016.11.0
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, RunLengthNonuniformity,
  LowGreyLevelRunEmphasis, HighGreyLevelRunEmphasis, ShortRunLowGreyLevelEmphasis, ShortRunHighGreyLevelEmphasis,
  LongRunLowGreyLevelEmphasis, LongRunHighGreyLevelEmphasis, RunPercentage, NumberOfRuns
}
 
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 GetRunLengthNonuniformity () const
 
const MeasurementObjectTypeGetRunLengthNonuniformityOutput () 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
 
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 ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) ITK_OVERRIDE
 
virtual 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: http://hdl.handle.net/1926/1374

See also
ScalarImageToRunLengthFeaturesFilter
ScalarImageToRunLengthMatrixFilter
EnhancedHistogramToRunLengthFeaturesFilter
Author
: Nick Tustison

Definition at line 82 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

Member Typedef Documentation

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

Smart Pointer type to a DataObject.

Definition at line 112 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

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

Make a DataObject to be used for output output.

Definition at line 196 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

template<typename THistogram >
typedef HistogramType:: TotalAbsoluteFrequencyType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::FrequencyType
template<typename THistogram >
typedef HistogramType::ConstPointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::HistogramConstPointer
template<typename THistogram >
typedef HistogramType::Pointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::HistogramPointer
template<typename THistogram >
typedef THistogram itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::HistogramType
template<typename THistogram >
typedef HistogramType::IndexType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::IndexType
template<typename THistogram >
typedef SimpleDataObjectDecorator<MeasurementType> itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::MeasurementObjectType

Type of DataObjects used for scalar outputs

Definition at line 115 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

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

Standard typedefs

Definition at line 86 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

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

Member Enumeration Documentation

Run-length feature types

Enumerator
ShortRunEmphasis 
LongRunEmphasis 
GreyLevelNonuniformity 
RunLengthNonuniformity 
LowGreyLevelRunEmphasis 
HighGreyLevelRunEmphasis 
ShortRunLowGreyLevelEmphasis 
ShortRunHighGreyLevelEmphasis 
LongRunLowGreyLevelEmphasis 
LongRunHighGreyLevelEmphasis 
RunPercentage 
NumberOfRuns 

Definition at line 171 of file itkEnhancedHistogramToRunLengthFeaturesFilter.h.

Constructor & Destructor Documentation

Member Function Documentation

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

Run-time type information (and related methods).

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

convenience method to access the run length values

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

Methods to return the grey level nonuniformity.

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

Methods to return the high grey level run emphasis.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetHighGreyLevelRunEmphasisOutput ( ) const
template<typename THistogram >
const HistogramType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetInput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunEmphasis ( ) const

Methods to return the long run emphasis.

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

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

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

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

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

Methods to return the low grey level run emphasis.

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

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

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetNumberOfRunsOutput ( ) const
template<typename THistogram >
virtual unsigned long itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetNumberOfVoxels ( ) const
virtual
template<typename THistogram >
MeasurementType itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformity ( ) const

Methods to return the run length nonuniformity.

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

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

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

Methods to return the short run emphasis.

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

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

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

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

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunLowGreyLevelEmphasisOutput ( ) const
template<typename THistogram >
virtual unsigned long itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::GetTotalNumberOfRuns ( )
virtual
template<typename THistogram >
virtual DataObjectPointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::MakeOutput ( DataObjectPointerArraySizeType  )
protectedvirtual
template<typename THistogram >
static Pointer itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::New ( )
static

standard New() method support

template<typename THistogram >
virtual void itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<typename THistogram >
void itk::Statistics::EnhancedHistogramToRunLengthFeaturesFilter< THistogram >::SetInput ( const HistogramType histogram)
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: