![]() |
TurboWavelets.Net
Compact C# Implementation for very fast and flexible wavelet transformations
|
Implements the two dimensional biorthogonal 5/3 wavelet transformation for arbitrary sizes. More...
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) |
Implements the two dimensional biorthogonal 5/3 wavelet transformation for arbitrary sizes.
Definition at line 34 of file Biorthogonal53Wavelet2D.cs.
TurboWavelets.Biorthogonal53Wavelet2D.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.
width | The width of the transformation |
height | The 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.
width | The width of the transformation |
height | The width of the transformation |
minSize | Minimum width/height up to the transformation should be applied |
Definition at line 83 of file Biorthogonal53Wavelet2D.cs.
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)
src | 2d float array on which should be used as source for the transformation |
dst | 2d float array on which should be used as destination for the transformation |
x | index of the row which should be transformed |
length | number 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)
src | 2d float array on which should be used as source for the transformation |
dst | 2d float array on which should be used as destination for the transformation |
y | index of the row which should be transformed |
length | number 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)
src | 2d float array on which should be used as source for the transformation |
dst | 2d float array on which should be used as destination for the transformation |
x | index of the row which should be transformed |
length | number 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)
src | 2d float array on which should be used as source for the transformation |
dst | 2d float array on which should be used as destination for the transformation |
y | index of the row which should be transformed |
length | number of entries to transform |
Reimplemented from TurboWavelets.Wavelet2D.
Definition at line 89 of file Biorthogonal53Wavelet2D.cs.
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.