Community
cancel
Showing results for 
Search instead for 
Did you mean: 
gangli59
Beginner
86 Views

ippiResize for GRAY to RGBA

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
86 Views

There is no such single function in IPP

Vladimir
Martin_B_4
Beginner
86 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
86 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
86 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
86 Views

Hi,

IPP 7.0 has included ippiDup_8u_C1C4R function.

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