I need to convert the following. How can I Do this in IPP ?
1) Convert an image that has 8bit grey scale (1 component) to 8 bit RGB (3 component) image ?
2) Convert an image that has 16bit grey scale (1 component) to 8 bit RGB (3 component) image ?
For the conversion, do you just want copy the gray image data into the RGB channel? You can check the following function:
For 16bit gray image, it can first convert to 8 bit, then call the ippiDup_8u_C1C3R function.