| TerraLib 4.1

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

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

Public Member Functions | Protected Member Functions
TePDIGarguetFusion Class Reference
Image Fusion algorithms.

This is the class for garguet fusion. More...

`#include <TePDIGarguetFusion.hpp>`

Inheritance diagram for TePDIGarguetFusion:

List of all members.

## Public Member Functions

| TePDIGarguetFusion ()
| ~TePDIGarguetFusion ()
bool | CheckParameters (const TePDIParameters &parameters) const
| Checks if the supplied parameters fits the requirements of each PDI algorithm implementation.

## Protected Member Functions

void | ResetState (const TePDIParameters &params)
| Reset the internal state to the initial state.
bool | RunImplementation ()
| Runs the current algorithm implementation.
bool | findBestDecimLevel (const TePDITypes::TePDIRasterPtrType &reference_raster, const TePDITypes::TePDIRasterPtrType &lowres_raster, unsigned int &rr_level, unsigned int &rr_level_width, unsigned int &rr_level_height)
| Find the best reference_raster decimation level that comes close to lowres_raster.

## Detailed Description

This is the class for garguet fusion.

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

Note:
  The required parameters are:

Parameters:

  reference_raster | ( TePDITypes::TePDIRasterPtrType ) - Reference raster ( higher quality ).
  lowres_raster | ( TePDITypes::TePDIRasterPtrType ) - Low resolution raster ( will be improved ).
  output_raster | ( TePDITypes::TePDIRasterPtrType ) - Output raster.
  reference_raster_band | ( int ) - The band to process for reference_raster.
  lowres_raster_band | ( int ) - The band to process for lowres_raster.

Note:
  The following parameters are optional, and will be used if present:

Parameters:

  filters_scale | ( double ) - The wavelet filters scale.
  a_filter_l | ( std::vector< double > ) - Wavelet Analysis filter, low pass, non normalized ( used in decomposition ).
  a_filter_h | ( std::vector< double > ) - Wavelet Analysis filter, high pass, non normalized ( used in decomposition ).
  s_filter_l | ( std::vector< double > ) - Wavelet Synthesis filter, low pass, non normalized ( used in recomposition ).
  s_filter_h | ( std::vector< double > ) - Wavelet Synthesis filter, high pass, non normalized ( used in recomposition ).

Examples:

  TePDIFusion_test.cpp.

## Constructor & Destructor Documentation

TePDIGarguetFusion::TePDIGarguetFusion | ( |  | ) |

TePDIGarguetFusion::~TePDIGarguetFusion | ( |  | ) |

## Member Function Documentation

bool TePDIGarguetFusion::CheckParameters | ( | const TePDIParameters & | parameters | ) | const`[virtual]`

Checks if the supplied parameters fits the requirements of each PDI algorithm implementation.

Note:
  Error log messages must be generated. No exceptions generated.

Parameters:

  parameters | The parameters to be checked.

Returns:
  true if the parameters are OK. false if not.

Implements TePDIAlgorithm.

bool TePDIGarguetFusion::findBestDecimLevel | ( | const TePDITypes::TePDIRasterPtrType & | reference_raster,
|  | const TePDITypes::TePDIRasterPtrType & | lowres_raster,
|  | unsigned int & | rr_level,
|  | unsigned int & | rr_level_width,
|  | unsigned int & | rr_level_height
| ) |  | `[protected]`

Find the best reference_raster decimation level that comes close to lowres_raster.

Parameters:

  reference_raster | Reference raster.
  lowres_raster | Low resolution raster.
  rr_level | Reference raster best decomposition level.
  rr_level_width | Reference raster best decomposition level width (starting from level 1 - at least 1 decimation done)
  rr_level_height | Reference raster best decomposition level height.

Returns:
  true if OK. false on errors.

void TePDIGarguetFusion::ResetState | ( | const TePDIParameters & | params | ) | `[protected, virtual]`

Reset the internal state to the initial state.

Parameters:

  params | The new parameters referente at initial state.

Implements TePDIAlgorithm.

bool TePDIGarguetFusion::RunImplementation | ( |  | ) | `[protected, virtual]`

Runs the current algorithm implementation.

Returns:
  true if OK. false on error.

Implements TePDIAlgorithm.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIGarguetFusion.hpp
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIGarguetFusion.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines