ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | List of all members
itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType > Class Template Reference

#include <itkScalarImageToTextureFeaturesFilter.h>

Detailed Description

template<typename TImageType, typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
class itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >

This class computes texture descriptions from an image.

This class computes features that summarize the texture of a given image. The texture features are computed a la Haralick, and have proven to be useful in image classification for biological and medical imaging. This class computes the texture features of an image (optionally in a masked region), averaged across several spatial directions so that they are invariant to rotation.

By default, texture 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 GLCM for each offset given. To compute a single GLCM 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 image type.

Template Parameters: The image type, and the type of histogram frequency container. If you are using a large number of bins per axis, a sparse frequency container may be advisable. The default is to use a dense frequency container.

Inputs and parameters:

  1. An image
  2. A mask defining the region over which texture features will be calculated. (Optional)
  3. The pixel value that defines the "inside" of the mask. (Optional, defaults to 1 if a mask is set.)
  4. The set of features to be calculated. These features are defined in the GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator class. (Optional, defaults to {Energy, Entropy, InverseDifferenceMoment, Inertia, ClusterShade, ClusterProminence}, as in Conners, Trivedi and Harlow.)
  5. The number of intensity bins. (Optional, defaults to 256.)
  6. The set of directions (offsets) to average across. (Optional, defaults to {(-1, 0), (-1, -1), (0, -1), (1, -1)} for 2D images and scales analogously for ND images.)
  7. The pixel intensity range over which the features will be calculated. (Optional, defaults to the full dynamic range of the pixel type.)

In general, the default parameter values should be sufficient.

Outputs: (1) The average value of each feature. (2) The standard deviation in the values of each feature.

Web reference: http://www.fp.ucalgary.ca/mhallbey/tutorial.htm

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 Comparison 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
HistogramToTextureFeaturesFilter

Author: Zachary Pincus

ITK Sphinx Examples:
Examples
SphinxExamples/src/Numerics/Statistics/ComputeTextureFeatures/Code.cxx.

Definition at line 111 of file itkScalarImageToTextureFeaturesFilter.h.

+ Inheritance diagram for itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >:
+ Collaboration diagram for itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using CooccurrenceMatrixFilterType = ScalarImageToCooccurrenceMatrixFilter< ImageType, FrequencyContainerType, MaskImageType >
 
using DataObjectPointer = DataObject::Pointer
 
using FeatureNameVector = VectorContainer< unsigned char, TextureFeatureName >
 
using FeatureNameVectorConstPointer = typename FeatureNameVector::ConstPointer
 
using FeatureNameVectorPointer = typename FeatureNameVector::Pointer
 
using FeatureValueVector = VectorContainer< unsigned char, double >
 
using FeatureValueVectorDataObjectType = DataObjectDecorator< FeatureValueVector >
 
using FeatureValueVectorPointer = typename FeatureValueVector::Pointer
 
using FrequencyContainerType = THistogramFrequencyContainer
 
using HistogramType = typename CooccurrenceMatrixFilterType::HistogramType
 
using ImagePointer = typename ImageType::Pointer
 
using ImageType = TImageType
 
using MaskImageType = TMaskImageType
 
using MaskPixelType = typename MaskImageType::PixelType
 
using MaskPointer = typename MaskImageType::Pointer
 
using OffsetType = typename ImageType::OffsetType
 
using OffsetVector = VectorContainer< unsigned char, OffsetType >
 
using OffsetVectorConstPointer = typename OffsetVector::ConstPointer
 
using OffsetVectorPointer = typename OffsetVector::Pointer
 
using PixelType = typename ImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using Self = ScalarImageToTextureFeaturesFilter
 
using Superclass = ProcessObject
 
using TextureFeatureName = uint8_t
 
using TextureFeaturesFilterType = HistogramToTextureFeaturesFilter< HistogramType >
 
- 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 void FastCalculationsOn ()
 
virtual bool GetFastCalculations () const
 
const FeatureValueVectorDataObjectTypeGetFeatureMeansOutput () const
 
const FeatureValueVectorDataObjectTypeGetFeatureStandardDeviationsOutput () const
 
const ImageTypeGetInput () const
 
const MaskImageTypeGetMaskImage () const
 
const char * GetNameOfClass () const override
 
virtual void SetFastCalculations (bool _arg)
 
void SetInput (const ImageType *)
 
void SetInsidePixelValue (MaskPixelType insidePixelValue)
 
void SetMaskImage (const MaskImageType *)
 
void SetNumberOfBinsPerAxis (unsigned int)
 
virtual const FeatureValueVector ::PointerGetFeatureMeans () const
 
virtual const FeatureValueVector ::PointerGetFeatureStandardDeviations () const
 
virtual void SetRequestedFeatures (const FeatureNameVector *_arg)
 
virtual const FeatureNameVectorGetRequestedFeatures () const
 
virtual void SetOffsets (const OffsetVector *_arg)
 
virtual const OffsetVectorGetOffsets () const
 
void SetPixelValueMinMax (PixelType min, PixelType max)
 
