| 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 | Protected Attributes
TePDIBufferedFilter Class Reference
Filtering algorithms.

This is the base class for buffer based filters. More...

`#include <TePDIBufferedFilter.hpp>`

Inheritance diagram for TePDIBufferedFilter:

List of all members.

## Public Types

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

## Public Member Functions

virtual | ~TePDIBufferedFilter ()
| Default Destructor.

## Protected Member Functions

| TePDIBufferedFilter ()
| Default Constructor.
virtual void | ResetState (const TePDIParameters &params)
| Reset the internal state to the initial state.
void | init_conv_buf ()
| Initiates the convolution buffer.
void | init_maskmatrix ()
| Initiates the internal filter mask matrix representation.
void | reset_conv_buf (unsigned int lines, unsigned int columns)
| Resets the convolution buffer.
void | reset_maskmatrix (TePDIFilterMask::pointer &mask)
| Resets the internal filter mask matrix representation..
void | up_conv_buf (TePDITypes::TePDIRasterPtrType &inRaster, unsigned int line, unsigned int band)
| Updates the convolution buffer with a new raster line.
void | conv_buf_estatistics (unsigned int start_line, unsigned int start_column, unsigned int width, unsigned int height, double &mean, double &variance)
| Generates statistics of a suplied window inside the convolution buffer.
void | conv_buf_roolup (unsigned int count)
| Rools up the convolution buffer count lines.

## Protected Attributes

double ** | conv_buf_
| Convolution Buffer.
unsigned int | conv_buf_lines_
| Convolution Buffer lines.
unsigned int | conv_buf_columns_
| Convolution Buffer columns.
double ** | temp_maskmatrix_
| Temporary representation of filter masks.
unsigned int | temp_maskmatrix_lines_
| Number of lines of the temporary representation of filter masks.
unsigned int | temp_maskmatrix_columns_
| Number of columns of the temporary representation of filter masks.

## Detailed Description

This is the base class for buffer based filters.

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

## Member Typedef Documentation

typedef const TeSharedPtr< TePDIBufferedFilter > TePDIBufferedFilter::const_pointer

Type definition for a const algorithm instance pointer.

Reimplemented from TePDIAlgorithm.

Reimplemented in TePDILinearFilter, TePDIRadarFilter, TePDIRadarFrostFilter, TePDIRadarGammaFilter, TePDIRadarKuanFilter, and TePDIRadarLeeFilter.

typedef TeSharedPtr< TePDIBufferedFilter > TePDIBufferedFilter::pointer

Type definition for an algorithm instance pointer.

Reimplemented from TePDIAlgorithm.

Reimplemented in TePDILinearFilter, TePDIRadarFilter, TePDIRadarFrostFilter, TePDIRadarGammaFilter, TePDIRadarKuanFilter, and TePDIRadarLeeFilter.

## Constructor & Destructor Documentation

TePDIBufferedFilter::~TePDIBufferedFilter | ( |  | ) | `[virtual]`

Default Destructor.

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

Default Constructor.

## Member Function Documentation

void TePDIBufferedFilter::conv_buf_estatistics | ( | unsigned int | start_line,
|  | unsigned int | start_column,
|  | unsigned int | width,
|  | unsigned int | height,
|  | double & | mean,
|  | double & | variance
| ) |  | `[protected]`

Generates statistics of a suplied window inside the convolution buffer.

Parameters:

  start_line | Convolution buffer start line.
  start_column | Convolution buffer start column.
  width | Window width.
  height | Window height.
  mean | Mean.
  variance | variance.

void TePDIBufferedFilter::conv_buf_roolup | ( | unsigned int | count | ) | `[protected]`

Rools up the convolution buffer count lines.

Parameters:

  count | Count times to rool convolution buffer.

void TePDIBufferedFilter::init_conv_buf | ( |  | ) | `[protected]`

Initiates the convolution buffer.

void TePDIBufferedFilter::init_maskmatrix | ( |  | ) | `[protected]`

Initiates the internal filter mask matrix representation.

void TePDIBufferedFilter::reset_conv_buf | ( | unsigned int | lines,
|  | unsigned int | columns
| ) |  | `[protected]`

Resets the convolution buffer.

Parameters:

  lines | Convolution buffer lines.
  columns | Convolution buffer columns.

void TePDIBufferedFilter::reset_maskmatrix | ( | TePDIFilterMask::pointer & | mask | ) | `[protected]`

Resets the internal filter mask matrix representation..

Parameters:

  mask | The new filter Mask.

void TePDIBufferedFilter::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.

Reimplemented in TePDIBDFilter, TePDILinearFilter, TePDIMorfFilter, TePDIRadarFilter, TePDIRadarFrostFilter, TePDIRadarGammaFilter, TePDIRadarKuanFilter, and TePDIRadarLeeFilter.

void TePDIBufferedFilter::up_conv_buf | ( | TePDITypes::TePDIRasterPtrType & | inRaster,
|  | unsigned int | line,
|  | unsigned int | band
| ) |  | `[protected]`

Updates the convolution buffer with a new raster line.

Parameters:

  inRaster | Input Raster.
  line | Raster line.
  band | Raster band.

## Member Data Documentation

double** TePDIBufferedFilter::conv_buf_`[protected]`

Convolution Buffer.

unsigned int TePDIBufferedFilter::conv_buf_columns_`[protected]`

Convolution Buffer columns.

unsigned int TePDIBufferedFilter::conv_buf_lines_`[protected]`

Convolution Buffer lines.

double** TePDIBufferedFilter::temp_maskmatrix_`[protected]`

Temporary representation of filter masks.

unsigned int TePDIBufferedFilter::temp_maskmatrix_columns_`[protected]`

Number of columns of the temporary representation of filter masks.

unsigned int TePDIBufferedFilter::temp_maskmatrix_lines_`[protected]`

Number of lines of the temporary representation of filter masks.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines