Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

ippiResize for GRAY to RGBA

gangli59
Beginner
171 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
171 Views
There is no such single function in IPP

Vladimir
Martin_B_4
Beginner
171 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.
gangli59
Beginner
171 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.
Vladimir_Dudnik
Employee
171 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


Chao_Y_Intel
Employee
171 Views
Hi,

IPP 7.0 has included ippiDup_8u_C1C4R function.

Thanks,
Chao
Naveen_G_Intel
Employee
171 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

Reply