<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need an example on ippiAlphaComp in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957683#M19278</link>
    <description>&lt;P&gt;Hi,I also tired to compose 4 images(YUV420,cif) to a new image(YUV420,4cif),I wanted each image display a quarter in new image.&lt;/P&gt;
&lt;P&gt;But I don't know how to do it by IPP lib.Can ereryone tell me?Thank you very much!&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jun 2008 03:50:22 GMT</pubDate>
    <dc:creator>jiangdingfeng</dc:creator>
    <dc:date>2008-06-24T03:50:22Z</dc:date>
    <item>
      <title>Need an example on ippiAlphaComp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957681#M19276</link>
      <description>Hi,&lt;BR /&gt;I have 2 32bit ( 4channels ) images.&lt;BR /&gt;&lt;BR /&gt;I tried to compose a new image, I wanted the first image will be the background the second will be a semi transparent foregroung.&lt;BR /&gt;&lt;BR /&gt;Everything I did, didn't work.&lt;BR /&gt;&lt;BR /&gt;Any code example somewhere ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Udi Raz</description>
      <pubDate>Wed, 14 Dec 2005 17:58:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957681#M19276</guid>
      <dc:creator>udi</dc:creator>
      <dc:date>2005-12-14T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need an example on ippiAlphaComp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957682#M19277</link>
      <description>&lt;P&gt;Dear Udi,&lt;/P&gt;
&lt;P&gt;could you please take a look on IPP manual you get within IPP installation? For example, ippiman.pdf, chapter5 Image Arithmetic and Logical Operations, article Alpha Composition describes in some details ippiAlphaComp functions and contains simple sample how to call this function:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;IppStatus acomp( void ) {
Ipp8u imga[8*8], imgb[8*8], imgc[8*8];
IppiSize roi = { 8, 8 };
IppStatus st;
ippiImageRamp_8u_C1R( imga, 8, roi, 0, 1, ippAxsHorizontal );
ippiImageRamp_8u_C1R( imgb, 8, roi, 0, 2, ippAxsHorizontal );
st = ippiAlphaCompC_8u_C1R( imga, 8, 255/3, imgb, 8, 255, imgc, 8, roi,
ippAlphaOver );
printf( "over: a=%d,A=255/3; b=%d,B=255; c=%d //
c=a*A+b*(1-A)*B
",imga[6],imgb[6],imgc[6] );
return st;
}
Output
over: a=6,A=255/3; b=12,B=255; c=10 // c=a*A+b*B*(1-A)&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Dec 2005 02:46:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957682#M19277</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-12-17T02:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need an example on ippiAlphaComp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957683#M19278</link>
      <description>&lt;P&gt;Hi,I also tired to compose 4 images(YUV420,cif) to a new image(YUV420,4cif),I wanted each image display a quarter in new image.&lt;/P&gt;
&lt;P&gt;But I don't know how to do it by IPP lib.Can ereryone tell me?Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2008 03:50:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957683#M19278</guid>
      <dc:creator>jiangdingfeng</dc:creator>
      <dc:date>2008-06-24T03:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need an example on ippiAlphaComp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957684#M19279</link>
      <description>&lt;P&gt;It seems for me that you are talking about different thing. As far as I get it you want to copy four small images in one place in such a way to form new and bigger image rather than do alpha blending, discussed in this thread. Is that correct?&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:44:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Need-an-example-on-ippiAlphaComp/m-p/957684#M19279</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-06-24T13:44:27Z</dc:date>
    </item>
  </channel>
</rss>

