Quo Vadis JPEG : Future of ISO /T.81

Similar documents
JPEG Modes of Operation. Nimrod Peleg Dec. 2005

Features. Sequential encoding. Progressive encoding. Hierarchical encoding. Lossless encoding using a different strategy

JPEG 2000 compression

Introduction ti to JPEG

JPEG 2000 A versatile image coding system for multimedia applications

JPEG. Wikipedia: Felis_silvestris_silvestris.jpg, Michael Gäbler CC BY 3.0

Lecture 8 JPEG Compression (Part 3)

Lecture 13 Video Coding H.264 / MPEG4 AVC

Wireless Communication

RD OPTIMIZED PROGRESSIVE IMAGE CODING USING JPEG. Jaehan In. B. Sc. (Electrical Engineering) The Johns Hopkins University, U.S.A.

Digital Image Representation Image Compression

RATE DISTORTION OPTIMIZED TONE CURVE FOR HIGH DYNAMIC RANGE COMPRESSION

Digital Image Processing

MULTIMEDIA COMMUNICATION

Compression II: Images (JPEG)

JPEG Joint Photographic Experts Group ISO/IEC JTC1/SC29/WG1 Still image compression standard Features

JPEG Baseline JPEG Pros and Cons (as compared to JPEG2000) Advantages. Disadvantages

Stereo Image Compression

INF5063: Programming heterogeneous multi-core processors. September 17, 2010

7: Image Compression

Lecture 5: Compression I. This Week s Schedule

SIGNAL COMPRESSION. 9. Lossy image compression: SPIHT and S+P

Multimedia Systems Image III (Image Compression, JPEG) Mahdi Amiri April 2011 Sharif University of Technology

JPEG decoding using end of block markers to concurrently partition channels on a GPU. Patrick Chieppe (u ) Supervisor: Dr.

Index. 1. Motivation 2. Background 3. JPEG Compression The Discrete Cosine Transformation Quantization Coding 4. MPEG 5.

The Standardization process

CMPT 365 Multimedia Systems. Media Compression - Image

Video Compression An Introduction

Efficient design and FPGA implementation of JPEG encoder

Interactive Progressive Encoding System For Transmission of Complex Images

An introduction to JPEG compression using MATLAB

JPEG Compression. What is JPEG?

IMAGE COMPRESSION. October 7, ICSY Lab, University of Kaiserslautern, Germany

Fundamentals of Video Compression. Video Compression

Lecture 8 JPEG Compression (Part 3)

VIDEO SIGNALS. Lossless coding

The Existing DCT-Based JPEG Standard. Bernie Brower

CISC 7610 Lecture 3 Multimedia data and data formats

Compression of Stereo Images using a Huffman-Zip Scheme

Editorial Manager(tm) for Journal of Real-Time Image Processing Manuscript Draft

MPEG-2. And Scalability Support. Nimrod Peleg Update: July.2004

Optimized Progressive Coding of Stereo Images Using Discrete Wavelet Transform

Advanced Video Coding: The new H.264 video compression standard

Introduction to Video Encoding

AUDIOVISUAL COMMUNICATION

HYBRID TRANSFORMATION TECHNIQUE FOR IMAGE COMPRESSION

Week 14. Video Compression. Ref: Fundamentals of Multimedia

JPEG: An Image Compression System. Nimrod Peleg update: Nov. 2003

Image Compression Algorithm and JPEG Standard

ROI Based Image Compression in Baseline JPEG

Image Coding. Image Coding

06/12/2017. Image compression. Image compression. Image compression. Image compression. Coding redundancy: image 1 has four gray levels

Introduction to Video Compression

Scalable Compression and Transmission of Large, Three- Dimensional Materials Microstructures

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 3: Video Processing

Image and Video Coding I: Fundamentals

JPEG 2000 vs. JPEG in MPEG Encoding

MPEG-4: Simple Profile (SP)

Information technology Scalable compression and coding of continuous-tone still images. Part 1:

Lecture 3 Image and Video (MPEG) Coding

JPEG: An Image Compression System

Georgios Tziritas Computer Science Department

IMAGE COMPRESSION USING FOURIER TRANSFORMS

Digital Video Processing

Using animation to motivate motion

Standard Codecs. Image compression to advanced video coding. Mohammed Ghanbari. 3rd Edition. The Institution of Engineering and Technology

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

CSEP 521 Applied Algorithms Spring Lossy Image Compression

Decoding. Encoding. Recoding to sequential. Progressive parsing. Pixels DCT Coefficients Scans. JPEG Coded image. Recoded JPEG image. Start.

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

The Scope of Picture and Video Coding Standardization

New Perspectives on Image Compression

ISO/IEC INTERNATIONAL STANDARD. Information technology JPEG 2000 image coding system: An entry level JPEG 2000 encoder

ITU-T T.851. ITU-T T.81 (JPEG-1)-based still-image coding using an alternative arithmetic coder SERIES T: TERMINALS FOR TELEMATIC SERVICES

JPEG Syntax and Data Organization

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

Review and Implementation of DWT based Scalable Video Coding with Scalable Motion Coding.

Bi-Level Image Compression

INTERNATIONAL TELECOMMUNICATION UNION TERMINAL EQUIPMENT AND PROTOCOLS FOR TELEMATIC SERVICES

Editorial Manager(tm) for Journal of Real-Time Image Processing Manuscript Draft

CHAPTER 4 REVERSIBLE IMAGE WATERMARKING USING BIT PLANE CODING AND LIFTING WAVELET TRANSFORM

Video Codecs. National Chiao Tung University Chun-Jen Tsai 1/5/2015

CS 335 Graphics and Multimedia. Image Compression

Video coding. Concepts and notations.

Mesh Based Interpolative Coding (MBIC)

Digital Image Processing

JPEG IMAGE CODING WITH ADAPTIVE QUANTIZATION

What is JPEG XR? Starting Points. What is JPEG XR? 2/24/09. JPEG XR: A New Coding Standard for Digital Photography

CHAPTER 6 A SECURE FAST 2D-DISCRETE FRACTIONAL FOURIER TRANSFORM BASED MEDICAL IMAGE COMPRESSION USING SPIHT ALGORITHM WITH HUFFMAN ENCODER

Multimedia Communications. Transform Coding

Module 1B: JPEG2000 Part 1. Standardization issues, Requirements, Comparisons. JPEG: Summary (1) Motivation new still image st dard (2)

MRT based Fixed Block size Transform Coding

PREFACE...XIII ACKNOWLEDGEMENTS...XV

Audiovisual Communications, Fernando Pereira

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

VIDEO COMPRESSION STANDARDS

Digital Imaging and Communications in Medicine (DICOM) Supplement 61: JPEG 2000 Transfer Syntaxes

Laboratoire d'informatique, de Robotique et de Microélectronique de Montpellier Montpellier Cedex 5 France

Motion Estimation. Original. enhancement layers. Motion Compensation. Baselayer. Scan-Specific Entropy Coding. Prediction Error.

Video Coding Standards: H.261, H.263 and H.26L

Transcription:

Quo Vadis JPEG : Future of ISO 10918-1/T.81 10918/T.81 is still the dominant standard for photographic images An entire toolchain exists to record, manipulate and display images encoded in this specification Market penetration of JPEG 2000 and JPEG XR is very low in the digital camera market. Can we extend 10918 carefully without breaking too much of this toolchain to address the main deficiencies of the specs?

Compatibility Issues Only a small subset of 10918 is in wide use only baseline, sequential and progressive mode are popular only up to four components (single scan sequential or progressive) are seen, though up to 255 components are possible only 8bpp images are in popular use, though 12bpp is available Medical industry uses 12bpp and lossless ( predictive ) mode Arithmetic coding mode is not seen in the wild Hierarchical mode is not seen in the wild.

10918 Issues Alpha channel support missing this is a file format issue to annotate the components Backwards compatible lossless mode is missing the predictive coding mode is an entirely different codec that is not understood by the typical JPEG toolchain Backwards compatible support for >8bpp is missing 12bpp mode is not supported by most implementations.

Goals: Can we extend 10918 carefully such that the current toolchain remains working, though does probably not support all features of the new standard for example, decoding a losslessly encoded image with some minor loss for example decode a >8bpp image to 8bpp (automatic LDR rendering of HDR images) compression performance is not the primary goal, but compatibility is. Performance is secondary. several possibilities will be discussed and compared with the state of the art Teaser: Backwards compatible lossless JPEG with the performance of PNG is possible.

Decoder Design T.81 10918-1 Decoder Upsampling L-Trafo L1-Lut L2-Lut L3-Lut exp (cast) Refinement Scan S-Trafo NL S-Lut Residual Decoder Noiseshaping Upsampling R1-Lut R2-Lut R3-Lut H-Trafo Composition of several designs: Refinement coding Additive Residual coding Multiplicative Residual Coding (Stuttgart proposal) (Dolby proposal)

Tone Mapping A lookup table that maps HDR data to LDR data, and vice versa at the decoder. How to arrive at a tone mapping curve is not defined in the specifications this is a matter of the implementation. Only the inverse tone mapping curve at the decoder is included in the bitstream. The encoder has to find the inverse of the inverse. Note that the input data could be even floating point without any change in the coder design it is just a matter of how to interpret the bit pattern and how to build the TMO.

