Results 1 to 7 of 7

Thread: rise and fall and rise of jpeg 2000

  1. #1
    Member
    Join Date
    May 2014
    Location
    Canada
    Posts
    141
    Thanks
    72
    Thanked 21 Times in 12 Posts

    rise and fall and rise of jpeg 2000

    Latest release of grok jpeg 2000 toolkit has full support for new high throughput Part 15 of the standard.
    (courtesy of the OpenJPH project)

    From informal benchmarks on lossless greyscale encoding, I am seeing ~ 5x increase in
    decode speed at the cost of ~8% compression performance.

    This HT implementation is multi-threaded but not optimized in other ways, so there is potential
    for much faster decode, I think.

    https://github.com/GrokImageCompression/grok/releases
    https://github.com/aous72/OpenJPH

    I am planning on doing some speed/image quality/compression performance comparisons with
    AVIF and JPEG XL, the two other open contenders for JPEG successor.

  2. #2
    Member
    Join Date
    Nov 2019
    Location
    Moon
    Posts
    36
    Thanks
    8
    Thanked 36 Times in 22 Posts
    https://medium.com/@scopeburst/mozjp...n-44035c42abe8
    I did some visual comparisons of HTJ2K, I don’t think that for now it will be a competitor to more modern image formats (at least for the Web), sometimes it was even worse than MozJpeg.
    But it will be interesting to see a more detailed comparison.

  3. Thanks:

    boxerab (4th March 2020)

  4. #3
    Member
    Join Date
    Jun 2015
    Location
    Switzerland
    Posts
    876
    Thanks
    242
    Thanked 325 Times in 198 Posts
    Quote Originally Posted by boxerab View Post
    I am planning on doing some speed/image quality/compression performance comparisons with
    AVIF and JPEG XL, the two other open contenders for JPEG successor.
    During the JPEG XL standardization process I was surprised how good JPEG 2000 has become. My impression from its early days was that it wasn't working very well (good objective numbers, but images looked bad).

    JPEG XL, AVIF, and the best H.265-based image codec (publicly available bpgenc does some strange hanky-panky with default settings) are all far better than JPEG 2000 for the usual image compression needs.

  5. Thanks:

    boxerab (4th March 2020)

  6. #4
    Member
    Join Date
    May 2014
    Location
    Canada
    Posts
    141
    Thanks
    72
    Thanked 21 Times in 12 Posts
    Scope: just curious about your settings for OpenJPEG in that comparison you did: "-s 1,1 -q x" . OpenJPEG doesn't actually sub-sample here, but just doubles the dimensions of the canvas. Also, the quality layer in DB is set to "x"; what value did you use for the PSNR ?

  7. #5
    Member
    Join Date
    Nov 2019
    Location
    Moon
    Posts
    36
    Thanks
    8
    Thanked 36 Times in 22 Posts
    Don’t remember exactly where I got these settings from (probably from one of the frameworks), but I tried to imitate Netflix's encoding, however I tested with other settings and did not notice noticeable differences in quality (these images were added to the blog with exact settings).

  8. Thanks:

    boxerab (10th March 2020)

  9. #6
    Member
    Join Date
    May 2014
    Location
    Canada
    Posts
    141
    Thanks
    72
    Thanked 21 Times in 12 Posts
    Scope: thanks, this must be a related blog: https://netflixtechblog.com/avif-for...ng-b1d75675fe4 . Is the benchmark code available ?

  10. #7
    Member
    Join Date
    Nov 2019
    Location
    Moon
    Posts
    36
    Thanks
    8
    Thanked 36 Times in 22 Posts
    Initially, I did my tests to demonstrate that Jpeg is not as bad as in their examples (but over time I began to add other comparisons). The Netflix benchmark (Framework) is on the Github, but I did not create or use the similar ones, everything was encoded manually and with a couple of batch files.

  11. Thanks:

    boxerab (17th March 2020)

Similar Threads

  1. New JPEG 2000 Benchmark
    By boxerab in forum Data Compression
    Replies: 0
    Last Post: 9th August 2016, 18:54
  2. JPEG 2000 lossy vs lossless decode speed
    By boxerab in forum Data Compression
    Replies: 6
    Last Post: 9th August 2016, 18:48
  3. Grok JPEG 2000 Codec
    By boxerab in forum Data Compression
    Replies: 3
    Last Post: 30th March 2016, 06:10
  4. Faustian Bargain for JPEG 2000 Supremacy
    By boxerab in forum Data Compression
    Replies: 4
    Last Post: 22nd January 2015, 02:41
  5. Open source OpenCL jpeg 2000 library
    By boxerab in forum Data Compression
    Replies: 12
    Last Post: 26th May 2014, 06:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •