GLCM Operator |

# GLCM Operator Description

## Overview

Name: | `GLCM`
Full name: | `org.esa.snap.raster.gpf.texture.GLCMOp`
Purpose: | Extract Texture Features
Version: | 1.0

## Description

The operator extracts 10 texture features using GLCM: 1. Contrast 2. Dissimilarity (DIS) 3. Homogeneity (HOM) 4. Angular Second Moment (ASM) 5. Energy 6. Maximum Probability (MAX) 7. Entropy (ENT) 8. GLCM Mean 9. GLCM Variance 10. GLCM Correlation

[1] Robert M. Haralick, K. Shanmugam, and Its'hak Dinstein. "Textural Features for Image Classification" IEEE Trans. on Systems, Man and Cybernetics, Vol 3 , No. 6, pp. 610-621, Nov. 1973.

## Sources

Name | Description
--- | ---
`sourceProduct` |

## Parameters

Name | Data Type | Default | Description | Constraints
--- | --- | --- | --- | ---
`sourceBands` | `String[]` | `` | The list of source bands. |
`windowSizeStr` | `String` | `9x9` |  | value set: [5x5, 7x7, 9x9, 11x11]
`angleStr` | `String` | `ALL` |  | value set: [0, 45, 90, 135, ALL]
`quantizerStr` | `String` | `Probabilistic Quantizer` |  | value set: [Equal Distance Quantizer, Probabilistic Quantizer]
`quantizationLevelsStr` | `String` | `32` |  | value set: [8, 16, 32, 64, 128]
`displacement` | `int` | `4` | Pixel displacement | interval: [1, 8]
`noDataValue` | `double` | `-9999.0` | Target product no data value |
`outputContrast` | `Boolean` | `true` | Output Contrast |
`outputDissimilarity` | `Boolean` | `true` | Output Dissimilarity |
`outputHomogeneity` | `Boolean` | `true` | Output Homogeneity |
`outputASM` | `Boolean` | `true` | Output Angular Second Moment |
`outputEnergy` | `Boolean` | `true` | Output Energy |
`outputMAX` | `Boolean` | `true` | Output Maximum Probability |
`outputEntropy` | `Boolean` | `true` | Output Entropy |
`outputMean` | `Boolean` | `true` | Output GLCM Mean |
`outputVariance` | `Boolean` | `true` | Output GLCM Variance |
`outputCorrelation` | `Boolean` | `true` | Output GLCM Correlation |