OpenJPEG  1.5.1
MCT - Implementation of a multi-component transform

Exported functions

void mct_encode (int *c0, int *c1, int *c2, int n)
 Apply a reversible multi-component transform to an image. More...
 
void mct_decode (int *c0, int *c1, int *c2, int n)
 Apply a reversible multi-component inverse transform to an image. More...
 
double mct_getnorm (int compno)
 Get norm of the basis function used for the reversible multi-component transform. More...
 
void mct_encode_real (int *c0, int *c1, int *c2, int n)
 Apply an irreversible multi-component transform to an image. More...
 
void mct_decode_real (float *c0, float *c1, float *c2, int n)
 Apply an irreversible multi-component inverse transform to an image. More...
 
double mct_getnorm_real (int compno)
 Get norm of the basis function used for the irreversible multi-component transform. More...
 

Detailed Description

Function Documentation

void mct_decode ( int *  c0,
int *  c1,
int *  c2,
int  n 
)

Apply a reversible multi-component inverse transform to an image.

Parameters
c0Samples for luminance component
c1Samples for red chrominance component
c2Samples for blue chrominance component
nNumber 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.

Parameters
c0Samples for luminance component
c1Samples for red chrominance component
c2Samples for blue chrominance component
nNumber 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.

Parameters
c0Samples for red component
c1Samples for green component
c2Samples blue component
nNumber 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.

Parameters
c0Samples for red component
c1Samples for green component
c2Samples blue component
nNumber of samples for each component
double mct_getnorm ( int  compno)

Get norm of the basis function used for the reversible multi-component transform.

Parameters
compnoNumber of the component (0->Y, 1->U, 2->V)
Returns

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.

Parameters
compnoNumber of the component (0->Y, 1->U, 2->V)
Returns

References mct_norms_real.

Referenced by t1_getwmsedec().