<?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 What is Alpha Channal? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891053#M11485</link>
    <description>&lt;BR /&gt;Hi folks&lt;BR /&gt;&lt;BR /&gt; i have some query about alpha channal.&lt;BR /&gt;&lt;BR /&gt;1. What is Alpha Channal?&lt;BR /&gt;&lt;BR /&gt;2. How did u get the Alpha channal from 24 bit image?&lt;BR /&gt;&lt;BR /&gt;3. How did u display the Alpha chanal image using Ippi?&lt;BR /&gt;&lt;BR /&gt;4. How did u transparent two image(one is normal image 24 bit and another one is 32 bit alpha channal image).&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;Guna&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Jan 2007 12:42:36 GMT</pubDate>
    <dc:creator>gunacse</dc:creator>
    <dc:date>2007-01-04T12:42:36Z</dc:date>
    <item>
      <title>What is Alpha Channal?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891053#M11485</link>
      <description>&lt;BR /&gt;Hi folks&lt;BR /&gt;&lt;BR /&gt; i have some query about alpha channal.&lt;BR /&gt;&lt;BR /&gt;1. What is Alpha Channal?&lt;BR /&gt;&lt;BR /&gt;2. How did u get the Alpha channal from 24 bit image?&lt;BR /&gt;&lt;BR /&gt;3. How did u display the Alpha chanal image using Ippi?&lt;BR /&gt;&lt;BR /&gt;4. How did u transparent two image(one is normal image 24 bit and another one is 32 bit alpha channal image).&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;Guna&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2007 12:42:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891053#M11485</guid>
      <dc:creator>gunacse</dc:creator>
      <dc:date>2007-01-04T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is Alpha Channal?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891054#M11486</link>
      <description>1.&lt;BR /&gt;The alpha channel specifies per-pixel transparancy. In the 8bit case, if a pixel has an alpha channel value of 255, it is completely opaque. If the alpha channel is 0 it is completely transparant (invisible)&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;A 24 bit image only has 3 channels (3 * 8 bits): Red, green and blue (RGB). Thus, there is no alphachannel in a 24 bit image... Images with alpha channels are 32bit per sample (4 * 8bits): Red, green, blue and alpha (RGBA)&lt;BR /&gt;&lt;BR /&gt;3.&lt;BR /&gt;Im not sure I understand the question?... As such, you cannot display an image using IPP, you can, however, isolate the alpha channel in a single-channel image. Take a look at the &lt;I&gt;ippiCopy &lt;/I&gt;function.&lt;BR /&gt;&lt;BR /&gt;4.&lt;BR /&gt;If I understand you correctly, you need to overlay an image WITH alpha channel ontop of an image WITHOUT alpha channel...&lt;BR /&gt;I am not sure that there are IPP functions for this purpose, but its relatively easy to write your own function for this...&lt;BR /&gt;Lets call the 24 bit image &lt;FONT face="Courier New"&gt;im1 &lt;/FONT&gt;and the 32bit image &lt;FONT face="Courier New"&gt;im2&lt;/FONT&gt;... The resulting "blended" 24 bit image is &lt;FONT face="Courier New"&gt;res&lt;/FONT&gt;. You can overlay &lt;FONT face="Courier New"&gt;im1 &lt;/FONT&gt;and &lt;FONT face="Courier New"&gt;im2 &lt;/FONT&gt;by doing the following foreach pixel:&lt;BR /&gt;&lt;FONT face="Courier New"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;// Blend red channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="Courier New"&gt;int r = im1[0] * im2[3] + im2[0] * (255 - im2[3]); &lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;// Blend green channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="Courier New"&gt;int g = im1[1] * im2[3] + im2[1] * (255 - im2[3]); &lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;// Blend blue channel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="Courier New"&gt;int b = im1[2] * im2[3] + im2[2] * (255 - im2[3]); &lt;BR /&gt;&lt;BR /&gt;// Scale values to 0-255&lt;BR /&gt;res[0] = r &amp;gt;&amp;gt; 8;&lt;BR /&gt;res[1] = g &amp;gt;&amp;gt; 8;&lt;BR /&gt;res[2] = b &amp;gt;&amp;gt; 8;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;Thomas Lund Dideriksen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:12:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891054#M11486</guid>
      <dc:creator>tld</dc:creator>
      <dc:date>2007-01-04T17:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is Alpha Channal?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891055#M11487</link>
      <description>&lt;BR /&gt;hi&lt;BR /&gt;&lt;BR /&gt; how can i get 32 bit image from 24 it image or how can i convert 24 bit image to 32 bit image. 32 bit image means 4 channal? i used ippiconvert and ippiscale ippi function it does not work. can u help me..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Guna&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jan 2007 18:46:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891055#M11487</guid>
      <dc:creator>gunacse</dc:creator>
      <dc:date>2007-01-05T18:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is Alpha Channal?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891056#M11488</link>
      <description>You should probably take a look at &lt;I&gt;ippiCopy... &lt;/I&gt;it will do the trick.&lt;BR /&gt;&lt;BR /&gt;Copy R, G, and B channels to the 4 channel image (maybe this requires 3 separate calls to ippiCopy?).&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jan 2007 20:17:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891056#M11488</guid>
      <dc:creator>tld</dc:creator>
      <dc:date>2007-01-05T20:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is Alpha Channal?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891057#M11489</link>
      <description>&lt;P&gt;there are functions which can copy pixel-interleaved 3 channel image to pixel-interleaved 4-channel image and vice versa with one call.&lt;/P&gt;
&lt;P&gt;IPPAPI( IppStatus, ippiCopy_8u_AC4C3R,&lt;BR /&gt; ( const Ipp8u* pSrc, int srcStep,&lt;BR /&gt; Ipp8u* pDst, int dstStep, IppiSize roiSize ))&lt;BR /&gt;IPPAPI( IppStatus, ippiCopy_8u_C3AC4R,&lt;BR /&gt; ( const Ipp8u* pSrc, int srcStep,&lt;BR /&gt; Ipp8u* pDst, int dstStep, IppiSize roiSize ))&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2007 03:49:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/What-is-Alpha-Channal/m-p/891057#M11489</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-01-12T03:49:34Z</dc:date>
    </item>
  </channel>
</rss>

