Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • haerleJune 8, 2009 2:17 AM PDT   
    JPEG2000 codec settings in Unified Image Codec sample for Windows

    Hello,

    The encode_jpeg2000 function of the UIC sample just initializes the JP2Encoder class with it's default parameters.
    How do I change the quality settings (to get a smaller file, a faster compression, etc.) for the JPEG2000 encoding?

    I tried several parameters with jp2enc.SetParams. For example:

    jp2enc.SetParams(20, true, true, false, 2, 10, 0xFFFFFFFF);

    This neither influences the target file's size nor the compression time considerably. Are there other parameters which I have overlooked? Do I have to initlialize some other class?

    Thx for your help,

    Fabian

    P.S.: Will dstSize = 0xFFFFFFFF work on 64bit?


    Vladimir Dudnik (Intel)June 8, 2009 9:48 AM PDT
    Rate
     
    Re: JPEG2000 codec settings in Unified Image Codec sample for Windows

    Fabian,

    please take a look at UIC picnic application, where you can set JPEG2000 encoder parameters through GUI application

    To support files with big size you may need to implement another variant of StdFileInput class. The implementation in UIC rely on fread CRT function.

    Regards,
      Vladimir


Forum jump:  

Intel Software Network Forums Statistics

16,369 users have contributed to 46,341 threads and 163,954 posts to date.

In the past 24 hours, we have 18 new thread(s) 102 new posts(s), and 67 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member bikerepair8


For more complete information about compiler optimizations, see our Optimization Notice.