Color Transformation Is (mathematically) identical to the RGB to YcbCr transformation specified in JFIF But coefficients are specified: Fixpoint algebra, 13 fractional bits, output is not integer, but fixpoint with 4 fractional bits Must become part of the standard (unlike in 10918-1)

DCT Operation Is an unscaled fixpoint DCT Similar to the color transformation, the coefficients and the algorithm must be specified precisely (for residual and lossless coding) Coefficients are specified in fixpoint with 9 fractional bits 32 bit implementation precision is sufficient for 12bpp input data

Quantization Unmodified from 10918 Followed by a split-off in MSBs and LSBs. Split off is a shift for DC (round to - ) and a division for AC (round to 0) This is the same rule used for the point transformation of 10918

Legacy Scan Types: Scan Types Transmits the MSBs of the tone mapped data All block based scan types 10918 has to offer: Sequential, progressive (Huffman and AC) Refinement Scan: Transmits the LSBs of the tone mapped data MSB/LSB split off by means of a point transformation not signaled in the legacy coder, but in a separate marker Scan type is a 10918-1 compliant refinement scan (subsequent scan of a progressive scan) extending the legacy scan type.

Residual Scan: Scan Types Transmits the quantized coding error Uses a traditional progressive scan, on 8x8 blocks in the spatial domain, except that the left-top pixel ( DC ) is not handled separately, but AC coding is used for all pixels. Smarter coding schemes (context modeling) do not improve the coding performance substantially (<1%)

Additive Residual Coding T.81 10918-1 Decoder Upsampling L-Trafo L1-Lut L2-Lut L3-Lut exp (cast) Refinement Scan S-Trafo NL S-Lut Residual Decoder Noiseshaping Upsampling R1-Lut R2-Lut R3-Lut H-Trafo Optimal R/D performance Lossless Coding Floating Point Coding Supported

Refinement Coding T.81 10918-1 Decoder Upsampling L-Trafo L1-Lut L2-Lut L3-Lut exp (cast) Refinement Scan S-Trafo NL S-Lut Residual Decoder Noiseshaping Upsampling R1-Lut R2-Lut R3-Lut H-Trafo Simplest possibility for HDR coding Very easy to implement R/D performance is non-ideal

Multiplicative Coding T.81 10918-1 Decoder Upsampling L-Trafo L1-Lut L2-Lut L3-Lut exp (cast) Refinement Scan S-Trafo NL S-Lut Residual Decoder Noiseshaping Upsampling R1-Lut R2-Lut R3-Lut H-Trafo Design is compatible to Dolby JPEG-HDR Codestream syntax is a bit different Floating Point Coding Supported

Encoder Design (Refinement & add. residual coding) TMO RGB to YCbCr FixPt FDCT QNT MSB LSB Legacy Scan Types Refinement Scan APP9 FINE marker - TMO -1 YcbCr to RGB FixPt IDCT Inverse QNT Refinement Coding Residual Coding RCT Noise Shaping QNT Residual Scan APP9 RESI marker

Experiments Input data was taken from the core2 test set and the OpenEXR test image set, first converted to 16-bit float (half-float) for consistency. Note that due to the tone mapping the codec does not even need to know whether the input data is integer or floating point. TMO input is the bit pattern of the floating point numbers. Participating codecs: JPEG 2000 (floating point coding as in AMD.3 of 15444-2) JPEG XR (half-float RGB pixel type) JPEG-HDR (hdrcvt by Greg Ward, M. Simmons) JPEG extensions using residual coding only JPEG extensions using residual and refinement coding External rate allocation for JPEG, JPEG XR JPEG extensions uses a simplified version of the Reinhard tonemapper, with or without gamma adaption.

Notes on hdrcvt Published by G. Ward and M.Simmons in ACM Siggraph 2005. Builds a LDR version of the HDR image by TMO similar to here, But encodes the quotient of HDR over LDR A precursor of Dolby's JPEG-HDR.

Measurements Identical to the JPEG XR core experiments on HDR HDR Image Codec exrpptm LDR exrpptm SSIM PSNR HDR SNR Measure SNR in the HDR regime, MS-MSSIM and PSNR after tonemapping with exrpptm

Conclusions The JPEG extensions work generally well, with residual coding working better than refinement coding. For low bitrates, the coders are not competitive (not a surprise) In general, the JPEG extensions work better than hdrcvt (JPEG-HDR) Results depend on how extreme the lighting conditions are and how far the automatic TMO provided by the codec differs from the intended TMO. JPEG-Extensions Demo Implementation plus Working Draft: https://github.com/thorfdbg/libjpeg JPEG-Online Test: http://jpegonline.rus.uni-stuttgart.de/index.py