Class WaveletTransformOps
Functional interface for applying general purpose wavelet and inverse wavelet transforms.
A single level wavelet transform breaks the image up into four regions:
a | h |
v | d |
DO NOT MODIFY: This class was automatically generated by boofcv.alg.transform.wavelet.GenerateWaveletTransformOps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
inverse1
(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage, float minValue, float maxValue) Performs a single level inverse wavelet transform.static void
inverse1
(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage, int minValue, int maxValue) Performs a single level inverse wavelet transform.static void
inverseN
(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage, int numLevels, float minValue, float maxValue) Performs a level N inverse fast wavelet transform (FWT).static void
inverseN
(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage, int numLevels, int minValue, int maxValue) Performs a level N inverse fast wavelet transform (FWT).static void
transform1
(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage) Performs a single level wavelet transform.static void
transform1
(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage) Performs a single level wavelet transform.static void
transformN
(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage, int numLevels) Performs a level N wavelet transform using the fast wavelet transform (FWT).static void
transformN
(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage, int numLevels) Performs a level N wavelet transform using the fast wavelet transform (FWT).
-
Constructor Details
-
WaveletTransformOps
public WaveletTransformOps()
-
-
Method Details
-
transform1
public static void transform1(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage) Performs a single level wavelet transform.
- Parameters:
desc
- Description of the wavelet.input
- Input image. Not modified.output
- Where the wavelet transform is written to. Modified.storage
- Optional storage image. Should be the same size as output image. If null then an image is declared internally.
-
transformN
public static void transformN(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage, int numLevels) Performs a level N wavelet transform using the fast wavelet transform (FWT).
To save memory the input image is used to store intermediate results and is modified.
- Parameters:
desc
- Description of the wavelet.input
- Input image and is used as internal workspace. Modified.output
- Where the multilevel wavelet transform is written to. Modified.storage
- Optional storage image. Should be the same size as output image. If null then an image is declared internally.numLevels
- Number of levels which should be computed in the transform.
-
inverse1
public static void inverse1(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage, float minValue, float maxValue) Performs a single level inverse wavelet transform. Do not pass in a whole image which has been transformed by a multilevel transform. Just the relevant sub-image.
- Parameters:
desc
- Description of the inverse wavelet.input
- Input wavelet transform. Not modified.output
- Reconstruction of original image. Modified.storage
- Optional storage image. Should be the same size as the input image. If null then an image is declared internally.minValue
- Minimum allowed pixel valuemaxValue
- Maximum allowed pixel value
-
inverseN
public static void inverseN(WaveletDescription<WlCoef_F32> desc, GrayF32 input, GrayF32 output, GrayF32 storage, int numLevels, float minValue, float maxValue) Performs a level N inverse fast wavelet transform (FWT).
To save memory the input image is used to store intermediate results and is modified.
- Parameters:
desc
- Description of the inverse wavelet.input
- Input wavelet transform and is used as internal workspace. Modified.output
- Reconstruction of original image. Modified.storage
- Optional storage image. Should be the same size as the input image. If null then an image is declared internally.numLevels
- Number of levels in the transform.minValue
- Minimum allowed pixel valuemaxValue
- Maximum allowed pixel value
-
transform1
public static void transform1(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage) Performs a single level wavelet transform.
- Parameters:
desc
- Description of the wavelet.input
- Input image. Not modified.output
- Where the wavelet transform is written to. Modified.storage
- Optional storage image. Should be the same size as output image. If null then an image is declared internally.
-
transformN
public static void transformN(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage, int numLevels) Performs a level N wavelet transform using the fast wavelet transform (FWT).
To save memory the input image is used to store intermediate results and is modified.
- Parameters:
desc
- Description of the wavelet.input
- Input image and is used as internal workspace. Modified.output
- Where the multilevel wavelet transform is written to. Modified.storage
- Optional storage image. Should be the same size as output image. If null then an image is declared internally.numLevels
- Number of levels which should be computed in the transform.
-
inverse1
public static void inverse1(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage, int minValue, int maxValue) Performs a single level inverse wavelet transform. Do not pass in a whole image which has been transformed by a multilevel transform. Just the relevant sub-image.
- Parameters:
desc
- Description of the inverse wavelet.input
- Input wavelet transform. Not modified.output
- Reconstruction of original image. Modified.storage
- Optional storage image. Should be the same size as the input image. If null then an image is declared internally.minValue
- Minimum allowed pixel valuemaxValue
- Maximum allowed pixel value
-
inverseN
public static void inverseN(WaveletDescription<WlCoef_I32> desc, GrayS32 input, GrayS32 output, GrayS32 storage, int numLevels, int minValue, int maxValue) Performs a level N inverse fast wavelet transform (FWT).
To save memory the input image is used to store intermediate results and is modified.
- Parameters:
desc
- Description of the inverse wavelet.input
- Input wavelet transform and is used as internal workspace. Modified.output
- Reconstruction of original image. Modified.storage
- Optional storage image. Should be the same size as the input image. If null then an image is declared internally.numLevels
- Number of levels in the transform.minValue
- Minimum allowed pixel valuemaxValue
- Maximum allowed pixel value
-