8bit and 16bit C1R to C3R

8bit and 16bit C1R to C3R

imagem de coolshashi

Hello 

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 ?

Shashi

3 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de Chao Y (Intel)

Shanshi,
For the conversion, do you just want copy the gray image data into the RGB channel? You can check the following function:
ippiDup_8u_C1C3R

For 16bit gray image, it can first convert to 8 bit, then call the ippiDup_8u_C1C3R function.

Thanks,
Chao

imagem de coolshashi

Thanks. That was helpful answer. 

Faça login para deixar um comentário.