|
OpenJPEG 1.5.2
|
Implementation of a multi-component transforms (MCT). More...
Go to the source code of this file.
Functions | |
Exported functions | |
| void | mct_encode (int *c0, int *c1, int *c2, int n) |
| Apply a reversible multi-component transform to an image. | |
| void | mct_decode (int *c0, int *c1, int *c2, int n) |
| Apply a reversible multi-component inverse transform to an image. | |
| double | mct_getnorm (int compno) |
| Get norm of the basis function used for the reversible multi-component transform. | |
| void | mct_encode_real (int *c0, int *c1, int *c2, int n) |
| Apply an irreversible multi-component transform to an image. | |
| void | mct_decode_real (float *c0, float *c1, float *c2, int n) |
| Apply an irreversible multi-component inverse transform to an image. | |
| double | mct_getnorm_real (int compno) |
| Get norm of the basis function used for the irreversible multi-component transform. | |
Implementation of a multi-component transforms (MCT).
The functions in MCT.C have for goal to realize reversible and irreversible multicomponent transform. The functions in MCT.C are used by some function in TCD.C.
| void mct_decode | ( | int * | c0, |
| int * | c1, | ||
| int * | c2, | ||
| int | n ) |
Apply a reversible multi-component inverse transform to an image.
| c0 | Samples for luminance component |
| c1 | Samples for red chrominance component |
| c2 | Samples for blue chrominance component |
| n | Number of samples for each component |
| void mct_decode_real | ( | float * | c0, |
| float * | c1, | ||
| float * | c2, | ||
| int | n ) |
Apply an irreversible multi-component inverse transform to an image.
| c0 | Samples for luminance component |
| c1 | Samples for red chrominance component |
| c2 | Samples for blue chrominance component |
| n | Number of samples for each component |
| void mct_encode | ( | int * | c0, |
| int * | c1, | ||
| int * | c2, | ||
| int | n ) |
Apply a reversible multi-component transform to an image.
| c0 | Samples for red component |
| c1 | Samples for green component |
| c2 | Samples blue component |
| n | Number of samples for each component |
| void mct_encode_real | ( | int * | c0, |
| int * | c1, | ||
| int * | c2, | ||
| int | n ) |
Apply an irreversible multi-component transform to an image.
| c0 | Samples for red component |
| c1 | Samples for green component |
| c2 | Samples blue component |
| n | Number of samples for each component |
| double mct_getnorm | ( | int | compno | ) |
Get norm of the basis function used for the reversible multi-component transform.
| compno | Number of the component (0->Y, 1->U, 2->V) |
References mct_norms.
Referenced by t1_getwmsedec().
| double mct_getnorm_real | ( | int | compno | ) |
Get norm of the basis function used for the irreversible multi-component transform.
| compno | Number of the component (0->Y, 1->U, 2->V) |
References mct_norms_real.
Referenced by t1_getwmsedec().