#include <itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h>
Inheritance diagram for itk::Statistics::GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator< THistogram >:
Public Types | |
typedef GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef THistogram | HistogramType |
typedef HistogramType::Pointer | HistogramPointer |
typedef HistogramType::ConstPointer | HistogramConstPointer |
typedef HistogramType::MeasurementType | MeasurementType |
typedef HistogramType::MeasurementVectorType | MeasurementVectorType |
typedef HistogramType::IndexType | IndexType |
typedef HistogramType::FrequencyType | FrequencyType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
void | Compute (void) |
double | GetFeature (TextureFeatureName feature) |
virtual double | GetEnergy () |
virtual double | GetEntropy () |
virtual double | GetCorrelation () |
virtual double | GetInverseDifferenceMoment () |
virtual double | GetInertia () |
virtual double | GetClusterShade () |
virtual double | GetClusterProminence () |
virtual double | GetHaralickCorrelation () |
virtual void | SetHistogram (HistogramType *_arg) |
virtual HistogramType * | GetHistogram () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator () | |
virtual | ~GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
This class computes features that summarize image texture, given a grey level co-occurrence matrix (generated by a ScalarImageToGreyLevelCooccurrenceMatrixGenerator or related class).
The features calculated are as follows (where is the element in cell i, j of a a normalized GLCM):
"Energy"
"Entropy" , or 0 if
"Correlation"
"Difference Moment"
"Inertia" (sometimes called "contrast.")
"Cluster Shade"
"Cluster Prominence"
"Haralick's Correlation" where and are the mean and standard deviation of the row (or column, due to symmetry) sums.
Above, (weighted pixel average) (due to matrix summetry), and
(weighted pixel variance) (due to matrix summetry)
A good texture feature set to use is the Conners, Trivedi and Harlow set: features 1, 2, 4, 5, 6, and 7. There is some correlation between the various features, so using all of them at the same time is not necessarialy a good idea.
NOTA BENE: The input histogram will be forcably normalized! This algorithm takes three passes through the input histogram if the histogram was already normalized, and four if not.
Web references:
http://www.cssip.uq.edu.au/meastex/www/algs/algs/algs.html http://www.ucalgary.ca/~mhallbey/texture/texture_tutorial.html
Print references:
Haralick, R.M., K. Shanmugam and I. Dinstein. 1973. Textural Features for Image Classification. IEEE Transactions on Systems, Man and Cybernetics. SMC-3(6):610-620.
Haralick, R.M. 1979. Statistical and Structural Approaches to Texture. Proceedings of the IEEE, 67:786-804.
R.W. Conners and C.A. Harlow. A Theoretical Comaprison of Texture Algorithms. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2:204-222, 1980.
R.W. Conners, M.M. Trivedi, and C.A. Harlow. Segmentation of a High-Resolution Urban Scene using Texture Operators. Computer Vision, Graphics and Image Processing, 25:273-310, 1984.
Definition at line 103 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h.
|
Reimplemented from itk::Object. Definition at line 110 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 124 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 120 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 119 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 118 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 123 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 121 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 122 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Reimplemented from itk::Object. Definition at line 109 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Standard typedefs Reimplemented from itk::Object. Definition at line 107 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Reimplemented from itk::Object. Definition at line 108 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
Definition at line 149 of file itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculator.h. |
|
|
Triggers the Computation of the histogram |
|
|
|
|
|
|
|
|
|
|
|
Methods to return the feature values.
|
|
|
|
Connects the GLCM histogram over which the features are going to be computed |
|
|
|
|
|
Run-time type information (and related methods). Reimplemented from itk::Object. |
|
standard New() method support Reimplemented from itk::Object. |
|
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. |
|
Connects the GLCM histogram over which the features are going to be computed |