- Public Member Functions inherited from itk::ProcessObject
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 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 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 val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
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) const
 
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 FastCompute ()
 
void FullCompute ()
 
void GenerateData () override
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ScalarImageToTextureFeaturesFilter ()
 
 ~ScalarImageToTextureFeaturesFilter () 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 DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () 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 idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () const
 
virtual void VerifyPreconditions () 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 i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~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 Attributes

bool m_FastCalculations {}
 
FeatureValueVectorPointer m_FeatureMeans {}
 
FeatureValueVectorPointer m_FeatureStandardDeviations {}
 
TextureFeaturesFilterType::Pointer m_GLCMCalculator {}
 
CooccurrenceMatrixFilterType::Pointer m_GLCMGenerator {}
 
OffsetVectorConstPointer m_Offsets {}
 
FeatureNameVectorConstPointer m_RequestedFeatures {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject >
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- 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

◆ ConstPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::ConstPointer = SmartPointer<const Self>

Definition at line 118 of file itkScalarImageToTextureFeaturesFilter.h.

◆ CooccurrenceMatrixFilterType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::CooccurrenceMatrixFilterType = ScalarImageToCooccurrenceMatrixFilter<ImageType, FrequencyContainerType, MaskImageType>

Definition at line 140 of file itkScalarImageToTextureFeaturesFilter.h.

◆ DataObjectPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::DataObjectPointer = DataObject::Pointer

Smart Pointer type to a DataObject.

Definition at line 156 of file itkScalarImageToTextureFeaturesFilter.h.

◆ DataObjectPointerArraySizeType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
protected

Make a DataObject to be used for output output.

Definition at line 237 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FeatureNameVector

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FeatureNameVector = VectorContainer<unsigned char, TextureFeatureName>

Definition at line 148 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FeatureNameVectorConstPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FeatureNameVectorConstPointer = typename FeatureNameVector::ConstPointer

Definition at line 151 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FeatureNameVectorPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FeatureNameVectorPointer = typename FeatureNameVector::Pointer

Definition at line 150 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FeatureValueVector

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FeatureValueVector = VectorContainer<unsigned char, double>

Definition at line 152 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FeatureValueVectorDataObjectType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FeatureValueVectorDataObjectType = DataObjectDecorator<FeatureValueVector>

Type of DataObjects used for scalar outputs

Definition at line 159 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FeatureValueVectorPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FeatureValueVectorPointer = typename FeatureValueVector::Pointer

Definition at line 153 of file itkScalarImageToTextureFeaturesFilter.h.

◆ FrequencyContainerType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FrequencyContainerType = THistogramFrequencyContainer

Definition at line 126 of file itkScalarImageToTextureFeaturesFilter.h.

◆ HistogramType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::HistogramType = typename CooccurrenceMatrixFilterType::HistogramType

Definition at line 142 of file itkScalarImageToTextureFeaturesFilter.h.

◆ ImagePointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::ImagePointer = typename ImageType::Pointer

Definition at line 128 of file itkScalarImageToTextureFeaturesFilter.h.

◆ ImageType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::ImageType = TImageType

Definition at line 127 of file itkScalarImageToTextureFeaturesFilter.h.

◆ MaskImageType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::MaskImageType = TMaskImageType

Definition at line 129 of file itkScalarImageToTextureFeaturesFilter.h.

◆ MaskPixelType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::MaskPixelType = typename MaskImageType::PixelType

Definition at line 131 of file itkScalarImageToTextureFeaturesFilter.h.

◆ MaskPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::MaskPointer = typename MaskImageType::Pointer

Definition at line 130 of file itkScalarImageToTextureFeaturesFilter.h.

◆ OffsetType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::OffsetType = typename ImageType::OffsetType

Definition at line 134 of file itkScalarImageToTextureFeaturesFilter.h.

◆ OffsetVector

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::OffsetVector = VectorContainer<unsigned char, OffsetType>

Definition at line 135 of file itkScalarImageToTextureFeaturesFilter.h.

◆ OffsetVectorConstPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::OffsetVectorConstPointer = typename OffsetVector::ConstPointer

Definition at line 137 of file itkScalarImageToTextureFeaturesFilter.h.

◆ OffsetVectorPointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::OffsetVectorPointer = typename OffsetVector::Pointer

Definition at line 136 of file itkScalarImageToTextureFeaturesFilter.h.

◆ PixelType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::PixelType = typename ImageType::PixelType

Definition at line 133 of file itkScalarImageToTextureFeaturesFilter.h.

◆ Pointer

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::Pointer = SmartPointer<Self>

Definition at line 117 of file itkScalarImageToTextureFeaturesFilter.h.

◆ Self

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::Self = ScalarImageToTextureFeaturesFilter

Standard type alias

Definition at line 115 of file itkScalarImageToTextureFeaturesFilter.h.

◆ Superclass

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::Superclass = ProcessObject

Definition at line 116 of file itkScalarImageToTextureFeaturesFilter.h.

◆ TextureFeatureName

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::TextureFeatureName = uint8_t

Definition at line 147 of file itkScalarImageToTextureFeaturesFilter.h.

◆ TextureFeaturesFilterType

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
using itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::TextureFeaturesFilterType = HistogramToTextureFeaturesFilter<HistogramType>

Definition at line 143 of file itkScalarImageToTextureFeaturesFilter.h.

Constructor & Destructor Documentation

◆ ScalarImageToTextureFeaturesFilter()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::ScalarImageToTextureFeaturesFilter ( )
protected

◆ ~ScalarImageToTextureFeaturesFilter()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::~ScalarImageToTextureFeaturesFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ FastCalculationsOn()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FastCalculationsOn ( )
virtual

◆ FastCompute()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FastCompute ( )
protected

◆ FullCompute()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::FullCompute ( )
protected

◆ GenerateData()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GenerateData ( )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

◆ GetFastCalculations()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual bool itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetFastCalculations ( ) const
virtual

◆ GetFeatureMeans()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual const FeatureValueVector ::Pointer& itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetFeatureMeans ( ) const
virtual

Return the feature means and deviations.

◆ GetFeatureMeansOutput()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
const FeatureValueVectorDataObjectType* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetFeatureMeansOutput ( ) const

◆ GetFeatureStandardDeviations()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual const FeatureValueVector ::Pointer& itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetFeatureStandardDeviations ( ) const
virtual

Return the feature means and deviations.

◆ GetFeatureStandardDeviationsOutput()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
const FeatureValueVectorDataObjectType* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetFeatureStandardDeviationsOutput ( ) const

◆ GetInput()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
const ImageType* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetInput ( ) const

◆ GetMaskImage()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
const MaskImageType* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetMaskImage ( ) const

◆ GetNameOfClass()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
const char* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetNameOfClass ( ) const
overridevirtual

◆ GetOffsets()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual const OffsetVector* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetOffsets ( ) const
virtual

Set the offsets over which the co-occurrence pairs will be computed. Optional; for default value see above.

◆ GetRequestedFeatures()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual const FeatureNameVector* itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::GetRequestedFeatures ( ) const
virtual

Set the desired feature set. Optional, for default value see above.

◆ MakeOutput()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
DataObjectPointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::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 TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
static Pointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::New ( )
static

standard New() method support

◆ PrintSelf()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::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.

◆ SetFastCalculations()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetFastCalculations ( bool  _arg)
virtual

◆ SetInput()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetInput ( const ImageType )

◆ SetInsidePixelValue()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetInsidePixelValue ( MaskPixelType  insidePixelValue)

Set the pixel value of the mask that should be considered "inside" the object. Optional; for default value see above.

◆ SetMaskImage()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetMaskImage ( const MaskImageType )

Connects the mask image for which the histogram is going to be computed. Optional; for default value see above.

◆ SetNumberOfBinsPerAxis()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetNumberOfBinsPerAxis ( unsigned int  )

Set number of histogram bins along each axis. Optional; for default value see above.

◆ SetOffsets()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetOffsets ( const OffsetVector _arg)
virtual

Set the offsets over which the co-occurrence pairs will be computed. Optional; for default value see above.

◆ SetPixelValueMinMax()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetPixelValueMinMax ( PixelType  min,
PixelType  max 
)

Set the min and max (inclusive) pixel value that will be used for feature calculations. Optional; for default value see above.

◆ SetRequestedFeatures()

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
virtual void itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::SetRequestedFeatures ( const FeatureNameVector _arg)
virtual

Set the desired feature set. Optional, for default value see above.

Member Data Documentation

◆ m_FastCalculations

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
bool itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_FastCalculations {}
private

Definition at line 250 of file itkScalarImageToTextureFeaturesFilter.h.

◆ m_FeatureMeans

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
FeatureValueVectorPointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_FeatureMeans {}
private

Definition at line 246 of file itkScalarImageToTextureFeaturesFilter.h.

◆ m_FeatureStandardDeviations

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
FeatureValueVectorPointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_FeatureStandardDeviations {}
private

Definition at line 247 of file itkScalarImageToTextureFeaturesFilter.h.

◆ m_GLCMCalculator

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
TextureFeaturesFilterType::Pointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_GLCMCalculator {}
private

Definition at line 244 of file itkScalarImageToTextureFeaturesFilter.h.

◆ m_GLCMGenerator

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
CooccurrenceMatrixFilterType::Pointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_GLCMGenerator {}
private

Definition at line 242 of file itkScalarImageToTextureFeaturesFilter.h.

◆ m_Offsets

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
OffsetVectorConstPointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_Offsets {}
private

Definition at line 249 of file itkScalarImageToTextureFeaturesFilter.h.

◆ m_RequestedFeatures

template<typename TImageType , typename THistogramFrequencyContainer = DenseFrequencyContainer2, typename TMaskImageType = TImageType>
FeatureNameVectorConstPointer itk::Statistics::ScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer, TMaskImageType >::m_RequestedFeatures {}
private

Definition at line 248 of file itkScalarImageToTextureFeaturesFilter.h.


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