Top Banner
ERICSSON RESEARCH Media Lab UNIVERSITY OF PATRAS Electronics Laboratory JPEG2000 JPEG2000 The next generation still image The next generation still image compression standard compression standard
50

JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

Jun 06, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000

The next generation still imageThe next generation still imagecompression standardcompression standard

Page 2: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000The next generation stillThe next generation still

image compression standardimage compression standard

Athanassios SkodrasUniversity of Patras

Electronics LaboratoryGreece

[email protected]

Charilaos ChristopoulosMedia Lab

Ericsson ResearchEricsson Radio Systems AB

Sweden

[email protected]

Page 3: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Why another still image compression standard?Why another still image compression standard?

•Low bit-rate compression: Current standards, such asIS10918-1 (JPEG), offer excellent rate-distortion performance inthe mid and high bit-rates. However, at low bit-rates (e.g., below0.25 bpp for highly detailed gray-level images) the subjectivedistortion becomes unacceptable.

•Lossless and lossy compression: There is currently nostandard that can provide superior lossless compression and lossycompression in a single codestream.

•Large images: The JPEG image compression algorithm doesnot allow for images greater then 64K by 64K without tiling.

In order to address areas that the current standards fail toproduce the best quality or performance, as for example:

Page 4: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

•Single decompression architecture: The current JPEGstandard has 44 modes, many of which are application specific andnot used by the majority of the JPEG decoders.

•Transmission in noisy environments: The currentJPEG standard has provision for restart intervals, but image qualitysuffers dramatically when bit errors are encountered.

•Computer generated imagery: The current standardwas optimized for natural imagery and does not perform well oncomputer generated imagery.

•Compound documents: Currently, JPEG is seldom used inthe compression of compound documents because of its poorperformance when applied to bi-level (text) imagery.

Why another still image compression standard? Why another still image compression standard? (cont’d)(cont’d)

Page 5: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Thus, the aim of the JPEG2000 is to develop a new stillimage coding standard for different types of still images(bi-level, gray-level, color, multicomponent, hypercomponent), withdifferent characteristics (natural, scientific, medical, remotesensing, text, rendered graphics, compound, etc.), allowingdifferent imaging models (client/server, real-time transmission,image library archival, limited buffer and bandwidth resources, etc.)preferably within a unified and integrated system.

This coding system is intended for low bit-rateapplications, exhibiting rate-distortion and subjectiveimage quality performance superior to existingstandards.

JPEG2000 TargetsJPEG2000 Targets

Page 6: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000

•• How is the standard beingHow is the standard beingdeveloped ?developed ?

•• Who are the contributors ? Who are the contributors ?

••What is the schedule ?What is the schedule ?

Page 7: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

ISO / IEC Terminology and ...ISO / IEC Terminology and ...• ISO: International Standardization Organization• IEC: International Electrotechnical Committee• ISO/IEC JTC1: Joint Technical Committee• SC29: Information Technologies

– WG1: still images, JPEG and JBIG• Joint Photographic Experts Group and Joint Bi-

level Image Group– WG11: video, MPEG

• Motion Picture Experts Group– WG12: multimedia, MHEG

• Multimedia Hypermedia Experts Group

Page 8: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

… Structure… Structure

Page 9: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 contributorsJPEG2000 contributors

• 15 countries / 80-100 meeting attendees– EUROPE

• Ericsson, Nokia, Philips, Canon, Motorola, Alcatel,EPFL, NTNU, Technical University of Denmark, ...

– USA/Canada• Kodak, HP, Rockwell, Motorola, TI, Ricoh, Sharp,

Adobe, University of Maryland, UBC, RPI

– ASIA• Samsung, Panasonic, Sony, OKI, Mitsubishi, CISRA...

• 3-4 meetings per year

Page 10: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 DevelopmentJPEG2000 Development

• Timeline– Feb 96 (Geneva) started with original proposal– Nov 96 (Palo Alto) test method agreed– Mar 97 (Dijon) call for proposals– Jul 97 (Sapporo) requirements analysis started– Nov 97 (Sydney) algorithm competition & selection– VM 1 (Mar 98), VM 2 (Aug 98), split to VM 3A and 3B

Nov 98. Converged to VM4 and WD in Mar 99

• Current status: VM 5.2, WD 2.0

Page 11: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 work planJPEG2000 work plan• Part I: A set of tools covering a good proportion of

application requirements (20-80 rules)

• Other parts will contain different application tools in

the form of profiles

• Schedule for part I:Elevation to CD: 12/99Elevation to FCD: 07/00Elevation to FDIS: 11/00Elevation to IS: 03/01

Page 12: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 ObjectivesJPEG2000 Objectives

• Advanced standardized image coding system to serve

applications into next millennium

• Provide features vital for high-end and emerging

imaging applications

• Address areas where current standards fail to

produce the best performance

• Provide capabilities to markets that currently do not

use compression

Page 13: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000: JPEG2000: Objectives in detailObjectives in detail

• Superior low bit-rate performance• Continuous-tone and bi-level compression• Lossless and lossy compression• Progressive transmission by pixel accuracy and resolution• Fixed-rate, fixed-size, limited workspace memory• Random codestream access and processing• Robustness to bit-errors• Open architecture• Sequential build-up capability (real time coding)• Backward compatibility with JPEG• Content-based description• Protective image security• Side channel spatial information (transparency)

Page 14: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

• Internet• Mobile• Printing• Scanning• Digital Photography• Remote Sensing• Facsimile• Medical• Digital Libraries• E-Commerce

JPEG2000JPEG2000Markets and ApplicationsMarkets and Applications

Page 15: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

MobileApplications

Internet

Telemedicine

ProgressiveTransmission

ErrorResilience

Region ofInterestCoding

JPEG2000 applicationsJPEG2000 applications

RemoteSensing

Page 16: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Mobile ApplicationsMobile Applications

Postcard, e-mail

Home Computer, Data Base

Medical Expert

Page 17: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Internet applicationsInternet applications

InternetModems,

Cellular Phones

Lap Tops, PDAs,Computers

Page 18: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000Application RequirementsApplication Requirements

•Image type•Image width and height: 1 to (232 – 1)•Component depth: 1 to 32 bits•Number of components: 1 to 255 (or more)•Dissimilar component depths (each component can be a different depth)•Dissimilar component spans (each component can have a different coverage)

Application profiles:• Internet: Image sizes from 32 x 32 up to at least 4K x 4K pixels with 1, 3 (Y, RGB,YUV,…) or 4 components including alpha channel and from 1 to 8 bits/component• Printing: Compound images, with typical sizes of 4800 by 6600 pixels (600ppi, 8in by11in image) with 1, 3, and 4 components and 8 bits/component• Scanning: Compound images, with typical sizes of 10K x 10K up to at least 20K x 20Kpixels with 1, 3 and 4 components and up to 16 bits/component

Page 19: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000Application Requirements Application Requirements ((cont’dcont’d))

•Application profiles (cont’d):

• Digital Photography: Natural images, with sizes of at least up to 4K x 4K pixels with1, 3 components (with spatially correlated components), with a minimum of 8bits/component and a maximum of 16 bits/component• Remote Sensing: Infra-red, electro-optical, multi-spectral, hyper-spectral and SARimages, with virtually unlimited vertical definition and fixed horizontal definitiondepending on the line scan sensor upto 24000 pixels with 1 up to 500 components, and8 up to 20 bits/component precision• Mobile: Compound images, with sizes from 32 x 32 up to at least 4K x 4K pixels with 1or 3 components (Luminance, RGB, …) and 1 to 8 bits/component• Medical: Natural images, with sizes from 32 x 32 to at least 10K x 10K pixels with 1and 3 (Luminance, RGB, …) or 4 components (plus alpha) and up to 16 bits/component

• Digital libraries: Same as the Internet

• E-commerce: Same as the Internet

Page 20: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000Application Requirements Application Requirements ((cont’dcont’d))

•Uncompressed: The image is stored in the bitstream without compression

•Lossless Compression: The reconstructed image is identical, bit for bit,to the original image. Provide performance at least as good as JPEG LS.Performance includes speed, complexity, memory requirements, etc

•Visually Lossless Compression: The reconstructed image maydiffer numerically from the original image, but any such differences are notperceptible under normal viewing conditions

•Visually Lossy Compression: The reconstructed image containsperceptible differences from the original image under normal viewing conditions

•Progressive Spatial Resolution: Ability to extract lower resolutionimages from a codestream without redundant decoding

Page 21: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000Application Requirements Application Requirements ((cont’dcont’d))

•Progressive Quality Resolution: Ability to extract lower bit-rateimages from a codestream without redundant decoding or sacrifice of image quality(at that bit-rate)

•Security: Three purposes: 1) protect access to the image, 2) identify the image,source or owner in a secure way that cannot be removed or modified byunauthorized parties, 3) indication of the integrity

•Error resilience: To be “robust” (allow complete or acceptable partialdecoding) in the presence of errors in the codestream such as random errors, bursterrors, and packet or byte loss or insertion errors

•Complexity Scalability: should be scalable in complexity, so thatdepending on the applications, different levels of complexity can be implemented

Page 22: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000Application Requirements Application Requirements ((cont’dcont’d))

•Strip Processing: The ability to compress and decompress images with asingle sequential pass

•Information embedding: Efficient embedding of non-imageinformation such as text, voice annotation, web links, and other types of meta-datainformation into compressed images

•Repetitive Encoding/Decoding: The ability to decode and re-encode iteratively without adding distortion (Idempotency)

•ROI Encoding/Decoding

•Fast/Random Data Access

Page 23: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Overall System Decoder Specific

Ima

ge

Typ

e

Un

com

pre

sse

d

Lo

ssle

ss

Co

mp

ress

ion

Vis

ua

lly L

oss

less

Co

mp

ress

ion

Vis

ua

lly L

oss

y

Co

mp

ress

ion

Pro

gre

ssiv

e S

pa

tial

Pro

gre

ssiv

e Q

ua

lity

Se

curity

Err

or

Re

silie

nce

Co

mp

lexi

ty

Sca

lea

bili

ty

Str

ip P

roce

ssin

g

Se

nso

r S

pe

cific

Co

mp

ress

ion

Info

rma

tion

Em

be

dd

ing

Re

pe

titiv

e

En

cod

ing

/De

cod

ing

Ob

ject

-Ba

sed

Fu

nct

ion

alit

yM

PE

G4

VT

C

Co

mp

ata

bili

ty

Ba

ckw

ard

Co

mp

ata

bili

ty

Clie

nt

Sid

e

Ea

se o

f T

ran

sco

din

g

Dyn

am

ic R

OI

Fa

st/R

an

do

m

Da

ta A

cce

ssIm

ple

me

nta

tion

Co

mp

lexi

tyG

eo

me

tric

Ma

nip

ula

tion

Sta

tic R

OI

ITU

-T c

om

pa

tibili

ty

InternetM(1,3)O(4+)

M M M M O O M(rec. obj) M OM(Baseline)

O(non-baseline)O M O

Facsimile M O O O O O M M O O M M

Printing M M O O M O O M O

Scanning(Consumer,pre-press)

M O M M O O

DigitalPhotography

M O M O O O O O M(rec.obj.) O O O O O O

RemoteSensing

M(1,3)O(4+)

O M M M M O O O O M M M(LUTs) O O M M O M

MobileM(1,3)O(4+)

O M M O M O M O O O O O M M O

MedicalM(1,3)O(4+)

M M M M M M O M M M(rec.obj) O OM(Baseline)

O(non-baseline)O M M

Digital LibraryM(1,3)O(4+)

O M M M M O O M(rec.obj) MM(Baseline)

O(non-baseline)O M O

E-CommerceM(1,3)O(4+)

O M M M M M O M(rec.obj) MM(Baseline)

O(non-baseline)O M O

JPEG2000 Application ProfilesJPEG2000 Application Profiles

Page 24: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 FeaturesJPEG2000 Features• High compression efficiency• Lossless colour transformations• Lossy and lossless coding in one algorithm• Embedded lossy to lossless coding• Progressive by resolution and quality• Static and dynamic Region-of-Interest• Error resilience• Visual (fixed and progressive) coding• Multiple component images• Block and line based transforms• Compressed image manipulation methods

Page 25: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 RequirementsJPEG2000 Requirements• Higher compression efficiency than current JPEG

• Backward compatibility with current JPEG

• Progressive coding (by accuracy and by resolution)

• ROI coding (static and dynamic)

• Error resilience capabilities

• Object oriented functionalities (coding, information

embedding, …)

• ...

Page 26: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

First steps of algorithm developmentFirst steps of algorithm development

• November 1997 (Sydney)– about 100 participants– 24 candidate algorithms– All of them intensively tested

• objective tests (quality metrics) ran on 22 testimages at lossless and 6 different lossy bit rates(2, 1, 0.5, 0.25, 0.125, 0.0625 bpp)

• subjective tests by 40 evaluators at the 3 lowestbit rates

– selection WTCQ– VM established in March 98

JPEG2000

Page 27: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Current status of VM 5.2Current status of VM 5.2

• Wavelet based coding– more advanced than DCT-based with many

functionalities

• Software status– C implementation (SAIC / Univ. of Arizona / HP)

– JavaTM implementation (EPFL, Canon, Ericsson)

– Core experiments carried out in C up to now

Page 28: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Some examplesSome examples

JPEG2000JPEG2000versusversus

JPEG baselineJPEG baseline

Page 29: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 JPEG2000 vsvs JPEG baselineJPEG baselineWoman

0

5

10

15

20

25

30

35

40

45

50

0.0625 bpp 0.1213 bpp 0.125 bpp 0.25 bpp 0.5 bpp 1.0 bpp 2.0 bpp

Bits per pixel [bpp]

PS

NR

[d

B]

JPEG2000JPEG

Page 30: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000 JPEG2000 vsvs JPEG baseline JPEG baseline ((cont’dcont’d))

Hotel

0

5

10

15

20

25

30

35

40

45

50

0.0625bpp

0.125 bpp 0.1452bpp

0.25 bpp 0.5 bpp 1.0 bpp 2.0 bpp

Bit per pixel [bpp]

PS

NR

[d

B]

JPEG2000JPEG

Page 31: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Gold

0

5

10

15

20

25

30

35

40

45

50

0.0625 bpp 0.1196 bpp 0.125 bpp 0.25 bpp 0.5 bpp 1.0 bpp 2.0 bpp

Bits per pixel [bpp]

PS

NR

[d

B]

JPEG2000JPEG

JPEG2000 JPEG2000 vsvs JPEG baseline JPEG baseline ((cont’dcont’d))

Page 32: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEGJPEG at 0.125 at 0.125 bpp bpp

Page 33: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000 at 0.125 at 0.125 bpp bpp

Page 34: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEGJPEG at 0.25 at 0.25 bppbpp

Page 35: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000 at 0.25 at 0.25 bppbpp

Page 36: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEGJPEG at 0.125 at 0.125 bppbpp

Page 37: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000 at 0.125 at 0.125 bpp bpp

Page 38: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEGJPEG at 0.25 at 0.25 bppbpp

Page 39: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000 at 0.25 at 0.25 bppbpp

Page 40: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000

