ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::Statistics::HistogramToTextureFeaturesFilter< THistogram > Class Template Reference

#include <itkHistogramToTextureFeaturesFilter.h>

+ Inheritance diagram for itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >:
+ Collaboration diagram for itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >:

Detailed Description

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

This class computes texture feature coefficients from a grey level co-occurrence matrix.

This class computes features that summarize image texture, given a grey level co-occurrence matrix (generated by a ScalarImageToCooccurrenceMatrixFilter or related class).

The features calculated are as follows (where $ g(i, j) $ is the element in cell i, j of a a normalized GLCM):

"Energy" $ = f_1 = \sum_{i,j}g(i, j)^2 $

"Entropy" $ = f_2 = -\sum_{i,j}g(i, j) \log_2 g(i, j)$, or 0 if $g(i, j) = 0$

"Correlation" $ = f_3 = \sum_{i,j}\frac{(i - \mu)(j - \mu)g(i, j)}{\sigma^2} $

"Difference Moment" $= f_4 = \sum_{i,j}\frac{1}{1 + (i - j)^2}g(i, j) $

"Inertia" $ = f_5 = \sum_{i,j}(i - j)^2g(i, j) $ (sometimes called "contrast.")

"Cluster Shade" $ = f_6 = \sum_{i,j}((i - \mu) + (j - \mu))^3 g(i, j) $

"Cluster Prominence" $ = f_7 = \sum_{i,j}((i - \mu) + (j - \mu))^4 g(i, j) $

"Haralick's Correlation" $ = f_8 = \frac{\sum_{i,j}(i, j) g(i, j) -\mu_t^2}{\sigma_t^2} $ where $\mu_t$ and $\sigma_t$ are the mean and standard deviation of the row (or column, due to symmetry) sums.

Above, $ \mu = $ (weighted pixel average) $ = \sum_{i,j}i \cdot g(i, j) = \sum_{i,j}j \cdot g(i, j) $ (due to matrix summetry), and

$ \sigma = $ (weighted pixel variance) $ = \sum_{i,j}(i - \mu)^2 \cdot g(i, j) = \sum_{i,j}(j - \mu)^2 \cdot g(i, j) $ (due to matrix summetry)

A good texture feature set to use is the Conners, Trivedi and Harlow set: features 1, 2, 4, 5, 6, and 7. There is some correlation between the various features, so using all of them at the same time is not necessarialy a good idea.

NOTA BENE: The input histogram will be forcably normalized! This algorithm takes three passes through the input histogram if the histogram was already normalized, and four if not.

Web references:

http://www.cssip.uq.edu.au/meastex/www/algs/algs/algs.html http://www.ucalgary.ca/~mhallbey/texture/texture_tutorial.html

Print references:

Haralick, R.M., K. Shanmugam and I. Dinstein. 1973. Textural Features for Image Classification. IEEE Transactions on Systems, Man and Cybernetics. SMC-3(6):610-620.

Haralick, R.M. 1979. Statistical and Structural Approaches to Texture. Proceedings of the IEEE, 67:786-804.

R.W. Conners and C.A. Harlow. A Theoretical Comaprison of Texture Algorithms. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2:204-222, 1980.

R.W. Conners, M.M. Trivedi, and C.A. Harlow. Segmentation of a High-Resolution Urban Scene using Texture Operators. Computer Vision, Graphics and Image Processing, 25:273-310, 1984.

See Also
ScalarImageToCooccurrenceMatrixFilter
ScalarImageToTextureFeaturesFilter

Author: Zachary Pincus

Examples:
WikiExamples/Statistics/TextureFeatures.cxx.

Definition at line 102 of file itkHistogramToTextureFeaturesFilter.h.

Public Types

typedef
HistogramType::AbsoluteFrequencyType 
AbsoluteFrequencyType
 
typedef SmartPointer< const SelfConstPointer
 
typedef DataObject::Pointer DataObjectPointer
 
typedef HistogramType::ConstPointer HistogramConstPointer
 
typedef HistogramType::Pointer HistogramPointer
 
typedef THistogram HistogramType
 
typedef HistogramType::IndexType IndexType
 
typedef
SimpleDataObjectDecorator
< MeasurementType
MeasurementObjectType
 
typedef
HistogramType::MeasurementType 
MeasurementType
 
typedef
HistogramType::MeasurementVectorType 
MeasurementVectorType
 
typedef SmartPointer< SelfPointer
 
typedef std::vector
< RelativeFrequencyType
RelativeFrequencyContainerType
 
typedef
HistogramType::RelativeFrequencyType 
RelativeFrequencyType
 
typedef
HistogramToTextureFeaturesFilter 
Self
 
typedef ProcessObject Superclass
 
enum  TextureFeatureName {
  Energy,
  Entropy,
  Correlation,
  InverseDifferenceMoment,
  Inertia,
  ClusterShade,
  ClusterProminence,
  HaralickCorrelation,
  InvalidFeatureName
}
 
typedef
HistogramType::TotalAbsoluteFrequencyType 
TotalAbsoluteFrequencyType
 
typedef
HistogramType::TotalRelativeFrequencyType 
TotalRelativeFrequencyType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
MeasurementType GetClusterProminence () const
 
const MeasurementObjectTypeGetClusterProminenceOutput () const
 
