ERICSSON RESEARCH Media Lab JPEG2000tabus/course/SC/jpeg2000Eusipco2000_part1.pdf · coding system...
Transcript of ERICSSON RESEARCH Media Lab JPEG2000tabus/course/SC/jpeg2000Eusipco2000_part1.pdf · coding system...
ERICSSON RESEARCHMedia Lab
1Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
JPEG2000JPEG2000The next generation still imageThe next generation still image
coding systemcoding system
Touradj Ebrahimi*, Charilaos Christopoulos**
*Ecole Polytechnique Federale de Lausanne, Switzerland
**MediaLab, Ericsson Research, Stockholm, Sweden
2Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Standards Organizations• International Organization for Standardization
(ISO)– 75 Member Nations– 150+ Technical Committees– 600+ Subcommittees– 1500+ Working Groups
• International Electrotechnical Commission(IEC)– 41 Member Nations– 80+ Technical Committees– 100+ Subcommittees– 700+ Working Groups
3Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
ISO / IEC TerminologyISO / IEC Terminology• 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
4Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG: SummaryJPEG (Joint Photographic Experts Group)
“Digital Compression and Coding of Continuous-tone Still Images”
• Joint ISO and ITU-T
• Published in 4 Parts:– ISO/IEC 10918-1 | ITU-T T.81 : Requirements and guidelines
– ISO/IEC 10918-2 | ITU-T T.83 : Compliance testing
– ISO/IEC 10918-3 | ITU-T T.84: Extensions
– ISO/IEC 10918-4 | ITU-T T.86: Registration of JPEG Parameters, Profiles, Tags, Color Spaces, APPn Markers Compression Types, and Registration Authorities (REGAUT)
5Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG: Summary (cont.)JPEG derived industry standards
• JFIF (JPEG File Interchange Format, <xxxxxx.jpg>)
• JTIP (JPEG Tiled, Pyramid Format)
• TIFF (Tagged Image File Format)
• SPIFF (Still Picture Interchange File Format, JPEG Part 3)
• FlashPix– Developed by Hewlett-Packard, Kodak, Microsoft, Live Picture
(1996)
– Transferred to Digital Imaging Group (DIG), an industry consortium
6Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG 2000: Image Coding System
7Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Why another still image compression standard?Why another still image compression standard?
•Low bit-rate compression: for example below 0.25 bpp
•Lossless and lossy compression: No current standardexists that can provide superior lossy and lossless compression ina single codestream.
•Computer generated imagery: JPEG was optimized fornatural imagery and does not perform well on computer generatedimagery.
In order to address areas that the current standards fail toproduce the best quality or performance, as for example:
8Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
•Transmission in noisy environments: The current
JPEG standard has provision for restart intervals, but image quality
suffers dramatically when bit errors are encountered.
•Compound documents: Currently, JPEG is seldom used in
the compression of compound documents because of its poor
performance when applied to bi-level (text) imagery.
•Random codestream access and processing
Why another still image compression standard? Why another still image compression standard? (cont’d)(cont’d)
9Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
• Open Architecture: Desirable to allow openarchitecture to optimise the system for differentimage types and applications.
• Progressive transmission by pixel accuracy andresolution
Why another still image compression standard?Why another still image compression standard? (cont’d)(cont’d)
10Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
• Internet• Mobile• Printing• Scanning• Digital Photography• Remote Sensing• Facsimile• Medical• Digital Libraries• E-Commerce
JPEG2000JPEG2000Markets and ApplicationsMarkets and Applications
11Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
The relation JPEG The relation JPEG ⇔⇔⇔⇔ JPEG2000 JPEG2000
• JPEG2000 is intended to complementand not to replace the current JPEGstandards
12Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000 contributorsJPEG2000 contributors• 21 countries / 80-100 meeting attendees
– EUROPE• Ericsson, Nokia, Philips, Canon, Motorola, IMEC, EPFL,
NTNU, Technical University of Denmark, VUB, TechnicalUniversity of Berlin
– USA/Canada• Kodak, HP, Rockwell, Motorola, TI, Ricoh, Sharp, Adobe,
Sarnoff, SAIC, Teralogic, Univ. of Arizona, Univ. of SouthernCalifornia, Univ. of Maryland, UBC, RPI
– ASIA/Australia• Samsung, Sony, Mitsubishi, CISRA, Univ. New South Wales,
Oki, Panasonic, ...
• 3-4 meetings per year
13Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
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– Promotion to CD, FCD, FDIS as well as creation of
different parts
• Current status: VM 8, FDIS
14Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
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
15Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000 work planJPEG2000 work plan• Part I: A set of tools covering a good proportion of
application requirements (20-80 rules)
• Other parts are also defined and planned for a
further date
• Possible Amendment will be added to Part I
• Schedule for part I:Elevation to FDIS: 08/00Elevation to IS: 12/00
16Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000 work planJPEG2000 work plan• Part II: Extension tools to cover specific applications
• Part III: Motion JPEG2000
• Part IV: Conformance
• Part V: Reference software
• Part VI: Compound images file format
• Part VII: Technical Report
• Part VIII: ?
17Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
SStatustatus of of existingexistingimplementationsimplementations
Software status– C implementation (SAIC / Univ. of Arizona / HP)
• JPEG2000 Verification Model used for the development of thestandard
– JavaTM implementation (EPFL, Ericsson, Canon)• Reference implementation of JPEG2000 in part V and publicly
available
– C implementation (ImagePower / UBC)• Reference implementation of JPEG2000 in part V
18Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000 Features in Part IJPEG2000 Features in Part I• High compression efficiency• Lossless colour transformations• Lossy and lossless coding in one algorithm• Embedded lossy to lossless coding• Progressive by resolution, quality, position, …• Static and dynamic Region-of-Interest coding/decoding• Error resilience• Perceptual quality coding• Multiple component image coding• Tiling• Palletized image coding• Light file format (optional)• …
ERICSSON RESEARCHMedia Lab
19Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
Some examplesSome examples
JPEG2000JPEG2000versusversus
JPEG baselineJPEG baseline
20Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000 JPEG2000 vs.vs. JPEG baseline JPEG baseline(cont’d)(cont’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
21Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEGJPEG at 0.125 bpp at 0.125 bpp
22Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000JPEG2000 at 0.125 bpp at 0.125 bpp
23Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEGJPEG at 0.25 bpp at 0.25 bpp
24Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000JPEG2000 at 0.25 bpp at 0.25 bpp
25Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEGJPEG at at 0.50.5 bpp bpp
26Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000JPEG2000 at at 0.50.5 bpp bpp
27Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG compound image 1.0 bpp
28Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000 compound image 1.0 bpp
29Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Major Differences betweenMajor Differences betweenJPEG and JPEG2000JPEG and JPEG2000
• New functionalities– ROI– Better error resiliency– More flexible progressive coding– ...
• Lossy to lossless in one system• Better compression at low bit-rates• Better at compound images and graphics
(palletized)
30Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000JPEG2000 MPEG-4 VTC and JPEG MPEG-4 VTC and JPEG
30
32
34
36
38
40
42
44
46
0 0.5 1 1.5 2 2.5
Bitrate (bpp)
PS
NR
(d
B) JPEG2000 R
JPEG2000 NR
MPEG-4 VTC
P-JPEG
31Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some lossless compressionresults
Image JPEG lossless JPEG-LS JPEG2000Lena (24bpp) 14.75
(1.627 : 1)13.56(1.770 : 1)
13.54(1.773 : 1)
Cmpnd1 (8bpp) 2.48(3.226 : 1)
1.24(6.452 : 1)
2.12(3.774 : 1)
32Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Comparison of various algorithmsComparison of various algorithmsfrom a functionality point of viewfrom a functionality point of view
lgorithm Losslesscomp.
Lossycomp.
Embeddedbitstream
Regionofinterest
Arbitraryshapedobject
Errorresilient
Scalable Comple-xity
Randomaccess
Generic
PEG (+) ++ - - - - (+) ++(+) + +MPEG-4 VTC - +++ +++ + ++ ++ ++ + - ++PEG-LS ++++ + + - - - - ++ - +PEG2000 +++ +++ +++ ++ - ++ ++ + ++ +++
33Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
More in depth comparisonsMore in depth comparisonsbetween between JPEG2000JPEG2000 versus other versus other
standardsstandards• « JPEG 2000 still image coding versus other standards », D.
Santa-Cruz, T. Ebrahimi, J. Askelöf, M. Larsson and Ch.Christopoulos, in Proc. of SPIE, Vol. 4115
• « A study of JPEG 2000 still image coding versus otherstandards », D. Santa-Cruz, T. Ebrahimi, in Proc. of the XEuropean Signal Processing Conference (EUSIPCO), Tampere,Finland, September 5-8, 2000
• « An analytical study of JPEG 2000 functionalities », D. Santa-Cruz, T. Ebrahimi, in Proc. of the IEEE International Conferenceon Image Processing (ICIP), Vancouver, Canada, September10-13, 2000
34Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000JPEG2000
Algorithm descriptionAlgorithm description
35Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
JPEG2000JPEG2000: : Basic encoding schemeBasic encoding scheme
Wavelettransform
Codeblockpartition
Quantization Entropycoding
Rateallocation
36Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
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”
37Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
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
38Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
EBCOT coding operationsEBCOT coding operations
• T2: layered bitstreamformation
• T1: generation ofembedded block bit-streams
T1Low-level embedded block
coding engine
T2Layer formation and block
summary informationcoding engine
39Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
EBCOT: layered bitstream formationEBCOT: layered bitstream formation
• Each bitstream is organized as a succession of layers
• Each layer contains additional contributions from
each block (some contributions might be empty)
• Block truncation points associated with each layer are
optimal in the rate distortion sense
• Rate distortion optimization can be performed but it
does not need to be standardized
40Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
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
41Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Wavelet TransformWavelet Transform
• Two filters supported– W9x7 (Floating point)for lossy coding– W5x3 (Integer) for
lossless coding• Only dyadic
decompositionsupported
Dyadic decomposition
42Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some results for different filtersSome results for different filtersPSNR [dB] - Filter Comparison (Hotel)
0
5
10
15
20
25
30
35
40
45
50
0,0625 bpp 0,125 bpp 0,25 bpp 0,5 bpp 1,0 bpp 2,0 bpp
Decoded bit rate [bpp]
PS
NR
[d
B]
W9X7(Float)W13X7CRF(Int)W5X3(Int)W10X18(Float)
43Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some results forSome results for lossless lossless coding coding
Image: Woman
2920000
2925000
2930000
2935000
2940000
2945000
2950000
2955000
2960000
File
siz
e in
byt
es
W5X3W2X10W13X7
44Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some results forSome results for lossless lossless coding coding
Image: Hotel
236000
236500
237000
237500
238000
238500
239000
File
siz
e in
byt
es
W5X3W2X10W13X7
45Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some results for lossless codingSome results for lossless coding
Image: Gold
237500
238000
238500
239000
239500
240000
File
siz
e in
byt
es
W5X3W2X10W13X7
46Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
QuantizationQuantization• Explicit
– Define a specific quantization step for each subband– Smaller quantization steps for lower resolution subbands
• Implicit– Quantization steps derived from LL subband quantization steps– Smaller quantization steps for lower resolution subbands
• Reversible– No quantization but pure bit plane coding of transform coefficients
• Possibility of visual weighting− Fixed visual weighting− Visual progressive coding (VIP)
47Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some results: SQSome results: SQ vs vs. TCQ. TCQ
Image: Bike
05
101520253035404550
0,0625 0,125 0,25 0,5 1 2
Bits per pixel [bpp]
PS
NR
[d
B]
SQTCQ(subband)
48Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Some results: SQSome results: SQ vs vs. TCQ. TCQ((contcont.).)
Image: Woman
05
101520253035404550
0,0625 0,125 0,25 0,5 1 2
Bits per pixel [bpp]
PS
NR
[d
B]
SQTCQ
49Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
LAZY CODING MODE
• Not all bitplanes need to be encoded byarithmetic coding
• Some bits are saved as raw bits• This increases speed without sacrificing
performance
50Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Lazy mode: Image “Gold”Gold: No lazy mode vs. lazy mode
0
5
10
15
20
25
30
35
40
45
50
0.0625 0.125 0.25 0.5 1.0 2.0
Bits per pixel [bpp]
PS
NR
[d
B]
No Lazy modeLazy mode
51Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
No lazy mode: 0.0625No lazy mode: 0.0625 bpp bpp
52Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Lazy mode: 0.0625Lazy mode: 0.0625 bpp bpp
53Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
No lazy mode: 0.25No lazy mode: 0.25 bpp bpp
54Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
lazy mode: 0.25lazy mode: 0.25 bpp bpp
55Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Multi-component imageryMulti-component imagery
– up to 256 components– arbitrary dimensions/bit depths for
each component– reversible & non-reversible component
color transforms
56Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Reversible color transformation:Reversible color transformation:making lossless color coding possiblemaking lossless color coding possible
GBVr
GRUr
BGRYr
−=−=
++
=4
*2
GVrB
GUrR
VrUrYrG
+=+=
+−= )
4(
All components must have identicalsubsampling parameters and same depthbefore transformation
57Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Multiresolution decomposition
OriginalImage
58Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
LH1
HL1
HH1
LL1
Multiresolution decomposition
LL1
59Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Multiresolution decomposition
LL2
LH1
HL1
HH1
LH2 HH2
HL2LL2
60Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Multiresolution decomposition
LH1 HH1
LH2 HH2
HL2
HL3
HH3LH3
LL3
HL1
61Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Example of dyadic decompositioninto subbands
Multiresolution decomposition
62Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
– Different modes are realized depending onthe way information is written into thecodestream
codestream
JPEG2000: JPEG2000: ScalabilityScalability
63Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Resolution
64Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Resolution
65Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Resolution
66Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Resolution
67Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Accuracy
68Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Accuracy
69Signal Processing Laboratory Swiss Federal Institute of Technology, Lausanne
ERICSSON RESEARCHMedia Lab
Scalability - Progressive By Accuracy