<?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 JPEG 2000 compression in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851955#M6646</link>
    <description>I can confirm that saving Jpeg2000 Lossless 12 bit grayscale always gives a 1KB useless file, in UIC samples version 6.1.3.052.</description>
    <pubDate>Mon, 08 Feb 2010 17:09:41 GMT</pubDate>
    <dc:creator>Thomas_Jensen1</dc:creator>
    <dc:date>2010-02-08T17:09:41Z</dc:date>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851949#M6640</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to compress the attached file using picnic application with the following parameters:&lt;/P&gt;
&lt;P&gt;Files of type:JP2 Format (*.jp2)&lt;/P&gt;
&lt;P&gt;Lossless&lt;/P&gt;
&lt;P&gt;WT53&lt;/P&gt;
&lt;P&gt;Use MCT checked&lt;/P&gt;
&lt;P&gt;when I load save result I get gray image.&lt;/P&gt;
&lt;P&gt;Problem not occurwith lossy.&lt;/P&gt;
&lt;P&gt;Please advice&lt;/P&gt;
&lt;P&gt;10x&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2010 11:42:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851949#M6640</guid>
      <dc:creator>jboaz123</dc:creator>
      <dc:date>2010-02-07T11:42:49Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851950#M6641</link>
      <description>&lt;P&gt;I took a look at the dicom file. It is not properly structured:&lt;/P&gt;
&lt;P&gt;Missing tag: SAMPLES_PER_PX (0028:0002)&lt;/P&gt;
&lt;P&gt;It is bad to not indicate how many channels a pixel has.&lt;/P&gt;
&lt;P&gt;Missing tag: PHOTOMETRIC (0028:0004)&lt;/P&gt;
&lt;P&gt;It is bad to not indicate how the pixels are structured.&lt;/P&gt;
&lt;P&gt;Also missing tag: PIXEL_SPACING (0028:0030), should indicate size of a pixel.&lt;/P&gt;
&lt;P&gt;Further, Bits Stored = 14&lt;/P&gt;
&lt;P&gt;The IPP Dicom decoder does not use two very important tags: BITS_STORED (0028:0101) and HIGH_BIT (0028:0102). The decoder assumes the image is 16 bit, and thus with 14 bits, the whitest pixel has value 2^14-1, which in 16 bit space is 1/4 of white, or, dark gray.&lt;/P&gt;
&lt;P&gt;If you want to fix this problem, you must modify the IPP Dicom decoder to return tags Bits Stored and High Bit.&lt;/P&gt;
&lt;P&gt;Using that, you can add code to Left_Shift all bits 16-HighBit (16-14 = 2 -&amp;gt; 14 bit becomes 16 bit).&lt;/P&gt;
&lt;P&gt;Actually, although your Dicom file is 14 bit, only 11 bits are used, thus even when upscaling the specified 14 bit to the full 16 bit, that result will display as a very dark gray image. To fix that, you need to disregard the specified 14 bit and "detect" the actual number of bits (11), and then do the upscaling.&lt;/P&gt;
&lt;P&gt;Intel could consider adding code to the Dicom decoder sample, to upscale the image from &amp;lt;16 bit (9..15 bit) to full 16 bit, when returning a 16 bit image. Motivation: The Dicom file specifies 14 bit, so 2^14-1 = white. Therefore in the context of the Dicom decoder, the 14 bits *must* be considered full range, and then, since it returns a 16 bit image, it must remap 14 bit white to 16 bit white.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2010 15:33:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851950#M6641</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2010-02-07T15:33:51Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851951#M6642</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;
&lt;P&gt;thanks for loking into problem, your comments looks reasonable. I think we will adopt DICOM parser according your advices.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2010 17:13:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851951#M6642</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2010-02-07T17:13:10Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851952#M6643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I attached correct 8 bit DICOM file and the jpeg 2000 lossless compression result image Compredded.jp2.&lt;/P&gt;
&lt;P&gt;You can notice the wrong result.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2010 08:15:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851952#M6643</guid>
      <dc:creator>jboaz123</dc:creator>
      <dc:date>2010-02-08T08:15:34Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851953#M6644</link>
      <description>&lt;P&gt;Hi, jboaz123&lt;/P&gt;
&lt;P&gt;I found reason of this problem. In case of Lossless mode for J2K image saving variable&lt;I&gt;param.quality &lt;/I&gt;always equal to 0. This bring to encoding image to zero size. To fix this issue you need to change one row in filesavedlg.cpp. In function&lt;I&gt;void FileSaveDialog::updateJpeg2000Buttons(void) &lt;/I&gt;change:&lt;/P&gt;
&lt;P&gt;m_jpeg2000RatioSlider.setValue(0);tom_jpeg2000RatioSlider.setValue(&lt;B&gt;100&lt;/B&gt;);&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2010 12:00:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851953#M6644</guid>
      <dc:creator>Sergey_Ryadno</dc:creator>
      <dc:date>2010-02-08T12:00:17Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851954#M6645</link>
      <description>&lt;P&gt;Hi, sryadno&lt;/P&gt;
&lt;P&gt;Thank you for your advice, I will check it.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2010 14:09:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851954#M6645</guid>
      <dc:creator>jboaz123</dc:creator>
      <dc:date>2010-02-08T14:09:48Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851955#M6646</link>
      <description>I can confirm that saving Jpeg2000 Lossless 12 bit grayscale always gives a 1KB useless file, in UIC samples version 6.1.3.052.</description>
      <pubDate>Mon, 08 Feb 2010 17:09:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851955#M6646</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2010-02-08T17:09:41Z</dc:date>
    </item>
    <item>
      <title>JPEG 2000 compression</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851956#M6647</link>
      <description>&lt;P&gt;HiThomas,&lt;/P&gt;
&lt;P&gt;the fix i described one post early remove this problem. i just test picnic with this changes on 12/16 bit grayscaleimage - and it works fine.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2010 08:58:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-2000-compression/m-p/851956#M6647</guid>
      <dc:creator>Sergey_Ryadno</dc:creator>
      <dc:date>2010-02-09T08:58:45Z</dc:date>
    </item>
  </channel>
</rss>

