ITK  5.0.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

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

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 ()
 
MultiThreaderTypeGetMultiThreader () 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)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (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 SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
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

using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 

Protected Member Functions

void GenerateData () override
 
 HistogramToTextureFeaturesFilter ()
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~HistogramToTextureFeaturesFilter () override=default
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
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
 
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 () ITKv5_CONST
 
virtual void VerifyPreconditions () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () 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)
 
 ~Object () override
 
- 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)
 

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
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::AbsoluteFrequencyType = typename HistogramType::AbsoluteFrequencyType

Definition at line 125 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 111 of file itkHistogramToTextureFeaturesFilter.h.

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

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 >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::HistogramConstPointer = typename HistogramType::ConstPointer

Definition at line 121 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 120 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::HistogramType = THistogram

Definition at line 119 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::IndexType = typename HistogramType::IndexType

Definition at line 124 of file itkHistogramToTextureFeaturesFilter.h.

Type of DataObjects used for scalar outputs

Definition at line 145 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::MeasurementType = typename HistogramType::MeasurementType

Definition at line 122 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::MeasurementVectorType = typename HistogramType::MeasurementVectorType

Definition at line 123 of file itkHistogramToTextureFeaturesFilter.h.

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

Definition at line 110 of file itkHistogramToTextureFeaturesFilter.h.

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

Container to hold relative frequencies of the histogram

Definition at line 133 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::RelativeFrequencyType = typename HistogramType::RelativeFrequencyType

Definition at line 126 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::Self = HistogramToTextureFeaturesFilter

Standard type alias

Definition at line 108 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::Superclass = ProcessObject

Definition at line 109 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::TotalAbsoluteFrequencyType = typename HistogramType::TotalAbsoluteFrequencyType

Definition at line 128 of file itkHistogramToTextureFeaturesFilter.h.

template<typename THistogram >
using itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::TotalRelativeFrequencyType = typename HistogramType::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 ( )
overrideprotecteddefault

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 >
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 >
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 >::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 219 of file itkHistogramToTextureFeaturesFilter.h.


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