| TerraLib 4.1

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

- Namespace List
- Namespace Members

Functions
TePDIMathFunctions Namespace Reference
Image Processing.

This namespace contains mathematic functions used by PDI algorithms. More...

## Functions

unsigned long int | DecimLevelSize (unsigned long int level, unsigned long int elements)
| Returns the number of elements of a decimation level.
template<typename T >
unsigned long int | DecimLevels (const T &elements)
| Returns the number of decimation levels for a given number of elements.

## Detailed Description

This namespace contains mathematic functions used by PDI algorithms.

Note:
  THEY SHOLD NOT BE USED BY ANYONE. The support and interfaces can be changed in future. THIS IS FOR INTERNAL USE ONLY.

Author:
  Emiliano F. Castejon <castejon@dpi.inpe.br>

## Function Documentation

template<typename T >

unsigned long int TePDIMathFunctions::DecimLevels | ( | const T & | elements | ) |

Returns the number of decimation levels for a given number of elements.

Parameters:

  elements | Elements number.

Returns:
  The decimation levels.

Examples:
  TePDIMathFunctions_test.cpp.

PDI_DLL unsigned long int TePDIMathFunctions::DecimLevelSize | ( | unsigned long int | level,
|  | unsigned long int | elements
| ) |  |

Returns the number of elements of a decimation level.

Parameters:

  level | The decimation level (starting from 1).
  elements | The initial elements number.

Returns:
  The number of elements for the required level.

Examples:
  TePDIMathFunctions_test.cpp.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines