Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Avisos
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

ippiResize for GRAY to RGBA

gangli59
Principiante
1.085 Vistas

Does IPP lib have a function can take 8 bits gray scale image, and resizeit to a 32 bits RGBA image?

Currently, I call three functions to complish it. e.g.

ippiResize_8u_C1R

ippiDup_8u_C1C3R

ippiCopy_8u_C3AC4R

0 kudos
6 Respuestas
Vladimir_Dudnik
Empleados
1.085 Vistas
There is no such single function in IPP

Vladimir
Martin_B_4
Principiante
1.085 Vistas
There is no such single function in IPP

Vladimir
Would ippiDup_8u_C1C4R be efficient? This could be useful to copy a grayscale image to a 4-channel texture.
gangli59
Principiante
1.085 Vistas
Quoting - martin
Would ippiDup_8u_C1C4R be efficient? This could be useful to copy a grayscale image to a 4-channel texture.

Where can I find this function? In ippi.h, I can only find ippiDup_8u_C1C3R.
Vladimir_Dudnik
Empleados
1.085 Vistas
I think there is no ippiDup_8u_C1C4R function. I submitted this as a feature request to our data base. Thanks for suggesting this functionality

Regards,
Vladimir


Chao_Y_Intel
Moderador
1.085 Vistas
Hi,

IPP 7.0 has included ippiDup_8u_C1C4R function.

Thanks,
Chao
Naveen_G_Intel
Empleados
1.085 Vistas

Hi,

Chao is right; this is available in IPP 7.0. Basically this function copies a one-channel (gray scale) image to each channel of the multi-channel image.

Please refer to IPP Image processing manual and search for ippiDup_8u_C1C4R function.

Thanks,

Naveen Gv

Responder