| 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
TePDISensorSimulator Class Reference
General purpose algorithms.

This is the class for simulating an image from a sensor. Given an image generated by sensor 1, with known ifov and eifovs, this class generates another image, as if it was generated by sensor 2, with another ifov and eifovs values. More...

`#include <TePDISensorSimulator.hpp>`

Inheritance diagram for TePDISensorSimulator:

List of all members.

## Public Types

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

## Public Member Functions

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

## Protected Member Functions

void | ResetState (const TePDIParameters &params)
bool | RunImplementation ()

## Detailed Description

This is the class for simulating an image from a sensor. Given an image generated by sensor 1, with known ifov and eifovs, this class generates another image, as if it was generated by sensor 2, with another ifov and eifovs values.

Author:
  Eliana Pantale�o <elianap@dpi.inpe.br>
  Emiliano F. Castejon <castejon@dpi.inpe.br>

Note:
  The general required parameters:

Parameters:

  input_raster | ( TePDITypes::TePDIRasterPtrType ) - The original input raster.
  channels | ( std::vector<int> ) - The band(s) to be simulated.
  output_raster | ( TePDITypes::TePDIRasterPtrType ) - The output raster.
  ifov_in | ( double ) - The ifov of the input raster.
  eifov_in_across | ( double ) - The eifov of the input raster across track.
  eifov_in_long | ( double ) - The eifov of the input raster long track.
  ifov_out | ( double ) - The ifov of the output raster.
  eifov_out_across | ( double ) - The eifov of the output raster across track.
  eifov_out_long | ( double ) - The eifov of the output raster long track.

Note:
  Optional parameters:

Parameters:

  interpolator | (TePDIInterpolator::NNMethod) - The interpolation method to use when raster resampling is needed (default:TePDIInterpolator::BicubicMethod).

Examples:

  TePDISensorSimulator_test.cpp.

## Member Typedef Documentation

typedef const TeSharedPtr< TePDISensorSimulator> TePDISensorSimulator::const_pointer

Type definition for a const algorithm instance pointer.

Reimplemented from TePDIAlgorithm.

typedef TeSharedPtr< TePDISensorSimulator > TePDISensorSimulator::pointer

Type definition for an algorithm instance pointer.

Reimplemented from TePDIAlgorithm.

## Constructor & Destructor Documentation

TePDISensorSimulator::TePDISensorSimulator | ( |  | ) |

Default Constructor.

TePDISensorSimulator::~TePDISensorSimulator | ( |  | ) |

Default Destructor

## Member Function Documentation

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

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines