| 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
TePDIIHSFusion Class Reference
Image Fusion algorithms.

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

`#include <TePDIIHSFusion.hpp>`

Inheritance diagram for TePDIIHSFusion:

List of all members.

## Public Member Functions

| TePDIIHSFusion ()
| ~TePDIIHSFusion ()
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.

## Detailed Description

This is the class for IHS fusion.

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

Note:
  The required parameters are:

Parameters:

  reference_raster | ( TePDITypes::TePDIRasterPtrType ) - Reference raster ( higher quality ).
  lowres_rasters( | TePDITypes::TePDIRasterVectorType ) - A vector of all used low resolution raster ( NOTE: When two or more bands from the same raster are used, this raster must be inserted two or three times inside the vector.
  lowres_channels | ( std::vector< int > ) - A vector of all used low resolution raster rasters channels/bands.
  output_raster | ( TePDITypes::TePDIRasterPtrType ) - Output raster.
  reference_raster_band | ( int ) - The band to process from reference_raster.

Note:
  The optional parameters are:

Parameters:

  interpol_method | (TePDIInterpolator::InterpMethod) - Upsampling interpolation method (default:BicubicMethod);

Examples:

  TePDIFusion_test.cpp.

## Constructor & Destructor Documentation

TePDIIHSFusion::TePDIIHSFusion | ( |  | ) |

TePDIIHSFusion::~TePDIIHSFusion | ( |  | ) |

## Member Function Documentation

bool TePDIIHSFusion::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.

void TePDIIHSFusion::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 TePDIIHSFusion::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/TePDIIHSFusion.hpp
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIIHSFusion.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines