<?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 Rmoving the Alpha channel from an RGB in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934568#M17081</link>
    <description>&lt;DIV&gt;I have RGBs with an alpha channel to do some blending (using ippiAlphaComp_8u_AC4R). After the blending is done I need to convert the output rgb into yuv4:2:0. I don't care if I lose the alpha channel during this process.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Currently, I'm removing the alpha channel by walking through the RGB and copying only the RGB into a new buffer. There must be a better way.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
    <pubDate>Fri, 14 Apr 2006 13:13:41 GMT</pubDate>
    <dc:creator>brian_barber</dc:creator>
    <dc:date>2006-04-14T13:13:41Z</dc:date>
    <item>
      <title>Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934568#M17081</link>
      <description>&lt;DIV&gt;I have RGBs with an alpha channel to do some blending (using ippiAlphaComp_8u_AC4R). After the blending is done I need to convert the output rgb into yuv4:2:0. I don't care if I lose the alpha channel during this process.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Currently, I'm removing the alpha channel by walking through the RGB and copying only the RGB into a new buffer. There must be a better way.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Apr 2006 13:13:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934568#M17081</guid>
      <dc:creator>brian_barber</dc:creator>
      <dc:date>2006-04-14T13:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934569#M17082</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you can consider to useIPP functions like ippiBGRToYCbCr411_8u_AC4P3R or ippiBGRToYCbCr420_8u_AC4P3R&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2006 03:38:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934569#M17082</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-04-18T03:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934570#M17083</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I guess I'm not 100% sure. I need the image to be in YUV420 format so I've been using calls like ippiRGBToYUV420. Is there much of a difference b/w YUV420 and YCbCr420?&lt;/P&gt;&lt;P&gt;Perhaps I'm doing something wrong but I can'ty get ippiBGRToYCbCr420_8u_AC4P3R to compile. "error C3861: 'ippiBGRToYCbCr420_8u_AC4P3R': identifier not found, even with argument-dependent lookup". ??&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2006 23:12:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934570#M17083</guid>
      <dc:creator>brian_barber</dc:creator>
      <dc:date>2006-04-19T23:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934571#M17084</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I found and fixed my compile problem. It works but the resulting image is more "washed-out" than if I removed the alpha channel using ippiCopy_8u_AC4C3R and then converted using ippiRGBToYUV420_8u_C3P3R. Do you have a guess why this might be?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2006 13:16:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934571#M17084</guid>
      <dc:creator>brian_barber</dc:creator>
      <dc:date>2006-04-20T13:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934572#M17085</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Brian,&lt;/P&gt;
&lt;P&gt;what do you mean under "washed-out"? Could you please attache sample of incorrect frame (and correct one if you have).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2006 20:01:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934572#M17085</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-04-20T20:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934573#M17086</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;I attached my code as blend_snippet&lt;/P&gt;&lt;P&gt;The "washed out" bitmap (output_ycbcr.bmp)was created using ippiBGRToYCbCr420_8u_AC4P3R&lt;/P&gt;&lt;P&gt;The other bitmap (output_copy_removes_alpha.bmp) uses a copy to remove the alpha and then converts using ippiRGBToYUV420_8u_C3P3R.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2006 00:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934573#M17086</guid>
      <dc:creator>brian_barber</dc:creator>
      <dc:date>2006-04-21T00:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934574#M17087</link>
      <description>&lt;DIV&gt;Yes, I see, it was a bad idea, sorry. The reason is that in second case you convert from BGR to YCbCr and after that from YUV to RGB, but these functions use different equations to calculate out pixels (you can see IPP manual or ippcc.h file for the details)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;// Y = 0.257*R' + 0.504*G' + 0.098*B' + 16&lt;BR /&gt;// Cb = -0.148*R' - 0.291*G' + 0.439*B' + 128&lt;BR /&gt;// Cr = 0.439*R' - 0.368*G' - 0.071*B' + 128&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;// Y' = 0.299*R' + 0.587*G' + 0.114*B'&lt;BR /&gt;// U = -0.147*R' - 0.289*G' + 0.436*B' = 0.492*(B' - Y' )&lt;BR /&gt;// V = 0.615*R' - 0.515*G' - 0.100*B' = 0.877*(R' - Y' )&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Please submit new functionality request if you fill that the first suggestion does not fit your needs.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Apr 2006 15:38:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934574#M17087</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-04-21T15:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rmoving the Alpha channel from an RGB</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934575#M17088</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;No problem. Thanks for the help</description>
      <pubDate>Fri, 21 Apr 2006 22:11:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Rmoving-the-Alpha-channel-from-an-RGB/m-p/934575#M17088</guid>
      <dc:creator>brian_barber</dc:creator>
      <dc:date>2006-04-21T22:11:59Z</dc:date>
    </item>
  </channel>
</rss>

