JPEG2000 in a nutshell

24
Université Catholique de Louvain Telecommunications and Remote Sensing Laboratory 07/06/22 JPEG2000 in a nutshell B.Michel (Twist – UCL)

description

A general overview of the JPEG2000 image compression codec as maintained on the www.openjpeg.org website.

Transcript of JPEG2000 in a nutshell

Page 1: JPEG2000 in a nutshell

Université Catholique de Louvain

Telecommunications and Remote Sensing Laboratory

10/04/23

JPEG2000in a nutshell

B.Michel (Twist – UCL)

Page 2: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 2

Discrete Wavelet Transform

DWT = intra-component decorrelation concentrate image energy in a small area

No blocking artefacts at high compression ratios Enables multi-resolution image representation

Page 3: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 3

JPEG 2000 features Improved compression efficiency Lossy to lossless compression Single compression / Multiple decompression Progressive decoding Scalability :

- Resolution- Quality (SNR scalability)

Region of Interest Coding (ROI) Error Resilience

Page 4: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 4

Compression efficiency

JPEG 1:137 JPEG2000 1:137

Page 5: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 5

Compression efficiency

JPEG 1:126 JPEG2000 1:126

Page 6: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 6

Multiple decompressions

Compression

Decompression

storage

Page 7: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 7

Progressive transmissions

Progression in resolution

Compression

Progression in quality

Spatial Progression

storage

Page 8: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 8

Scalability : by resolution (1)

Page 9: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 9

Scalability : by resolution (2)

+

+

2.6 kBytes (1:100)

Page 10: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 10

Scalability : by quality

Page 11: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 11

Scalability : by quality (ctd)

1.6 %download

8.0 % download

2.2 % download

26.4 % download

100 % download

Page 12: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 12

Region of Interest

Page 13: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 13

Robustness to errors Embedded error : 16 bytes set to 0 in the

middle of the compressed file

JPEG JPEG2000

Page 14: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 14

JPEG 2000 Overview

Pre-processing

Pre-processing

Wavelet TransformWavelet

TransformQuant.Quant.

Coefficient bit model

Coefficient bit model

Arithmetic coding

Arithmetic coding

Data Ordering

Data Ordering

ROIROI

Codestream

ImageRate

ControlRate

Control

Page 15: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 15

Useful Concepts

Code-block : each sub-band from each tile-component is partitioned into code-blocks.

Bit-plane : each code-block will be entropy-encoded independently bit-plane by bit-plane.

MSB

LSB

Bit-plane i

DWT

Page 16: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 16

Data Ordering

Tile-body (Data)

Main

headerEOC

Tile-

header

Tile

header

Tile-

header

Tile-

header

Tile-body(Data)

Tile-body(Data)

packet

header

Code-block i Entropic Data

P1 P2 P3 Pn…

EPHSOP …

• Code block inclusion• Zero bit plane information• Number of coding passes• Data length

Code-block n Entropic Data

Page 17: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 17

Standardization Process

J2K parts under development :

Part 8, JPSEC (security aspects)

Part 9, JPIP (interactive protocols and API)

Part 10, JP3D (volumetric imaging)

Part 11, JPWL (wireless applications)

Page 18: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 18

Compared side by side

Page 19: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 19

Compared side by side

Page 20: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 20

Error resilience examples

Page 21: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 21

Multi-resolution example

Page 22: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 22

OpenJPEG

Open source JPEG 2000 coder and decoder- Implemented in C language- Developed at UCL

http://www.openjpeg.org/

Page 23: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 23

Thank you !

And visit also :

www.twist-cluster.bewww.xdcinema.comwww.intopix.comwww.tele.ucl.ac.bewww.openjpeg.org

Page 24: JPEG2000 in a nutshell

10/04/23 UCL/TELE - JPEG 2000 24

References

ISO, JPEG 2000 International Standard

Taubman, D. and Marcellin, M. (November 2001) JPEG2000: Image compression fundamentals, standards and practice, Boston, Kluwer Academic Publishers, 795 pgs.

Taubman, High performance scalable image processing with EBCOT, IEEE Trans. on Image processing, July 2000.

Rabbani, Joshi, An overview of the JPEG2000 still image compression standard, Signal processing: Image communication 17(2002) p 3-48.

Special issue on JPEG2000, Signal Processing: Image Communication. Elsevier, Volume 17, Issue 1, January 2002