| TerraLib 4.1

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

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

Public Types | Public Member Functions | Protected Member Functions | Friends
TePDIPrincoMixModelStrategy Class Reference
Algorithm strategies.

This is the class for princo mixmodel strategy. More...

`#include <TePDIPrincoMixModelStrategy.hpp>`

Inheritance diagram for TePDIPrincoMixModelStrategy:

List of all members.

## Public Types

typedef TeSharedPtr < TePDIPrincoMixModelStrategy > | pointer
typedef const TeSharedPtr < TePDIPrincoMixModelStrategy > | const_pointer

## Public Member Functions

| ~TePDIPrincoMixModelStrategy ()
bool | CheckParameters (const TePDIParameters &parameters) const

## Protected Member Functions

| TePDIPrincoMixModelStrategy ()
bool | Implementation (const TePDIParameters &params)

## Friends

class | TePDIPrincoMixModelSF

## Detailed Description

This is the class for princo mixmodel strategy.

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

Note:
  The required parameters are:

Parameters:

  mixmodel_type | (std::string): Must be "princo", "mqp" or "mpr".
  component_list | (TePDIMixModelComponentList): components list.
  spectral_band_list | (TePDIMixModelSpectralBandList): spectral bands list.
  input_rasters | (TePDITypes::TePDIRasterVectorType): input rasters.
  bands | (std::vector<int>): band number of each input raster.
  output_rasters | (TePDITypes::TePDIRasterVectorType): output rasters (ratio images).
  compute_error_rasters | (int): if 1, the algorithm compute the error rasters, if 0, not.
  output_error_rasters | (TePDITypes::TePDIRasterVectorType): if compute_error_rasters, here we have to set output error rasters.
  compute_average_error | (int): if 1, the algorithm compute the average error, if 0, not.
  average_error | (double): if compute_average_error, here we have the average error value.
  normalize | (double): if 1, the output images are normalized, if 0, not.

## Member Typedef Documentation

typedef const TeSharedPtr< TePDIPrincoMixModelStrategy > TePDIPrincoMixModelStrategy::const_pointer

Type definition for a const instance pointer

Reimplemented from TePDIMixModelStrategy.

typedef TeSharedPtr< TePDIPrincoMixModelStrategy > TePDIPrincoMixModelStrategy::pointer

Type definition for a instance pointer

Reimplemented from TePDIMixModelStrategy.

## Constructor & Destructor Documentation

TePDIPrincoMixModelStrategy::~TePDIPrincoMixModelStrategy | ( |  | ) |

Default destructor.

TePDIPrincoMixModelStrategy::TePDIPrincoMixModelStrategy | ( |  | ) | `[protected]`

Default constructor

Parameters:

  factoryName | Factory name.

## Member Function Documentation

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

Checks if the supplied parameters fits the requirements of each PDI strategy.

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 TePDIStrategy.

bool TePDIPrincoMixModelStrategy::Implementation | ( | const TePDIParameters & | params | ) | `[protected, virtual]`

Runs the algorithm implementation.

Returns:
  true if OK. false on errors.

Implements TePDIStrategy.

## Friends And Related Function Documentation

friend class TePDIPrincoMixModelSF`[friend]`

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines