| TerraLib 4.1

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
TeDecoderJPEG Class Reference

Implements a decoder for images in JPEG format. More...

`#include <TeDecoderJPEG.h>`

Inheritance diagram for TeDecoderJPEG:

List of all members.

## Public Member Functions

| TeDecoderJPEG ()
| Empty constructor.
| TeDecoderJPEG (const TeRasterParams &par)
| Constructor from some parameters.
| ~TeDecoderJPEG ()
| Destructor.
void | init ()
| Initializes the internal structures.
bool | clear ()
| Releases the internal structures.
bool | setElement (int col, int lin, double val, int band=0)
| Writes an element.
bool | getElement (int col, int lin, double &val, int band=0)
| Reads an element.
void | setQualityFactor (unsigned int qualityFactor)
| Set the quality factor.

## Detailed Description

Implements a decoder for images in JPEG format.

## Constructor & Destructor Documentation

TeDecoderJPEG::TeDecoderJPEG | ( |  | ) |

Empty constructor.

TeDecoderJPEG::TeDecoderJPEG | ( | const TeRasterParams & | par | ) |

Constructor from some parameters.

TeDecoderJPEG::~TeDecoderJPEG | ( |  | ) |

Destructor.

## Member Function Documentation

bool TeDecoderJPEG::clear | ( |  | ) | `[virtual]`

Releases the internal structures.

Implements TeDecoder.

bool TeDecoderJPEG::getElement | ( | int | col,
|  | int | lin,
|  | double & | val,
|  | int | band = `0`
| ) |  | `[virtual]`

Reads an element.

Implements TeDecoder.

void TeDecoderJPEG::init | ( |  | ) | `[virtual]`

Initializes the internal structures.

Implements TeDecoder.

bool TeDecoderJPEG::setElement | ( | int | col,
|  | int | lin,
|  | double | val,
|  | int | band = `0`
| ) |  | `[virtual]`

Writes an element.

Implements TeDecoder.

void TeDecoderJPEG::setQualityFactor | ( | unsigned int | qualityFactor | ) |

Set the quality factor.

Parameters:

  compression | Quality factor from 0% to 100% (default:75).

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeDecoderJPEG.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeDecoderJPEG.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines