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

itk::Statistics::ScalarImageTextureCalculator< TImageType > Class Template Reference

This class computes texture descriptions from an image. More...

#include <itkScalarImageTextureCalculator.h>

Inheritance diagram for itk::Statistics::ScalarImageTextureCalculator< TImageType >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::ScalarImageTextureCalculator< TImageType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ScalarImageTextureCalculator Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TImageType ImageType
typedef ImageType::Pointer ImagePointer
typedef ImageType::PixelType PixelType
typedef ImageType::OffsetType OffsetType
typedef VectorContainer< unsigned
char, OffsetType
OffsetVector
typedef OffsetVector::Pointer OffsetVectorPointer
typedef MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator<
ImageType
GLCMGeneratorType
typedef GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator<
typename GLCMGeneratorType::HistogramType
GLCMCalculatorType
typedef VectorContainer< unsigned
char, TextureFeatureName
FeatureNameVector
typedef FeatureNameVector::Pointer FeatureNameVectorPointer
typedef VectorContainer< unsigned
char, double > 
FeatureValueVector
typedef FeatureValueVector::Pointer FeatureValueVectorPointer

Public Member Functions

virtual const char * GetClassName () const
void Compute (void)
void SetInput (const ImagePointer)
virtual void SetRequestedFeatures (FeatureNameVectorPointer _arg)
virtual void SetOffsets (OffsetVectorPointer _arg)
void SetNumberOfBinsPerAxis (unsigned int numberOfBins)
void SetImageMask (ImagePointer ImageMask)
void SetInsidePixelValue (PixelType InsidePixelValue)
virtual FeatureValueVectorPointer GetFeatureMeans ()
virtual FeatureValueVectorPointer GetFeatureStandardDeviations ()
void SetPixelValueMinMax (PixelType min, PixelType max)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ScalarImageTextureCalculator ()
virtual ~ScalarImageTextureCalculator ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TImageType>
class itk::Statistics::ScalarImageTextureCalculator< TImageType >

This class computes texture descriptions from an image.

This class computes features that summarize the texture of a given image. The texture features are compute 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 masked region), averaged across several spatial directions so that they are invariant to rotation.

This class is templated over the input image type.

Inputs and parameters: (1) An image (2) A mask defining the region over which texture features will be calculated. (Optional) (2a) The pixel value that defines the "inside" of the mask. (Optional, defaults to 1 if a mask is set.) (3) 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.) (4) The number of intensity bins. (Optional, defaults to 256.) (5) 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.) (6) 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 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:
ScalarImageToGreyLevelCooccurrenceMatrixGenerator

MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator

GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator

Author: Zachary Pincus

Definition at line 93 of file itkScalarImageTextureCalculator.h.


Member Typedef Documentation

template<class TImageType>
typedef SmartPointer<const Self> itk::Statistics::ScalarImageTextureCalculator< TImageType >::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 100 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef VectorContainer<unsigned char, TextureFeatureName> itk::Statistics::ScalarImageTextureCalculator< TImageType >::FeatureNameVector
 

Definition at line 121 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef FeatureNameVector::Pointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::FeatureNameVectorPointer
 

Definition at line 122 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef VectorContainer<unsigned char, double> itk::Statistics::ScalarImageTextureCalculator< TImageType >::FeatureValueVector
 

Definition at line 123 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef FeatureValueVector::Pointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::FeatureValueVectorPointer
 

Definition at line 124 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator< typename GLCMGeneratorType::HistogramType > itk::Statistics::ScalarImageTextureCalculator< TImageType >::GLCMCalculatorType
 

Definition at line 119 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator< ImageType > itk::Statistics::ScalarImageTextureCalculator< TImageType >::GLCMGeneratorType
 

Definition at line 117 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef ImageType::Pointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::ImagePointer
 

Definition at line 109 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef TImageType itk::Statistics::ScalarImageTextureCalculator< TImageType >::ImageType
 

Definition at line 108 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef ImageType::OffsetType itk::Statistics::ScalarImageTextureCalculator< TImageType >::OffsetType
 

Definition at line 112 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef VectorContainer<unsigned char, OffsetType> itk::Statistics::ScalarImageTextureCalculator< TImageType >::OffsetVector
 

Definition at line 113 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef OffsetVector::Pointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::OffsetVectorPointer
 

Definition at line 114 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef ImageType::PixelType itk::Statistics::ScalarImageTextureCalculator< TImageType >::PixelType
 

Definition at line 111 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef SmartPointer<Self> itk::Statistics::ScalarImageTextureCalculator< TImageType >::Pointer
 

Reimplemented from itk::Object.

Definition at line 99 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef ScalarImageTextureCalculator itk::Statistics::ScalarImageTextureCalculator< TImageType >::Self
 

Standard typedefs

Reimplemented from itk::Object.

Definition at line 97 of file itkScalarImageTextureCalculator.h.

template<class TImageType>
typedef Object itk::Statistics::ScalarImageTextureCalculator< TImageType >::Superclass
 

Reimplemented from itk::Object.

Definition at line 98 of file itkScalarImageTextureCalculator.h.


Constructor & Destructor Documentation

template<class TImageType>
itk::Statistics::ScalarImageTextureCalculator< TImageType >::ScalarImageTextureCalculator  )  [protected]
 

template<class TImageType>
virtual itk::Statistics::ScalarImageTextureCalculator< TImageType >::~ScalarImageTextureCalculator  )  [inline, protected, virtual]
 

Definition at line 168 of file itkScalarImageTextureCalculator.h.


Member Function Documentation

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::Compute void   ) 
 

Triggers the computation of the features

template<class TImageType>
virtual const char* itk::Statistics::ScalarImageTextureCalculator< TImageType >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TImageType>
virtual FeatureValueVectorPointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::GetFeatureMeans  )  [virtual]
 

Return the feature means and deviations.

Warning:
This output is only valid after the Compute() method has been invoked
See also:
Compute

template<class TImageType>
virtual FeatureValueVectorPointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::GetFeatureStandardDeviations  )  [virtual]
 

Return the feature means and deviations.

Warning:
This output is only valid after the Compute() method has been invoked
See also:
Compute

template<class TImageType>
Pointer itk::Statistics::ScalarImageTextureCalculator< TImageType >::New  )  [static]
 

standard New() method support

Reimplemented from itk::Object.

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::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::Object.

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::SetImageMask ImagePointer  ImageMask  ) 
 

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

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::SetInput const   ImagePointer  ) 
 

Connects the input image for which the features are going to be computed

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::SetInsidePixelValue PixelType  InsidePixelValue  ) 
 

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

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::SetNumberOfBinsPerAxis unsigned int  numberOfBins  ) 
 

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

template<class TImageType>
virtual void itk::Statistics::ScalarImageTextureCalculator< TImageType >::SetOffsets OffsetVectorPointer  _arg  )  [virtual]
 

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

template<class TImageType>
void itk::Statistics::ScalarImageTextureCalculator< TImageType >::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.

template<class TImageType>
virtual void itk::Statistics::ScalarImageTextureCalculator< TImageType >::SetRequestedFeatures FeatureNameVectorPointer  _arg  )  [virtual]
 

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


The documentation for this class was generated from the following file:
Generated at Wed Mar 30 01:40:11 2005 for ITK by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2000