next up previous contents index
Next: cfgetchannels Up: Reference Previous: ccview   Contents   Index

cfchgchannels

$ \bigcirc$Name


cfchgchannels Convert a color float image from one coordinate system to another




$ \bigcirc$Command Synopsis


cfchgchannels [-c Conv] [-i] [-n] in out



-c Conv : 0:RGB-YUV (default), 1:RGB-HSI 2:RGB-HSV

-i : Perform inverse conversion

-n : Normalize channel to fit in [0,255]

in : Input cfimage

out : Output cfimage




$ \bigcirc$Function Summary


void cfchgchannels (Conv , Inverse , Norm , Image , TImage )

int *Conv ;

int *Inverse ;

int *Norm ;

Cfimage Image ;

Cfimage TImage ;




$ \bigcirc$Description


This module converts a color float image to another coordinate system. The default coordinate system is RGB, that is, three planes recording the Red, Green and Blue component. One can change the coordinate system to be YUV, following the CCIR 601-1 recommendation.

Be careful when converting an image from RGB to YUV : most modules dealing with color images are waiting RGB images and not YUV.




$ \bigcirc$See Also


cfezw, cfiezw, cfsharpen.


$ \bigcirc$Version 1.1


Last Modification date : Mon Feb 4 22:51:14 2002


$ \bigcirc$Author


Jean-Pierre D'Ales, Jacques Froment






next up previous contents index
Next: cfgetchannels Up: Reference Previous: ccview   Contents   Index
mw 2004-05-05