17.02.2014 Views

Scalar and Vector Quantization

Scalar and Vector Quantization

Scalar and Vector Quantization

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Lloyd-Max Algorithm (3/3)<br />

If the initial guess of y 1 does not fulfills the termination<br />

condition:<br />

y M<br />

ˆ<br />

/ 2<br />

− y M / 2<br />

≤ ε,<br />

where<br />

yˆ = M 2<br />

2bM<br />

/ 2 1<br />

yM<br />

/ 2 1,<br />

y<br />

+<br />

/ − −<br />

b<br />

∫<br />

M / 2<br />

b<br />

/ 2<br />

= ( ) ∫<br />

M<br />

xf<br />

X<br />

x dx<br />

b<br />

b<br />

M / 2−1<br />

( x)<br />

dx.<br />

we must pick a different y 1 <strong>and</strong> repeat the process.<br />

M<br />

/ 2<br />

M / 2−1<br />

f<br />

X<br />

40/55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!