| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Defines
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIHaralick.cpp File Reference
`#include "TePDIHaralick.hpp"`
`#include "../kernel/TeGeometryAlgorithms.h"`
`#include "../kernel/TeCoord2D.h"`
`#include "../kernel/TeAgnostic.h"`
`#include <math.h>`

## Defines

#define | INSERT_GLCM_ELEMENT(concpixel_line, concpixel_col)

## Define Documentation

#define INSERT_GLCM_ELEMENT | ( |  | concpixel_line,
|  |  | concpixel_col
| ) |  |

Value:

    if( input_raster_->getElement( concpixel_col, concpixel_line, \
        auxkey.second, band ) ) \
      { \
        auxkey.first = itp.operator*(band); \
        \
        ++( mat[ auxkey ] ); \
        \
        ++( cacheNode.coOcurrences_ ); \
        \
        inverseAuxKey.first = auxkey.second; \
        inverseAuxKey.second = auxkey.first; \
        \
        ++( mat[ inverseAuxKey ] ); \
        \
        ++( cacheNode.coOcurrences_ ); \
        \
        if( auxkey.first < cacheNode.rasterMinGray_ ) \
          cacheNode.rasterMinGray_ = auxkey.first; \
        if( auxkey.second < cacheNode.rasterMinGray_ ) \
          cacheNode.rasterMinGray_ = auxkey.second; \
        \
        if( auxkey.first > cacheNode.rasterMaxGray_ ) \
          cacheNode.rasterMaxGray_ = auxkey.first; \
        if( auxkey.second > cacheNode.rasterMaxGray_ ) \
          cacheNode.rasterMaxGray_ = auxkey.second; \
      };

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines