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.Biorthogonal53Wavelet2D Class Reference

Implements the two dimensional biorthogonal 5/3 wavelet transformation for arbitrary sizes. More...

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

List of all members.

Public Member Functions

 Biorthogonal53Wavelet2D (int width, int height)
 A fast implementation of a two-dimensional biorthogonal 5/3 wavelet transformation for arbitary lenghts (works for all sizes, not just power of 2) using the lifting scheme. The implementation takes advantage of multiple CPU cores.
 Biorthogonal53Wavelet2D (int width, int height, int minSize)
 Initalizes a two dimensional wavelet transformation.

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 = 3
 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
const float Smooth = 0.25f
 fraction of high-pass added to low-pass (smoothing)
const float InvSmooth = 4.0f
 inverse fraction of high-pass added to low-pass (smoothing)

Detailed Description

Implements the two dimensional biorthogonal 5/3 wavelet transformation for arbitrary sizes.

Definition at line 34 of file Biorthogonal53Wavelet2D.cs.


Constructor & Destructor Documentation

A fast implementation of a two-dimensional biorthogonal 5/3 wavelet transformation for arbitary lenghts (works for all sizes, not just power of 2) using the lifting scheme. The implementation takes advantage of multiple CPU cores.

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

Definition at line 72 of file Biorthogonal53Wavelet2D.cs.

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

Initalizes a two dimensional wavelet transformation.

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

Definition at line 83 of file Biorthogonal53Wavelet2D.cs.


Member Function Documentation

override void TurboWavelets.Biorthogonal53Wavelet2D.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 252 of file Biorthogonal53Wavelet2D.cs.

override void TurboWavelets.Biorthogonal53Wavelet2D.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 192 of file Biorthogonal53Wavelet2D.cs.

override void TurboWavelets.Biorthogonal53Wavelet2D.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 141 of file Biorthogonal53Wavelet2D.cs.

override void TurboWavelets.Biorthogonal53Wavelet2D.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 89 of file Biorthogonal53Wavelet2D.cs.


Member Data Documentation

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

inverse factor for the mean of two values

Definition at line 55 of file Biorthogonal53Wavelet2D.cs.

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

inverse scale factor

Definition at line 47 of file Biorthogonal53Wavelet2D.cs.

const float TurboWavelets.Biorthogonal53Wavelet2D.InvSmooth = 4.0f [protected]

inverse fraction of high-pass added to low-pass (smoothing)

Definition at line 63 of file Biorthogonal53Wavelet2D.cs.

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

factor for the mean of two values

Definition at line 51 of file Biorthogonal53Wavelet2D.cs.

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

scale factor

Definition at line 43 of file Biorthogonal53Wavelet2D.cs.

const float TurboWavelets.Biorthogonal53Wavelet2D.Smooth = 0.25f [protected]

fraction of high-pass added to low-pass (smoothing)

Definition at line 59 of file Biorthogonal53Wavelet2D.cs.


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