Foundation of Video Coding



Yüklə 0,5 Mb.
səhifə2/5
tarix22.09.2023
ölçüsü0,5 Mb.
#146995
1   2   3   4   5
skalyar va vektorli kvantlash 3 lab

Function Representation

  • ©Yao Wang, 2003
  • Coding: Quantization

Distortion Measure

  • ©Yao Wang, 2003
  • Coding: Quantization
  • General measure:
  • Mean Square Error (MSE)

Uniform Quantization

  • ©Yao Wang, 2003
  • Coding: Quantization
  • Uniform source:
  • Each additional bit provides 6dB gain!

Minimum MSE (MMSE) Quantizer

  • ©Yao Wang, 2003
  • Coding: Quantization
    • Nearest neighbor condition:
    • Centroid condition:
  • Special case: uniform source
    • MSE optimal quantizer = Uniform quantizer
  • (Nearest Neighbor
  • Condition)
  • (Centroid Condition)
  • or

High Resolution Approximation

  • ©Yao Wang, 2003
  • Coding: Quantization

Lloyd Algorithm

  • Iterative algorithms for determining MMSE quantizer parameters
  • Can be based on a pdf or training data
  • Iterate between centroid condition and nearest neighbor condition

Vector Quantization

  • ©Yao Wang, 2003
  • Coding: Quantization
  • General description
  • Nearest neighbor quantizer
  • MMSE quantizer
  • Generalized Lloyd algorithm

Vector Quantization: General Description

  • ©Yao Wang, 2003
  • Coding: Quantization
  • Motivation: quantize a group of samples (a vector) together, to exploit the correlation between these samples
  • Each sample vector is replaced by one of representative vectors (or patterns) that often occur in the signal
  • Applications:
    • Color quantization: Quantize all colors appearing in an image to L colors for display on a monitor that can only display L distinct colors at a time – Adaptive palette
    • Image quantization: Quantize every NxN block into one of the L typical patterns (obtained through training). More efficient with larger block size, but block size are limited by complexity.

Yüklə 0,5 Mb.

Dostları ilə paylaş:
1   2   3   4   5




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin