Fast vector quantization image coding by mean value predictive algorithm
description
Transcript of Fast vector quantization image coding by mean value predictive algorithm
![Page 1: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/1.jpg)
Fast vector quantization
image coding by mean value
predictive algorithm
Authors: Yung-Gi Wu, Kuo-Lun FanSource: Journal of Electronic Imaging 13(2), 324–333 (April2004).
Speaker: Meng-Jing TsaiDate: 2012.05.08
![Page 2: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/2.jpg)
2
Outline• Introductions– Vector Quantization (VQ)– Accelerate Coding Techniques• Partial Distance Search (PDS) Algorithm• Fast Euclidean Computation Technique
• Proposed Coding Scheme– Preprocessing process– Practical Encoding Process
• Simulation Results• Conclusions
![Page 3: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/3.jpg)
3
Training set
.
.
.
01...
N-2N-1
Introduction - VQ
• LBG Algorithm
Initial codebook
01...
254255
Training Images
![Page 4: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/4.jpg)
4
Introduction - VQ
• Image encoding procedure
ImageIndex table
wh
![Page 5: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/5.jpg)
5
Introduction - VQ
• Image decoding procedure
ImageIndex table
wh
![Page 6: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/6.jpg)
6
Introduction – VQ & PDS
• The traditional VQ compression system must search from the first codeword to the last one.
• It costs a lot of time.• In order to accelerate the computation, the
PDS algorithm provides an effective coding technique.
![Page 7: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/7.jpg)
7
c10 c11 c12 c13 c115
c00 c01 c02 c03 c015
Introduction - PDS
.
.
.
012
.
.
.
253254255
c20 c21 c22 c23 c215
v0 v1 v2 v3
v4 v5 v6 v7
v8 v9 v10 v11
v12 v13 v14 v15
Codebook
Vector
= dmind > dmin
= dmin
d < dmin
![Page 8: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/8.jpg)
8
Introduction
• Fast Euclidean Computation Technique Look-up Table (LUT)
![Page 9: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/9.jpg)
9
Proposed Coding Scheme
• Two parts Preprocessing process
1. A codebook that is sorted by the mean value of each codeword within the codebook.
2. The sorted mean value table of each codeword.
3. The 2D fast Euclidean table. Practical encoding process
![Page 10: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/10.jpg)
Proposed Coding Scheme• Pratical Encoding Process
50 80 155 220
100 70 80 210
85 60 85 190
105 90 85 75
mean = 108.75
06...
98108112
.
.
.219233
1st codeword
2nd codeword
.
.
.(FSP-1)th codeword
First Search Point (FSP) codeword
(FSP+1)th codeword
.
.
.254th codeword
255th codewordmean value table codebook 10
![Page 11: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/11.jpg)
11
Practical Encoding Process
PSNR = 20.499 dB
![Page 12: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/12.jpg)
12
Pratical Encoding Process
The searching direction.
![Page 13: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/13.jpg)
13
Simulation Results
• First situation– codebook1 & Lenna
• Second situation– codebook2 & Jet, Pepper, Lenna, and Scene
![Page 14: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/14.jpg)
14
Simulation Results
• First situation
PSNR and window size (codebook1 and 2D fast Euclidean technique)
PSNR and window size (codebook1 and 1D fast Euclidean technique)
![Page 15: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/15.jpg)
Simulation Results
• First situation
15
![Page 16: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/16.jpg)
16
Simulation Results
• First situation
![Page 17: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/17.jpg)
Simulation Results
• First situationThe average arithmetic operation for each pixel needed with the codebook1.
17
![Page 18: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/18.jpg)
18
Simulation Results
• Second situation– codebook2 and 2D fast Euclidean technique
Window size and CPU time Window size and PSNR
![Page 19: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/19.jpg)
19
Simulation Results
• Second situationThe average arithmetic operation for each pixel needed with the codebook2.
![Page 20: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/20.jpg)
20
Conclusions
• The PDS algorithm and the (2D) fast Euclidean technique are used to accelerate the calculation.
• It needs more memory for extra tables.• Compared to a full search algorithm, it saves
more than 95% searching time.
![Page 21: Fast vector quantization image coding by mean value predictive algorithm](https://reader035.fdocuments.net/reader035/viewer/2022062501/56815df4550346895dcc2a6d/html5/thumbnails/21.jpg)
Thank you for your listening.