ITK  5.2.0
Insight 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 >:

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
 
using TextureFeatureEnum = HistogramToTextureFeaturesFilterEnums::TextureFeature
 
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 (TextureFeatureEnum feature)
 
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 ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
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)
 
virtual void SetReleaseDataFlag (bool val)
 
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
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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 noexcept override
 
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
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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 val)
 
- 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
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void VerifyInputInformation () ITKv5_CONST
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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

- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

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 symmetry), 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 symmetry)

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 necessarily a good idea.

NOTA BENE: The input histogram will be forcibly 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

Definition at line 133 of file itkHistogramToTextureFeaturesFilter.h.

Member Typedef Documentation

◆ AbsoluteFrequencyType

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

Definition at line 156 of file itkHistogramToTextureFeaturesFilter.h.

◆ ConstPointer

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

Definition at line 142 of file itkHistogramToTextureFeaturesFilter.h.

◆ DataObjectPointer

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

Smart Pointer type to a DataObject.

Definition at line 175 of file itkHistogramToTextureFeaturesFilter.h.

◆ DataObjectPointerArraySizeType

Make a DataObject to be used for output output.

Definition at line 261 of file itkHistogramToTextureFeaturesFilter.h.

◆ HistogramConstPointer

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

Definition at line 152 of file itkHistogramToTextureFeaturesFilter.h.

◆ HistogramPointer

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

Definition at line 151 of file itkHistogramToTextureFeaturesFilter.h.

◆ HistogramType

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

Definition at line 150 of file itkHistogramToTextureFeaturesFilter.h.

◆ IndexType

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

Definition at line 155 of file itkHistogramToTextureFeaturesFilter.h.

◆ MeasurementObjectType

Type of DataObjects used for scalar outputs

Definition at line 178 of file itkHistogramToTextureFeaturesFilter.h.

◆ MeasurementType

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

Definition at line 153 of file itkHistogramToTextureFeaturesFilter.h.

◆ MeasurementVectorType

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

Definition at line 154 of file itkHistogramToTextureFeaturesFilter.h.

◆ Pointer

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

Definition at line 141 of file itkHistogramToTextureFeaturesFilter.h.

◆ RelativeFrequencyContainerType

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

Container to hold relative frequencies of the histogram

Definition at line 164 of file itkHistogramToTextureFeaturesFilter.h.

◆ RelativeFrequencyType

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

Definition at line 157 of file itkHistogramToTextureFeaturesFilter.h.

◆ Self

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

Standard type alias

Definition at line 139 of file itkHistogramToTextureFeaturesFilter.h.

◆ Superclass

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

Definition at line 140 of file itkHistogramToTextureFeaturesFilter.h.

◆ TextureFeatureEnum

Definition at line 236 of file itkHistogramToTextureFeaturesFilter.h.

◆ TotalAbsoluteFrequencyType

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

Definition at line 159 of file itkHistogramToTextureFeaturesFilter.h.

◆ TotalRelativeFrequencyType

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

Definition at line 161 of file itkHistogramToTextureFeaturesFilter.h.

Constructor & Destructor Documentation

◆ HistogramToTextureFeaturesFilter()

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

◆ ~HistogramToTextureFeaturesFilter()

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

Member Function Documentation

◆ ComputeMeansAndVariances()

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

◆ CreateAnother()

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.

◆ GenerateData()

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

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

◆ GetClusterProminence()

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

Return cluster prominence texture value.

◆ GetClusterProminenceOutput()

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

◆ GetClusterShade()

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

Return cluster shade texture value.

◆ GetClusterShadeOutput()

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

◆ GetCorrelation()

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

return correlation texture value.

◆ GetCorrelationOutput()

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

◆ GetEnergy()

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

Return energy texture value.

◆ GetEnergyOutput()

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

◆ GetEntropy()

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

Return entropy texture value.

◆ GetEntropyOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetEntropyOutput ( ) const

◆ GetFeature()

template<typename THistogram >
MeasurementType itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetFeature ( TextureFeatureEnum  feature)

convenience method to access the texture values

◆ GetHaralickCorrelation()

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

Return Haralick correlation texture value.

◆ GetHaralickCorrelationOutput()

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

◆ GetInertia()

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

Return inertia texture value.

◆ GetInertiaOutput()

template<typename THistogram >
const MeasurementObjectType* itk::Statistics::HistogramToTextureFeaturesFilter< THistogram >::GetInertiaOutput ( ) const

◆ GetInput()

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

◆ GetInverseDifferenceMoment()

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

Return inverse difference moment texture value.

◆ GetInverseDifferenceMomentOutput()

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

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

◆ MakeOutput()

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.

◆ New()

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

standard New() method support

◆ PrintSelf()

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

STL map to store the named inputs and outputs

Reimplemented from itk::ProcessObject.

◆ SetInput()

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

Member Data Documentation

◆ m_RelativeFrequencyContainer

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

Definition at line 275 of file itkHistogramToTextureFeaturesFilter.h.


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