| TerraLib 4.1

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

Classes | Enumerations | Functions
Interpolation Algorithms and Data Structures

## Classes

class | TeInterpolationAlgorithms< ADAPTATIVEKDTREE >
| Class that supports several types of interpolation methods. More...

## Enumerations

enum | TeInterpolationAlgorithm { TeNNInterpolation, TeAvgInterpolation, TeDistWeightAvgInterpolation, TeAvgInBoxInterpolation, TeDistWeightAvgInBoxInterpolation }

## Functions

TLFUNCTIONS_DLL bool | TeCellInterpolate (TeTheme *inputTheme, const string &inputAttrTableName, const string &sampleColumnName, TeTheme *outputTheme, const string &outputAttrTableName, const string &outputColumnName, const TeInterpolationAlgorithm &algorithm=TeNNInterpolation, const unsigned int &numberOfNeighbors=1, const int &powValue=1, const double &boxRatio=1.0)
| Interpolates a cell theme.
TLFUNCTIONS_DLL bool | TeRasterInterpolate (TeTheme *inputTheme, const string &inputAttrTableName, const string &sampleColumnName, TeRaster *outputRaster, const int &band=0, const TeInterpolationAlgorithm &algorithm=TeNNInterpolation, const unsigned int &numberOfNeighbors=1, const int &powValue=1, const double &boxRatio=1.0)
| Interpolates a a raster.

## Detailed Description

TerraLib Interpolation Data Structure.

## Enumeration Type Documentation

enum TeInterpolationAlgorithm

Methods of interpolation, may be:

- TeNNInterpolation Interpolation that uses the nearest neighbor value
  - TeAvgInterpolation Interpolation that uses the average of k-nearest neighbors values
  - TeDistWeightAvgInterpolation Interpolation with weight average (inverse of square distance or other) of k-nearest neighbors values
  - TeAvgInBoxInterpolation Interpolation with simple average of elements in box
  - TeDistWeightAvgInBoxInterpolation Interpolation with weight average of elements in box

Enumerator:

  TeNNInterpolation |
  TeAvgInterpolation |
  TeDistWeightAvgInterpolation |
  TeAvgInBoxInterpolation |
  TeDistWeightAvgInBoxInterpolation |

## Function Documentation

TLFUNCTIONS_DLL bool TeCellInterpolate | ( | TeTheme * | inputTheme,
|  | const string & | inputAttrTableName,
|  | const string & | sampleColumnName,
|  | TeTheme * | outputTheme,
|  | const string & | outputAttrTableName,
|  | const string & | outputColumnName,
|  | const TeInterpolationAlgorithm & | algorithm = `TeNNInterpolation`,
|  | const unsigned int & | numberOfNeighbors = `1`,
|  | const int & | powValue = `1`,
|  | const double & | boxRatio = `1.0`
| ) |  |

Interpolates a cell theme.

TLFUNCTIONS_DLL bool TeRasterInterpolate | ( | TeTheme * | inputTheme,
|  | const string & | inputAttrTableName,
|  | const string & | sampleColumnName,
|  | TeRaster * | outputRaster,
|  | const int & | band = `0`,
|  | const TeInterpolationAlgorithm & | algorithm = `TeNNInterpolation`,
|  | const unsigned int & | numberOfNeighbors = `1`,
|  | const int & | powValue = `1`,
|  | const double & | boxRatio = `1.0`
| ) |  |

Interpolates a a raster.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines