<?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 Inverse alpha premultiplication in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Inverse-alpha-premultiplication/m-p/1634951#M28852</link>
    <description>&lt;P&gt;Working with images that have the alpha channel premultiplied over the color channels has compositioning benefits, but persistence of such images in PNG format requires undoing the premultiplication. As such I'm looking for something to reverse the effect of the AlphaPremul function.&lt;/P&gt;&lt;P&gt;Is there any such thing readily available? In particular, I'm looking to use this on 8u_C4 images where one of the 4 channels contains the alpha channel by which to devide the remaining 3 channels. I believe something along those lines could be achieved using a Copy (to extract alpha channel), followed by a Dup (to duplicate alpha channel into 3 channels), and finally a Div in '&lt;SPAN class=""&gt;8u_AC4IRSfs&lt;/SPAN&gt;' variant where each of the 3 color channels is divided by the duplicated alpha channel. Given the number of passes through the data this would involve, I suppose it is not optimally efficient. Is there an established approach to this seemingly common scenario?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 14:47:46 GMT</pubDate>
    <dc:creator>zzattack</dc:creator>
    <dc:date>2024-10-03T14:47:46Z</dc:date>
    <item>
      <title>Inverse alpha premultiplication</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Inverse-alpha-premultiplication/m-p/1634951#M28852</link>
      <description>&lt;P&gt;Working with images that have the alpha channel premultiplied over the color channels has compositioning benefits, but persistence of such images in PNG format requires undoing the premultiplication. As such I'm looking for something to reverse the effect of the AlphaPremul function.&lt;/P&gt;&lt;P&gt;Is there any such thing readily available? In particular, I'm looking to use this on 8u_C4 images where one of the 4 channels contains the alpha channel by which to devide the remaining 3 channels. I believe something along those lines could be achieved using a Copy (to extract alpha channel), followed by a Dup (to duplicate alpha channel into 3 channels), and finally a Div in '&lt;SPAN class=""&gt;8u_AC4IRSfs&lt;/SPAN&gt;' variant where each of the 3 color channels is divided by the duplicated alpha channel. Given the number of passes through the data this would involve, I suppose it is not optimally efficient. Is there an established approach to this seemingly common scenario?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 14:47:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Inverse-alpha-premultiplication/m-p/1634951#M28852</guid>
      <dc:creator>zzattack</dc:creator>
      <dc:date>2024-10-03T14:47:46Z</dc:date>
    </item>
  </channel>
</rss>