MeasurementType GetClusterShade () const
 
const MeasurementObjectTypeGetClusterShadeOutput () const
 
MeasurementType GetCorrelation () const
 
const MeasurementObjectTypeGetCorrelationOutput () const
 
MeasurementType GetEnergy () const
 
const MeasurementObjectTypeGetEnergyOutput () const
 
MeasurementType GetEntropy () const
 
const MeasurementObjectTypeGetEntropyOutput () const
 
MeasurementType GetFeature (TextureFeatureName name)
 
MeasurementType GetHaralickCorrelation () const
 
const MeasurementObjectTypeGetHaralickCorrelationOutput () const
 
MeasurementType GetInertia () const
 
const MeasurementObjectTypeGetInertiaOutput () const
 
const HistogramTypeGetInput () const
 
MeasurementType GetInverseDifferenceMoment () const
 
const MeasurementObjectTypeGetInverseDifferenceMomentOutput () const
 
virtual const char * GetNameOfClass () const
 
void SetInput (const HistogramType *histogram)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Types

typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 

Protected Member Functions

virtual void GenerateData () override
 
 HistogramToTextureFeaturesFilter ()
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) override
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~HistogramToTextureFeaturesFilter ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void ComputeMeansAndVariances (double &pixelMean, double &marginalMean, double &marginalDevSquared, double &pixelVariance)
 
 HistogramToTextureFeaturesFilter (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 

Private Attributes

RelativeFrequencyContainerType m_RelativeFrequencyContainer
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename THistogram >
typedef HistogramType::AbsoluteFrequencyType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::AbsoluteFrequencyType

Definition at line 123 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 109 of file itkHistogramToTextureFeaturesFilter.h.

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

Smart Pointer type to a DataObject.

Definition at line 142 of file itkHistogramToTextureFeaturesFilter.h.

Make a DataObject to be used for output output.

Definition at line 209 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 119 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 118 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 115 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 122 of file itkHistogramToTextureFeaturesFilter.h.

Type of DataObjects used for scalar outputs

Definition at line 145 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 120 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 121 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 108 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
typedef std::vector< RelativeFrequencyType > itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::RelativeFrequencyContainerType

Container to hold relative frequencies of the histogram

Definition at line 133 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
typedef HistogramType::RelativeFrequencyType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::RelativeFrequencyType

Definition at line 124 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
typedef HistogramToTextureFeaturesFilter itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::Self

Standard typedefs

Definition at line 106 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 107 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
typedef HistogramType::TotalAbsoluteFrequencyType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::TotalAbsoluteFrequencyType

Definition at line 127 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
typedef HistogramType::TotalRelativeFrequencyType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::TotalRelativeFrequencyType

Definition at line 130 of file itkHistogramToTextureFeaturesFilter.h.

Member Enumeration Documentation

Texture feature types

Enumerator
Energy 
Entropy 
Correlation 
InverseDifferenceMoment 
Inertia 
ClusterShade 
ClusterProminence 
HaralickCorrelation 
InvalidFeatureName 

Definition at line 188 of file itkHistogramToTextureFeaturesFilter.h.

Constructor & Destructor Documentation

template<typename THistogram >
itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::HistogramToTextureFeaturesFilter ( )
protected
template<typename THistogram >
itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::~HistogramToTextureFeaturesFilter ( )
inlineprotected

Definition at line 205 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::HistogramToTextureFeaturesFilter ( const Self )
private

Member Function Documentation

template<typename THistogram >
void itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::ComputeMeansAndVariances ( double &  pixelMean,
double &  marginalMean,
double &  marginalDevSquared,
double &  pixelVariance 
)
private
template<typename THistogram >
virtual::itk::LightObject::Pointer itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename THistogram >
virtual void itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GenerateData ( void  )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetClusterProminence ( ) const

Return cluster prominence texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetClusterProminenceOutput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetClusterShade ( ) const

Return cluster shade texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetClusterShadeOutput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetCorrelation ( ) const

return correlation texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetCorrelationOutput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetEnergy ( ) const

Return energy texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetEnergyOutput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetEntropy ( ) const

Return entropy texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetEntropyOutput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetFeature ( TextureFeatureName  name)

convenience method to access the texture values

template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetHaralickCorrelation ( ) const

Return Haralick correlation texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetHaralickCorrelationOutput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetInertia ( ) const

Return inertia texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetInertiaOutput ( ) const
template<typename THistogram >
const HistogramType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetInput ( ) const
template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetInverseDifferenceMoment ( ) const

Return inverse difference moment texture value.

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetInverseDifferenceMomentOutput ( ) const
template<typename THistogram >
virtual const char* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

template<typename THistogram >
virtual DataObjectPointer itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::MakeOutput ( DataObjectPointerArraySizeType  idx)
overrideprotectedvirtual

Make a DataObject of the correct type to used as the specified output.

Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

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

standard New() method support

template<typename THistogram >
void itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::operator= ( const Self )
private
template<typename THistogram >
virtual void itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ProcessObject.

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

Member Data Documentation

template<typename THistogram >
RelativeFrequencyContainerType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::m_RelativeFrequencyContainer
private

Definition at line 222 of file itkHistogramToTextureFeaturesFilter.h.


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