Current technical statusCurrent technical status

Page 41: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

JPEG2000JPEG2000: : Basic encoding schemeBasic encoding scheme

RateAllocation

WaveletTransform

ScanAlgorithm

QuantizerEntropy

Code

Page 42: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Embedded Block Coding withEmbedded Block Coding withOptimized Truncation (EBCOT)Optimized Truncation (EBCOT)

• Each subband is partitioned into a set of blocks

• All blocks within a subband have the same size (possible

exception for the blocks at the image boundaries)

• Blocks are encoded independently

• Post-processing operation determines the extent to which

each block’s bitstream should be truncated

• Final bitstream is composed of a collection of “layers”

Page 43: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Why block coding?Why block coding?

• exploit local variations in the statistics of the image

from block to block

• provide support for applications requiring random

access to the image

• reduce memory consumption in hardware

implementations of the compression or

decompression engine

• Allow for parallel implementation

Page 44: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

EBCOT coding operationsEBCOT coding operations

• T2: layered bitstreamformation

• T1: generation ofembedded block bit-streams

Full-featured bit-stream

Blocks of subband samples

Embedded block bit-streamsand summary information

T1Low-level embedded block

coding engine

T2Layer formation and block

summary informationcoding engine

Page 45: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

EBCOT: layered bitstream formationEBCOT: layered bitstream formation

• Each bitstream is organized as a succession of layers

• Each layer contains additional contributions fromeach block (some contributions might be empty)

• Block truncation points associated with each layer areoptimal in the rate distortion sense

• rate distortion optimization is performed but it doesnot need to be standardized

Page 46: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

EBCOT layered formationEBCOT layered formation

empty

emptyempty

empty

empty

empty

empty

empty

layer 5

layer 4

layer 3

layer 2

layer 1

block 1bit-stream

block 2bit-stream

block 3bit-stream

block 4bit-stream

block 5bit-stream

block 6bit-stream

block 7bit-stream

Page 47: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Types of Coding OperationsTypes of Coding Operations

• Zero coding (ZC)• Run-Length coding (RLC)• Sign coding (SC)• Magnitude refinement (MR)

– Arithmetic coding is used– Reduced complexity in “lazy coding mode”

Page 48: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Type of coding operations Type of coding operations ((cont’dcont’d))

� Run-Length Coding (RLC)� used in conjunction with the ZC primitive, in order to reduce the

average number of binary symbols which must be encoded usingthe arithmetic coding engine

� Sign coding (SC)� used at most once for each sample in the block immediately a

previously insignificant symbol is found to be significant during aZero Coding or Run-Length Coding operation

� Magnitude Refinement (MR)� used to encode an already significant sample

Page 49: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Types of Coding Operations Types of Coding Operations ((cont’dcont’d))

• If the sample is non yet significant, a combination ofthe "Zero Coding" (ZC) and "Run-Length Coding" (RLC)primitives is used to encode whether or not the symbolis significant in the current bit-plane

• If so, the "Sign Coding" (SC) primitive must also beinvoked to send the sign

• If the sample is already significant, the "MagnitudeRefinement" primitive is used to encode the new bit-position

Page 50: JPEG2000 Tutorial - University of Torontodsp/JPEG2000/JPEG2000_1to50.pdf · IS10918-1 (JPEG), offer excellent rate-distortion performance in the mid and high bit-rates. However, at

ICIP’99, Oct. 24-28, Kobe, JapanCharilaos Christopoulos

ERICSSON RESEARCH

Media Lab

UNIVERSITY OF PATRAS

Electronics Laboratory

Zero Coding (ZC)Zero Coding (ZC)

• Use of 1 of 9 different contextstates to code the value of thesymbol, depending upon thesignificance state variables of:

• Immediate horizontal neighbors (h)• Immediate vertical neighbors (v)• Immediate diagonal neighbors (d)• Non-immediate neighbors (f)

v

h

d