<?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>Intel® Integrated Performance PrimitivesのトピックRe: Conversion from RGB to XYZ Intel IPP</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1505473#M28467</link>
    <description>&lt;P&gt;Hi Jose Silva,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for the elaborative information and the sample reproducer. We have shared the conveyed information to the concerned team. We are discussing your issue internally. We will get back to you soon with an update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thank you very much for the reply. I am impressed with the speed that the oneAPI library provides by taking advantage of all the capabilities of Intel processors. Keep up the Good work!&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Really, really, thank you&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; Thanks a lot for your valuable suggestions and compliments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 02:46:29 GMT</pubDate>
    <dc:creator>ShanmukhS_Intel</dc:creator>
    <dc:date>2023-08-09T02:46:29Z</dc:date>
    <item>
      <title>Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1502986#M28456</link>
      <description>&lt;P class=""&gt;From a previous post about the conversion from RGB to XYZ in Intel IPP forum&lt;/P&gt;&lt;H2&gt;&lt;SPAN class=""&gt;Gamma correction&lt;/SPAN&gt;&lt;/H2&gt;&lt;P class=""&gt;If this add value to the conversation:&lt;/P&gt;&lt;P class=""&gt;Hi, I'm noticing this too. You say it will be fixed in version 2021.9. If it adds to the conversation, the matrix to convert from RGB to XYZ in your documentation is for sRGB color space with D65 as you can see in one of the common references:&lt;/P&gt;&lt;P class=""&gt;&lt;A class="" href="http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;But you need to apply an inverse sRGB companding after the matrix:&lt;/P&gt;&lt;P class=""&gt;&lt;A class="" href="http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;So, actually the API gives wrong results because doesn't apply the companding, and if it's linear, those are not the right values.&lt;/P&gt;&lt;P class=""&gt;And actually is assumed that the results are for sRGB as it says in the OneAPI documentation when you use de XYZ to LAB conversion.&lt;/P&gt;&lt;P class=""&gt;So, there's a lot of different variables in color spaces and gamma and white point out there that maybe could not be tackled but using the right sRGB aproach could be the best for the most used cases but with the companding.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;If you need&amp;nbsp; &amp;nbsp;more detailed information that could be useful, let me know but I know that you are working in the issue.&lt;/P&gt;&lt;P class=""&gt;Besta regards.&lt;/P&gt;&lt;P class=""&gt;Thank you so much.&lt;/P&gt;&lt;P class=""&gt;José Silva&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 02:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1502986#M28456</guid>
      <dc:creator>ElMicro</dc:creator>
      <dc:date>2023-07-09T02:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1503546#M28458</link>
      <description>&lt;P&gt;Hi Jose Silve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please get back to us with more details regarding the discrepancy between the expected behavior of the API in terms of color conversion and the actual results obtained?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide us with more details regarding the exact nature of the problem? It helps us in understanding the issue better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be a great help if you provide us with a sample code with the usage of API which you mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 17:30:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1503546#M28458</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-07-11T17:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1503994#M28462</link>
      <description>&lt;P&gt;Hi! Thank you for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is long so, I'm attaching some files about the case. If you can please escalate this to the developers team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, it doesn't let me attach the cpp file so I'm attaching a zip file.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jose Silva (ElMicro)&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 09:43:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1503994#M28462</guid>
      <dc:creator>ElMicro</dc:creator>
      <dc:date>2023-07-12T09:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1504000#M28463</link>
      <description>&lt;P&gt;This is related to this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.intel.com/t5/Intel-Integrated-Performance/Gamma-correction/m-p/1482065/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExINUk3N0pDVUVVRlUyfDE0ODIwNjV8U1VCU0NSSVBUSU9OU3xoSw#M28383" target="_blank"&gt;https://community.intel.com/t5/Intel-Integrated-Performance/Gamma-correction/m-p/1482065/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExINUk3N0pDVUVVRlUyfDE0ODIwNjV8U1VCU0NSSVBUSU9OU3xoSw#M28383&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 10:04:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1504000#M28463</guid>
      <dc:creator>ElMicro</dc:creator>
      <dc:date>2023-07-12T10:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1505473#M28467</link>
      <description>&lt;P&gt;Hi Jose Silva,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for the elaborative information and the sample reproducer. We have shared the conveyed information to the concerned team. We are discussing your issue internally. We will get back to you soon with an update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thank you very much for the reply. I am impressed with the speed that the oneAPI library provides by taking advantage of all the capabilities of Intel processors. Keep up the Good work!&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Really, really, thank you&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; Thanks a lot for your valuable suggestions and compliments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 02:46:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1505473#M28467</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-08-09T02:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1512316#M28478</link>
      <description>&lt;P&gt;Hi Jose,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would like to inform you that, The color conversion functions generally operate with non-linear gamma-corrected images and functions without "_gamma" are meant for gamma-corrected images. The "forward" in gamma correction suggests that the documentation on color correction is clear with formulas for all conversions.&lt;/P&gt;
&lt;P&gt;for ex: GammaFwd performs gamma-correction of the source image with RGB data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you confirmed that the calculation of RGBtoLABstep() in the first case is correct and matches the last step for the same values is a valid one. It seems the differences in understanding might be related to vocabulary and terminology, such as "gamma corrected" and "gammaFwd" terms were being used by IPP and should not be considered by terms "GammaInverseCompanding" which were used in Bruce Lindbloom's results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As suggesting different other terms might add more confusion, it is recommended in relying on equations to understand the significance and the functionality better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The terms being used by the user in Bruce Lindbloom's results should not be considered for the IPP's implementations as the terminology is different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the whole,&amp;nbsp;&lt;SPAN&gt;they are correct in the equations and method of calculation for ippiRGBToLab_32f_C3R().&amp;nbsp; But as the documentation for this function does say "This function converts the BGR or RGB image pSrc to the CIE Lab image pDst," we feel if we add more terms, it leads to more confusion about the inputs.&amp;nbsp; Intel IPP doesn't use many of the terms that Bruce Lindbloom uses such as Inverse Companding, Inverse Gamma Companding, Inverse sRGB Companding, Inverse L* Companding, nor many of the symbols in our docs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/ipp/developer-reference/2021-9/color-models.html#primary-content" target="_blank" rel="noopener noreferrer"&gt;1. https://www.intel.com/content/www/us/en/docs/ipp/developer-reference/2021-9/color-models.html#primary-content&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/ipp/developer-reference/2021-8/gamma-correction-002.html#GUID-D00B6E22-6C9D-43AD-BEDF-A4E7BCBFD0D2" target="_blank" rel="noopener noreferrer"&gt;https://www.intel.com/content/www/us/en/docs/ipp/developer-reference/2021-9/gamma-correction-002.html#GUID-D00B6E22-6C9D-43AD-BEDF-A4E7BCBFD0D2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 08:18:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1512316#M28478</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-08-10T08:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1513156#M28483</link>
      <description>&lt;P&gt;Thank you so much. It's clear for me now.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 04:18:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1513156#M28483</guid>
      <dc:creator>ElMicro</dc:creator>
      <dc:date>2023-08-11T04:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion from RGB to XYZ Intel IPP</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1514448#M28485</link>
      <description>&lt;P&gt;Hi Jose,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;It’s great to know that the issue has been resolved, in case you run into any other issues please feel free to create a new thread.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 03:58:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Conversion-from-RGB-to-XYZ-Intel-IPP/m-p/1514448#M28485</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-08-16T03:58:30Z</dc:date>
    </item>
  </channel>
</rss>

