TurboWavelets.Net
Compact C# Implementation for very fast and flexible wavelet transformations
 All Classes Namespaces Functions Variables Properties
Public Member Functions | Protected Member Functions | Protected Attributes
TurboWavelets.HaarWavelet2D Class Reference

Implements the two dimensional haar wavelet transformation for arbitrary sizes. More...

Inheritance diagram for TurboWavelets.HaarWavelet2D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HaarWavelet2D (int width, int height)
 A fast implementation of a two-dimensional haar transformation for arbitary lenghts (works for all sizes, not just power of 2) The implementation takes advantage of multiple CPU cores.
 HaarWavelet2D (int width, int height, int minSize)
 A fast implementation of a two-dimensional haar transformation for arbitary lenghts (works for all sizes, not just power of 2) The implementation takes advantage of multiple CPU cores.

Protected Member Functions

override void TransformRow (float[,] src, float[,] dst, int y, int length)
 Performs a single horizontal transformation (transformation of a single row)
override void TransformCol (float[,] src, float[,] dst, int x, int length)
 Performs a single vertical transformation (transformation of a single column)
override void InvTransformRow (float[,] src, float[,] dst, int y, int length)
 Performs a single inverse horizontal transformation (transformation of a single row)
override void InvTransformCol (float[,] src, float[,] dst, int x, int length)
 Performs a single inverse vertical transformation (transformation of a single column)

Protected Attributes

const int AllowedMinSize = 2
 The allowed minimum transformation (limitation of the algorithmn implementation) </supmmary>
const float Scale = 2.0f
 scale factor
const float InvScale = 0.5f
 inverse scale factor
const float Mean = 0.5f
 factor for the mean of two values
const float InvMean = 2.0f
 inverse factor for the mean of two values

Detailed Description

Implements the two dimensional haar wavelet transformation for arbitrary sizes.

Definition at line 34 of file HaarWavelet2D.cs.


Constructor & Destructor Documentation

TurboWavelets.HaarWavelet2D.HaarWavelet2D ( int  width,
int  height 
)

A fast implementation of a two-dimensional haar transformation for arbitary lenghts (works for all sizes, not just power of 2) The implementation takes advantage of multiple CPU cores.

Parameters:
widthThe width of the transformation
heightThe width of the transformation

Definition at line 64 of file HaarWavelet2D.cs.

TurboWavelets.HaarWavelet2D.HaarWavelet2D ( int  width,
int  height,
int  minSize 
)

A fast implementation of a two-dimensional haar transformation for arbitary lenghts (works for all sizes, not just power of 2) The implementation takes advantage of multiple CPU cores.

Parameters:
widthThe width of the transformation
heightThe width of the transformation
minSizeMinimum width/height up to the transformation should be applied

Definition at line 77 of file HaarWavelet2D.cs.


Member Function Documentation

override void TurboWavelets.HaarWavelet2D.InvTransformCol ( float  src[,],
float  dst[,],
int  x,
int  length 
) [protected, virtual]

Performs a single inverse vertical transformation (transformation of a single column)

Parameters:
src2d float array on which should be used as source for the transformation
dst2d float array on which should be used as destination for the transformation
xindex of the row which should be transformed
lengthnumber of entries to transform

Reimplemented from TurboWavelets.Wavelet2D.

Definition at line 159 of file HaarWavelet2D.cs.

override void TurboWavelets.HaarWavelet2D.InvTransformRow ( float  src[,],
float  dst[,],
int  y,
int  length 
) [protected, virtual]

Performs a single inverse horizontal transformation (transformation of a single row)

Parameters:
src2d float array on which should be used as source for the transformation
dst2d float array on which should be used as destination for the transformation
yindex of the row which should be transformed
lengthnumber of entries to transform

Reimplemented from TurboWavelets.Wavelet2D.

Definition at line 135 of file HaarWavelet2D.cs.

override void TurboWavelets.HaarWavelet2D.TransformCol ( float  src[,],
float  dst[,],
int  x,
int  length 
) [protected, virtual]

Performs a single vertical transformation (transformation of a single column)

Parameters:
src2d float array on which should be used as source for the transformation
dst2d float array on which should be used as destination for the transformation
xindex of the row which should be transformed
lengthnumber of entries to transform

Reimplemented from TurboWavelets.Wavelet2D.

Definition at line 109 of file HaarWavelet2D.cs.

override void TurboWavelets.HaarWavelet2D.TransformRow ( float  src[,],
float  dst[,],
int  y,
int  length 
) [protected, virtual]

Performs a single horizontal transformation (transformation of a single row)

Parameters:
src2d float array on which should be used as source for the transformation
dst2d float array on which should be used as destination for the transformation
yindex of the row which should be transformed
lengthnumber of entries to transform

Reimplemented from TurboWavelets.Wavelet2D.

Definition at line 83 of file HaarWavelet2D.cs.


Member Data Documentation

const float TurboWavelets.HaarWavelet2D.InvMean = 2.0f [protected]

inverse factor for the mean of two values

Definition at line 55 of file HaarWavelet2D.cs.

const float TurboWavelets.HaarWavelet2D.InvScale = 0.5f [protected]

inverse scale factor

Definition at line 47 of file HaarWavelet2D.cs.

const float TurboWavelets.HaarWavelet2D.Mean = 0.5f [protected]

factor for the mean of two values

Definition at line 51 of file HaarWavelet2D.cs.

const float TurboWavelets.HaarWavelet2D.Scale = 2.0f [protected]

scale factor

Definition at line 43 of file HaarWavelet2D.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Properties