Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer > Class Template Reference

This class computes a grey-level co-occurence matrix (histogram) from a given image and mask. GLCM's are used for image texture description. More...

#include <itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h>

Inheritance diagram for itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator Self
typedef ScalarImageToGreyLevelCooccurrenceMatrixGenerator<
TImageType, THistogramFrequencyContainer > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TImageType ImageType
typedef ImageType::Pointer ImagePointer
typedef ImageType::ConstPointer ImageConstPointer
typedef ImageType::PixelType PixelType
typedef ImageType::RegionType RegionType
typedef ImageType::SizeType RadiusType
typedef ImageType::OffsetType OffsetType
typedef VectorContainer< unsigned
char, OffsetType
OffsetVector
typedef OffsetVector::Pointer OffsetVectorPointer
typedef OffsetVector::ConstPointer OffsetVectorConstPointer
typedef NumericTraits< PixelType
>::RealType 
MeasurementType
typedef Histogram< MeasurementType,
2, THistogramFrequencyContainer > 
HistogramType
typedef HistogramType::Pointer HistogramPointer
typedef HistogramType::ConstPointer HistogramConstPointer
typedef HistogramType::MeasurementVectorType MeasurementVectorType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetImageMask (const ImageType *_arg)
virtual const ImageTypeGetImageMask ()
virtual void SetInsidePixelValue (PixelType _arg)
virtual PixelType GetInsidePixelValue ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator ()
virtual ~MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator ()
void PrintSelf (std::ostream &os, Indent indent) const
void FillHistogram (RadiusType radius, RegionType region)

Detailed Description

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
class itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >

This class computes a grey-level co-occurence matrix (histogram) from a given image and mask. GLCM's are used for image texture description.

For details about the general method, see the documentation for the ScalarImageToGreyLevelCooccurrenceMatrixGenerator class.

This class differs in that a mask may be set. The GLCM will only be populated with co-occurence measurements where both the pixel in question and the offset pixel both fall in the masked region. The mask must be the same size as the input image.

If no mask is set, the behavior is exactly the same as the ScalarImageToGreyLevelCooccurrenceMatrixGenerator class.

See also:
ScalarImageToGreyLevelCooccurrenceMatrixGenerator

GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator

ScalarImageTextureCalculator

Author: Zachary Pincus

Definition at line 50 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.


Member Typedef Documentation

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef SmartPointer<const Self> itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::ConstPointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 60 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef HistogramType::ConstPointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::HistogramConstPointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 84 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef HistogramType::Pointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::HistogramPointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 83 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef Histogram< MeasurementType, 2, THistogramFrequencyContainer > itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::HistogramType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 82 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ImageType::ConstPointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::ImageConstPointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 70 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

Referenced by itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::~MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator().

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ImageType::Pointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::ImagePointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 69 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef TImageType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::ImageType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 68 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef NumericTraits<PixelType>::RealType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::MeasurementType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 79 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef HistogramType::MeasurementVectorType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::MeasurementVectorType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 85 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ImageType::OffsetType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::OffsetType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 74 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef VectorContainer<unsigned char, OffsetType> itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::OffsetVector
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 75 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef OffsetVector::ConstPointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::OffsetVectorConstPointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 77 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef OffsetVector::Pointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::OffsetVectorPointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 76 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ImageType::PixelType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::PixelType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 71 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

Referenced by itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::~MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator().

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef SmartPointer<Self> itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::Pointer
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 59 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ImageType::SizeType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::RadiusType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 73 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

Referenced by itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::~MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator().

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ImageType::RegionType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::RegionType
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 72 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

Referenced by itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::~MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator().

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::Self
 

Standard typedefs

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 56 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
typedef ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer > itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::Superclass
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

Definition at line 58 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.


Constructor & Destructor Documentation

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator  )  [protected]
 

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
virtual itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::~MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator  )  [inline, protected, virtual]
 

Definition at line 102 of file itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator.h.

References itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::ImageConstPointer, itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::PixelType, itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::RadiusType, and itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::RegionType.


Member Function Documentation

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
void itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::FillHistogram RadiusType  radius,
RegionType  region
[protected, virtual]
 

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
virtual const ImageType* itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::GetImageMask  )  [virtual]
 

Connects the mask image for which the histogram is going to be computed

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
virtual PixelType itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::GetInsidePixelValue  )  [virtual]
 

Set the pixel value of the mask that should be considered "inside" the object. Defaults to one.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
virtual const char* itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
Pointer itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::New  )  [static]
 

standard New() method support

Reimplemented from itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
void itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

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::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >.

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
virtual void itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::SetImageMask const ImageType _arg  )  [virtual]
 

Connects the mask image for which the histogram is going to be computed

template<class TImageType, class THistogramFrequencyContainer = DenseFrequencyContainer>
virtual void itk::Statistics::MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< TImageType, THistogramFrequencyContainer >::SetInsidePixelValue PixelType  _arg  )  [virtual]
 

Set the pixel value of the mask that should be considered "inside" the object. Defaults to one.


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:08:38 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000