<?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 RGBToHLS and HLSToRGB small error in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/RGBToHLS-and-HLSToRGB-small-error/m-p/801812#M3322</link>
    <description>&lt;P&gt;Ok, I found the problem. I used ippiConvert to go to 16 bits but I should have used ippiScale (ippiConvert does not scale the input image as I first thought...). I dont see any conversion error when I use a properly scaled input image to 16 bits.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2011 19:33:42 GMT</pubDate>
    <dc:creator>georgiswan</dc:creator>
    <dc:date>2011-02-14T19:33:42Z</dc:date>
    <item>
      <title>RGBToHLS and HLSToRGB small error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/RGBToHLS-and-HLSToRGB-small-error/m-p/801811#M3321</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I found that doing a straight conversion from RGB to HLS and back to RGB ( RGBToHLS and HLSToRGB) produces a small error (+/-2 gray levels) for some colors. I did not do very much investigation but I am just wondering if this is expected or it there someting wrong.&lt;BR /&gt;&lt;BR /&gt;In case, it makes a difference, what I really did is:&lt;BR /&gt;&lt;BR /&gt;1) convert a 8u RGB image to 16u&lt;BR /&gt;2) convert to 16u HLS&lt;BR /&gt;3) convert to 16u RGB&lt;BR /&gt;4) convert to 8u RGB'&lt;BR /&gt;&lt;BR /&gt;The difference between RGB and RGB' is +/- 2 gray levels for about half of all possible RGB colors and 0 for the other half colors (usinga test image with all the 16 millions colors).&lt;BR /&gt;&lt;BR /&gt;I dont see such a differnce for HSV.&lt;BR /&gt;&lt;BR /&gt;Any reason for the HLS difference, is it due to the equations?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Gilbert&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Feb 2011 18:10:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/RGBToHLS-and-HLSToRGB-small-error/m-p/801811#M3321</guid>
      <dc:creator>georgiswan</dc:creator>
      <dc:date>2011-02-14T18:10:10Z</dc:date>
    </item>
    <item>
      <title>RGBToHLS and HLSToRGB small error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/RGBToHLS-and-HLSToRGB-small-error/m-p/801812#M3322</link>
      <description>&lt;P&gt;Ok, I found the problem. I used ippiConvert to go to 16 bits but I should have used ippiScale (ippiConvert does not scale the input image as I first thought...). I dont see any conversion error when I use a properly scaled input image to 16 bits.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2011 19:33:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/RGBToHLS-and-HLSToRGB-small-error/m-p/801812#M3322</guid>
      <dc:creator>georgiswan</dc:creator>
      <dc:date>2011-02-14T19:33:42Z</dc:date>
    </item>
  </channel>
</rss>

