#include <UT_Wavelet.h>
Definition at line 29 of file UT_Wavelet.h.
| static void UT_Wavelet::computePowerSpectrum | ( | const UT_VoxelArrayF & | wavelets, | |
| UT_VoxelArrayF & | dest, | |||
| int | level | |||
| ) | [static] |
Computes the power of the given level of a packed voxel array. level 0 is the first set of detail coefficients. This corresponds to computing the power for a single frequency - this is the sum of squares of the detail coefficients.
| static void UT_Wavelet::extractComponent | ( | const UT_VoxelArrayF & | wavelets, | |
| UT_VoxelArrayF & | dest, | |||
| int | level, | |||
| int | component | |||
| ) | [static] |
Extracts one of the subfields from a packed wavelet. All subfields have the rounded-up size so are the same dimension - missing wavelet coefficients are set to 0. The zeroth component is the low pass filter and only is valid if the packed pyramid was stopped at that level. level 0 is the first set of detail coefficients.
| static void UT_Wavelet::inverseTransformOrdered | ( | WAVELET_NAMES | wavelettype, | |
| const UT_VoxelArrayF & | source, | |||
| UT_VoxelArrayF & | dest, | |||
| int | maxlevels = -1 | |||
| ) | [static] |
| static void UT_Wavelet::inverseTransformOrdered | ( | WAVELET_NAMES | wavelettype, | |
| const UT_FloatArray & | source, | |||
| UT_FloatArray & | dest, | |||
| int | maxlevels = -1 | |||
| ) | [static] |
| static void UT_Wavelet::inverseTransformOrderedOnePass | ( | WAVELET_NAMES | wavelettype, | |
| const UT_FloatArray & | wavelets, | |||
| UT_FloatArray & | data | |||
| ) | [static] |
| static void UT_Wavelet::inverseTransformOrderedOnePassHaar | ( | const UT_FloatArray & | wavelets, | |
| UT_FloatArray & | data | |||
| ) | [static] |
| static void UT_Wavelet::transformOrdered | ( | WAVELET_NAMES | wavelettype, | |
| const UT_VoxelArrayF & | source, | |||
| UT_VoxelArrayF & | dest, | |||
| int | maxlevels = -1 | |||
| ) | [static] |
| static void UT_Wavelet::transformOrdered | ( | WAVELET_NAMES | wavelettype, | |
| const UT_FloatArray & | source, | |||
| UT_FloatArray & | dest, | |||
| int | maxlevels = -1 | |||
| ) | [static] |
These functions build a packed pyramid of coefficients or, for inverse, unpack it. The VoxelArray variants work on 3d arrays but can also be used for 2d arrrays by setting one of the dimensions to 1.
| static void UT_Wavelet::transformOrderedOnePass | ( | WAVELET_NAMES | wavelettype, | |
| const UT_FloatArray & | source, | |||
| UT_FloatArray & | wavelets | |||
| ) | [static] |
Performs a single pass of the given wavelet transform Does an ordered transform, so is not in place.
| static void UT_Wavelet::transformOrderedOnePassHaar | ( | const UT_FloatArray & | source, | |
| UT_FloatArray & | wavelets | |||
| ) | [static] |
Specific wavelet implementations.
1.5.9