Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
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
Beginner
1,074 Views

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 Replies
Vladimir_Dudnik
Employee
1,074 Views
There is no such single function in IPP

Vladimir
0 Kudos
Martin_B_4
Beginner
1,074 Views
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.
0 Kudos
gangli59
Beginner
1,074 Views
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.
0 Kudos
Vladimir_Dudnik
Employee
1,074 Views
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


0 Kudos
Chao_Y_Intel
Moderator
1,074 Views
Hi,

IPP 7.0 has included ippiDup_8u_C1C4R function.

Thanks,
Chao
0 Kudos
Naveen_G_Intel
Employee
1,074 Views

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

0 Kudos
Reply