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

This is the class for principal components generation. More...

`#include <TePDIPrincipalComponentsFusion.hpp>`

Inheritance diagram for TePDIPrincipalComponentsFusion:

List of all members.

## Public Member Functions

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

## Protected Member Functions

bool | RunImplementation ()
| Decide the direction of the analysis based on the analysis_type parameter.
void | ResetState (const TePDIParameters &params)
| Reset the internal state to the initial state.

## Detailed Description

This is the class for principal components generation.

Author:
  Felipe Castro da Silva <felipe@dpi.inpe.br>

Note:
  The required parameters are:

Parameters:

  input_rasters | (TePDITypes::TePDIRasterVectorType) - Low resolution rasters.
  bands | (std::vector< int >) - The bands from each low resolution raster.
  output_rasters | (TePDITypes::TePDIRasterVectorType) - High resolution fused rasters.
  reference_raster | (TePDITypes::TePDIRasterPtrType) - High resolution raster.
  reference_raster_band | (int) - Reference raster band number.
  resampling_type | (TePDIInterpolator::InterpMethod) - Resampling type.
  fit_histogram | (bool) - Fit the reference histogram to the low resolution rasters histograms (better collor quality).
  output_rasters | (TePDITypes::TePDIRasterVectorType) - High resolution fused rasters.

Examples:

  TePDIFusion_test.cpp.

## Constructor & Destructor Documentation

TePDIPrincipalComponentsFusion::TePDIPrincipalComponentsFusion | ( |  | ) |

Default Constructor.

TePDIPrincipalComponentsFusion::~TePDIPrincipalComponentsFusion | ( |  | ) |

Default Destructor.

## Member Function Documentation

bool TePDIPrincipalComponentsFusion::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 TePDIPrincipalComponentsFusion::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 TePDIPrincipalComponentsFusion::RunImplementation | ( |  | ) | `[protected, virtual]`

Decide the direction of the analysis based on the analysis_type parameter.

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines