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.
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.

Function Documentation

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

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

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
compno Number 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:
compno Number of the component (0->Y, 1->U, 2->V)
Returns:

References mct_norms_real.

Referenced by t1_getwmsedec().


Generated on Mon Dec 19 12:34:13 2016 for OpenJPEG by  doxygen 1.5.6