| 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 | Protected Attributes
TePDICorrelationMatching::CorrThread Class Reference

Correlation thread class. More...

`#include <TePDICorrelationMatching.hpp>`

Inheritance diagram for TePDICorrelationMatching::CorrThread:

List of all members.

## Public Member Functions

| CorrThread (TePDIPIManager &progress, ImgMatrixT &bigMatrix, ImgMatrixT &smallMatrix, TeMutex &mutex, volatile unsigned int &nextLineToProcess, volatile bool &abortFlag, volatile bool &bestCorValueFound, volatile double &bestCorValue, volatile unsigned int &bestCorLine, volatile unsigned int &bestCorCol, double dummyValue)
| ~CorrThread ()
bool | getReturnValue () const

## Protected Member Functions

void | run ()
| Thread execution method: this method will be called when the thread starts. Subclasses must reimplement it.

## Protected Attributes

TePDIPIManager & | progress_
volatile bool | returnValue_
volatile bool & | abortFlag_
volatile bool & | bestCorValueFound_
volatile double & | bestCorValue_
volatile unsigned int & | bestCorLine_
volatile unsigned int & | bestCorCol_
volatile unsigned int & | nextLineToProcess_
double | dummyValue_
ImgMatrixT & | bigMatrix_
ImgMatrixT & | smallMatrix_
TeMutex & | mutex_

## Detailed Description

Correlation thread class.

## Constructor & Destructor Documentation

TePDICorrelationMatching::CorrThread::CorrThread | ( | TePDIPIManager & | progress,
|  | ImgMatrixT & | bigMatrix,
|  | ImgMatrixT & | smallMatrix,
|  | TeMutex & | mutex,
|  | volatile unsigned int & | nextLineToProcess,
|  | volatile bool & | abortFlag,
|  | volatile bool & | bestCorValueFound,
|  | volatile double & | bestCorValue,
|  | volatile unsigned int & | bestCorLine,
|  | volatile unsigned int & | bestCorCol,
|  | double | dummyValue
| ) |  | `[inline]`

TePDICorrelationMatching::CorrThread::~CorrThread | ( |  | ) | `[inline]`

## Member Function Documentation

bool TePDICorrelationMatching::CorrThread::getReturnValue | ( |  | ) | const`[inline]`

void TePDICorrelationMatching::CorrThread::run | ( |  | ) | `[protected, virtual]`

Thread execution method: this method will be called when the thread starts. Subclasses must reimplement it.

Implements TeThread.

## Member Data Documentation

volatile bool& TePDICorrelationMatching::CorrThread::abortFlag_`[protected]`

The abort flag to be checked/set when an error occurs.

volatile unsigned int& TePDICorrelationMatching::CorrThread::bestCorCol_`[protected]`

The line where the best correlation was found (upper left).

volatile unsigned int& TePDICorrelationMatching::CorrThread::bestCorLine_`[protected]`

The line where the best correlation was found (upper left).

volatile double& TePDICorrelationMatching::CorrThread::bestCorValue_`[protected]`

The best correlation value.

volatile bool& TePDICorrelationMatching::CorrThread::bestCorValueFound_`[protected]`

true if the best correlation value has been found.

ImgMatrixT& TePDICorrelationMatching::CorrThread::bigMatrix_`[protected]`

The biggest input matrix.

double TePDICorrelationMatching::CorrThread::dummyValue_`[protected]`

The no-data value

TeMutex& TePDICorrelationMatching::CorrThread::mutex_`[protected]`

The global mutex to use when reading input data.

volatile unsigned int& TePDICorrelationMatching::CorrThread::nextLineToProcess_`[protected]`

The next line to process.

TePDIPIManager& TePDICorrelationMatching::CorrThread::progress_`[protected]`

A reference to a prog ress instance.

volatile bool TePDICorrelationMatching::CorrThread::returnValue_`[protected]`

The return value for this thread instance execution ( true if ok, false on errors).

ImgMatrixT& TePDICorrelationMatching::CorrThread::smallMatrix_`[protected]`

The biggest input matrix.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines