Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
6599 Discussions

How alphaType parameter works in ippiAlphaComp functions?

mleader1
Beginner
159 Views
Hello,

I'm trying to use AlphaComp function and AlphaPremul function to blend some images,

but I can't understand the exact meaning and use of alphaType parameter in AlphaComp functions.


There are image buffers A and B in 32bit RGBA and I used ippiAlphaPremul_8u_AC4IR function to buffer A.

I want to composite A into B, so I think I should use ippiAlphaComp_8u_AC1R function to blend the image.

Then how do I call this functions with alphaType parameter? (and other params too)


Can I get some sample codes about this function?

Thanks in advance,
0 Kudos
2 Replies
Gennady_F_Intel
Moderator
159 Views
Could you please look into this thread. it seems that the similar question has been already answered there.
--Gennady
mleader1
Beginner
159 Views
Thanks for your reply. I read that thread but..
Which I want to know is how to combine AlphaComp and AlphaPremul function.

In AlphaComp function, there are alphaType parameter.
What is difference of ippiAlphaOver value and ippiAlphaOverPremul values?
Should I use AlphaPremul'ed buffer to pSrc1 or pSrc2?
Reply