|
|
səhifə | 3/5 | tarix | 22.09.2023 | ölçüsü | 0,5 Mb. | | #146995 |
| skalyar va vektorli kvantlash 3 lab
- Every point in a region (Bl) is replaced by (quantized to) the point indicated by the circle (gl)
Distortion Measure Nearest Neighbor (NN) Quantizer - Challenge: How to determine the codebook?
Complexity of NN VQ - Complexity analysis:
- Must compare the input vector with all the codewords
- Each comparison takes N operations
- Need L=2^{NR} comparisons
- Total operation = N 2^{NR}
- Total storage space = N 2^{NR}
- Both computation and storage requirement increases exponentially with N!
- Example:
- N=4x4 pixels, R=1 bpp: 16x2^16=2^20=1 Million operation/vector
- Apply to video frames, 720x480 pels/frame, 30 fps: 2^20*(720x480/16)*30=6.8 E+11 operations/s !
- When applied to image, block size is typically limited to <= 4x4
- Fast algorithms:
MMSE Vector Quantizer - Necessary conditions for MMSE
- Nearest neighbor condition
- Generalized centroid condition:
- MSE as distortion:
Caveats - Both quantizer satisfy the NN and centroid condition, but the quantizer on the right is better!
- NN and centroid conditions are necessary but NOT sufficient for MSE optimality!
Dostları ilə paylaş: |
|
|