<?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 Hi Ivan, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/about-jpeg2k-compress-rate/m-p/943883#M17929</link>
    <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;

&lt;P&gt;Raw file size is ~11 MB, because 2208 * 2688 * 2 (component depth = 16 bit in source file) =&amp;nbsp;11,870,208.&lt;/P&gt;

&lt;P&gt;Then, "-l 1" equal to "lossless". Lossless image encoding produces lengthy files. Though, even if you set "-l 0" UIC JPEG2000 encoder enforces lossless encoding because the pixel size is 16 bits (I don't know why).&lt;/P&gt;

&lt;P&gt;In the "EncodeImage" function you can comment a couple lines:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if(image.Precision() &amp;gt; 8)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp; &amp;nbsp;cmdOpt.lossless = 1;&lt;/P&gt;

&lt;P&gt;And, finally, the command line:&lt;BR /&gt;
	uic_transcoder_con -i a.raw -r -W 2208 -H 2688 -C gray -P 16s -o aa.jp2 -l 0 -q 1&lt;/P&gt;

&lt;P&gt;(-q 1 means quality = 1%) will give you aa.jp2 of 118 KB. It's bigger than original JP2 file, but something near.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2014 14:05:29 GMT</pubDate>
    <dc:creator>Sergey_K_Intel</dc:creator>
    <dc:date>2014-03-12T14:05:29Z</dc:date>
    <item>
      <title>about jpeg2k compress rate</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/about-jpeg2k-compress-rate/m-p/943882#M17928</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there some doc to analyze the compress rate of Jpeg2k ?&lt;/P&gt;

&lt;P&gt;I have a source .jp2 file that is about 58KB. I use UIC to transfer it to the .raw file, and the .raw file is about 11.3MB. At last, I use UIC to transfer the .raw file to .jp2 file again. It is surprised that the last .jp2 file is about 1.59MB.&lt;/P&gt;

&lt;P&gt;The follow is command arguments:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;1, source .jp2 to .raw: uic_transcoder_con -i a.jp2 -o a.raw&lt;/P&gt;

&lt;P&gt;2, .raw to .jp2:&amp;nbsp;uic_transcoder_con -i a.raw -r -W 2208 -H 2688 -C gray -P 16s -o aa.jp2 -l 1&lt;/P&gt;

&lt;P&gt;Dose anybody know why?? And I upload the file a.jp2.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 09:13:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/about-jpeg2k-compress-rate/m-p/943882#M17928</guid>
      <dc:creator>Ivan_C_</dc:creator>
      <dc:date>2014-03-12T09:13:54Z</dc:date>
    </item>
    <item>
      <title>Hi Ivan,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/about-jpeg2k-compress-rate/m-p/943883#M17929</link>
      <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;

&lt;P&gt;Raw file size is ~11 MB, because 2208 * 2688 * 2 (component depth = 16 bit in source file) =&amp;nbsp;11,870,208.&lt;/P&gt;

&lt;P&gt;Then, "-l 1" equal to "lossless". Lossless image encoding produces lengthy files. Though, even if you set "-l 0" UIC JPEG2000 encoder enforces lossless encoding because the pixel size is 16 bits (I don't know why).&lt;/P&gt;

&lt;P&gt;In the "EncodeImage" function you can comment a couple lines:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if(image.Precision() &amp;gt; 8)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // &amp;nbsp; &amp;nbsp;cmdOpt.lossless = 1;&lt;/P&gt;

&lt;P&gt;And, finally, the command line:&lt;BR /&gt;
	uic_transcoder_con -i a.raw -r -W 2208 -H 2688 -C gray -P 16s -o aa.jp2 -l 0 -q 1&lt;/P&gt;

&lt;P&gt;(-q 1 means quality = 1%) will give you aa.jp2 of 118 KB. It's bigger than original JP2 file, but something near.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 14:05:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/about-jpeg2k-compress-rate/m-p/943883#M17929</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2014-03-12T14:05:29Z</dc:date>
    </item>
  </channel>
</rss>

