<?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 Jpeg2000 decoder fails using Arithmetic = 16-bit in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798029#M2921</link>
    <description>You should know better than to expect any kind of answer from IPP team unless you file a Premier Support issue especially if it is an issue with samples.</description>
    <pubDate>Sat, 12 Nov 2011 13:56:54 GMT</pubDate>
    <dc:creator>levicki</dc:creator>
    <dc:date>2011-11-12T13:56:54Z</dc:date>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798027#M2919</link>
      <description>Using IPP 7.0.5 with latest samples.&lt;BR /&gt;I found an error where the Jpeg2000 decoder fails using Arithmetic = 16-bit when decoding an 8_u grayscale image.&lt;BR /&gt;&lt;BR /&gt;The Arithmetic option is used to select faster code when the pixel precision allows for at, namely when precision is &amp;lt;= 14.&lt;BR /&gt;&lt;BR /&gt;Testing with Picnic does not indicate the error because Picnic always passes Arithmetic = 32-bit to the decoder, even if you select 16-bit in the Jpeg2000 options. This is also a bug.&lt;BR /&gt;&lt;BR /&gt;The failed decode results in an image where it sems that only a few wavelets has been summed.&lt;BR /&gt;&lt;BR /&gt;Has anyone out there used Arithmetic = 16-bit when decoding 8_u images?&lt;BR /&gt;&lt;BR /&gt;I added files reproducing this bug.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Nov 2011 13:29:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798027#M2919</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2011-11-05T13:29:41Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798028#M2920</link>
      <description>No reaction yet?&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Nov 2011 13:17:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798028#M2920</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2011-11-12T13:17:45Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798029#M2921</link>
      <description>You should know better than to expect any kind of answer from IPP team unless you file a Premier Support issue especially if it is an issue with samples.</description>
      <pubDate>Sat, 12 Nov 2011 13:56:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798029#M2921</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2011-11-12T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798030#M2922</link>
      <description>I have already, before this forum, placed an Intel IPP Premier Support Issue.&lt;BR /&gt;&lt;BR /&gt;Now, it is in the Premier Support, and in the IPP Forum.&lt;BR /&gt;&lt;BR /&gt;I'm waiting for answer.&lt;BR /&gt;&lt;BR /&gt;In the IPP forum, I recently added file attachments; these are files that makes it possible to reproduce the bug.&lt;BR /&gt;1. Using the current Picnic.exe; no bugs are seen.&lt;BR /&gt;2. Debugging Picnic; you see that it has a bug, not passing arithmetic 16-bit selection to the J2K decoder.&lt;BR /&gt;3. Fixing Picnic, to pass the proper arithmetic 16-bit selection to the decoder, you'll see the actual bug; the decoder decodes the image incorrectly.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Nov 2011 23:14:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798030#M2922</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2011-11-12T23:14:18Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798031#M2923</link>
      <description>Hi Thomas,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is the attached DICOM file ok? I cannot decode it with any of DICOM viewers.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Sergey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Nov 2011 09:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798031#M2923</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2011-11-14T09:21:52Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798032#M2924</link>
      <description>You can load the attached dcm file with the current Intel IPP 7 update 5 samples precompiled Picnic.exe.&lt;BR /&gt;&lt;BR /&gt;I just did a retest by redownloading my attached file, and it loads fine on my precompiled Picnic.exe, however, as I wrote above, the precompiled Picnic.exe has a bug that cause the Jpeg2000 decoder to always use 32-bit arithmetic (and with 32-bit it decodes fine, except it is slower), even if you set it to 16-bit in Picnic's user interface, therefore you must first fix the bug in Picnic and then rebuild it to properly reproduce the error. I did this by simply hardcoding arithmetic to 16-bit, and then when loading this Dicom file with an 8u_C1 image encoded with lossy Jpeg2000, you will directly see that the IPP Jpeg2000 decoder fails. It decodes to a faulty image, as you can see in the attached bmp file.&lt;BR /&gt;&lt;BR /&gt;Of course, you don't need to use Picnic to reproduce the error, any code that use the IPP sample Jpeg2000 decoder, just set jpeg2000 param arithmetic to 16-bit and the decode an 8 bpp lossy jpeg2000 image.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Nov 2011 12:30:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798032#M2924</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2011-11-14T12:30:22Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798033#M2925</link>
      <description>I guest thebug was inside thefile "dquant.h". The calculation of inline function &lt;BR /&gt;&lt;BR /&gt;inline void QuantInv(const ImageCoreC&lt;IPP16S&gt; &amp;amp;img, const IppiSize &amp;amp;size, QuantValue quant, unsigned int sbDynRange)&lt;BR /&gt;&lt;BR /&gt;might out of range.&lt;/IPP16S&gt;</description>
      <pubDate>Mon, 30 Jan 2012 08:32:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798033#M2925</guid>
      <dc:creator>Bell</dc:creator>
      <dc:date>2012-01-30T08:32:56Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798034#M2926</link>
      <description>I do see some clipping danger in dquant.h, but it is over my head to determine if that is actually so.&lt;BR /&gt;&lt;BR /&gt;For 16u pixels and 32-bit arithmetic, the Ipp32s type is used.&lt;BR /&gt;So for 8u pixels and 16-bit arithmetic, the used Ipp16s type appears to be usable...&lt;BR /&gt;&lt;BR /&gt;I just don't know how dig further into this problem.&lt;BR /&gt;&lt;BR /&gt;Intel, how far are you with your investigation?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jan 2012 16:26:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798034#M2926</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2012-01-30T16:26:49Z</dc:date>
    </item>
    <item>
      <title>Jpeg2000 decoder fails using Arithmetic = 16-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798035#M2927</link>
      <description>I investigate it and I'm wrong. The bug was somewhere else. Be patients, I had had submit a multi-layer bug to Intel via Premier Support long time ago. They did take over one year to solve the problem. I only could use OpengJPEG as alternative workarround during this time. If memory usage is really critical for your application, go for Kakadu Software (&lt;A href="http://www.kakadusoftware.com/"&gt;http://www.kakadusoftware.com/&lt;/A&gt;). It use line-based wavelet transformation to decode image. Really save memory and better performance than IPP.</description>
      <pubDate>Tue, 31 Jan 2012 01:12:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg2000-decoder-fails-using-Arithmetic-16-bit/m-p/798035#M2927</guid>
      <dc:creator>Bell</dc:creator>
      <dc:date>2012-01-31T01:12:42Z</dc:date>
    </item>
  </channel>
</rss>

