7
Most read
8
Most read
9
Most read
EFFICIENT CODEBOOK DESIGN
FOR IMAGE COMPRESSION
USING VECTOR QUANTIZATION
CONTENTS
•   Introduction
•   Compression techniques
•   Types of lossless data compression
•   Types of lossy data compression
•   Vector quantization
•   LBG algorithm
INTRODUCTION
• Data compression is a process of encoding data
  so that it takes lesser storage space and lesser
  transmission time than the data which is not
  compressed.
• Data compression is the art or science of
  representing information in a compact form.
• Compression is possible because most real world
  data is very redundant.
COMPRESSION TECHNIQUES
• Mainly there are two types of compression techniques.

1) Lossless Compression:
   – Lossless compression techniques involve no loss of
   information. If the data have been losslessly
   compressed, the original data can be recovered exactly
   from the compressed data.

2) Lossy Compression:
  – Lossy compression techniques involve some loss of
   information, and data that have been compressed
   using lossy techniques generally cannot be recovered
   exactly.
TYPES OF LOSLESS DATA COMPRESSION
• Dictionary coders
  – Zip (file formats)
• Entropy coding
  – Huffman coding ( simple entropy coding)
• Run-length coding
TYPES OF LOSSY DATA COMPRESSION
• Scalar Quantization:
 – The most common type of quantization is scalar
  quantization. Scalar quantization, typically denoted as y
  =Q(x) is the process of using quantization function Q( )
  to map a scalar input value x to scalar output value y.

• Vector Quantization:
– A vector quantizer maps k-dimensional vectors in the
  vector space Rk into a finite set of vectors Y = {yi: i = 1, 2,
  ..., N}. Each vector yi is called a code vector or
  a codeword. and the set of all the codewords is called
  a codebook.
VECTOR QUANTIZATION
• The amount of compression will be described in
  terms of the rate, which will be measured in bits
  per sample. Suppose we have a codebook of size
  k, and the input vector is of dimension L. We
  need to use [log 2 k] bits to specify which of the
  code-vectors was selected. The rate for an L-
  dimensional vector quantizer with a codebook of
  size K is [log 2 k]/L       .
VECOR QUANTIZATION
 Source
 output       Encoder    Decoder   Reconstruction


          Find closest   Table
Group                               Unblock
          code-vector    lookup
into
vectors




                                               5
VECTOR QUANTIZATION ENCODING
• VQ was first proposed by Gray in 1984.
• First, construct codebook which is composed of
  codevector.
• For one vector being encoding, find the nearest
  vector in codebook. (determined by Euclidean
  distance)
• Replace the vector by the index in codebook.
• When decoding, find the vector corresponding
  by the index in codebook.
LBG ALGORITHM

• Proposed by Linde, Buzo, Gray
• The basic idea is to divide a group of vector. To
  find a most representative vector from one
  group. Then gather the vectors to form a
  codebook.
LBG ALGORITHM
1.   Divide image into blocks. Then we can view one
     block as k-dimension vector.
        Ex: block: 4x4 , consider 512x512 image, which
     can be divided into (512x512)/(4x4)=16384
     blocks. Each block can be viewed 16 dimension
     vector.
2.   Arbitrarily choose initial codebook.
3.   Set these initial codebook as centroids. Other
     vectors are grouped. Vectors are in the same group
     when they have the same nearest centroid.
4.   Again, to find new centroids for every group. Get a
     new codebooks. Repeat 2,3 steps until the
     centroids of every group converge.
APPLICATION OF VECTOR
QUANTIZATION
 Vector quantization technique is efficiently used
 in various areas of biometric modalities like
 finger print pattern recognition ,face recognition
 by generating codebooks of desired size.

More Related Content

PDF
Lecture 1: Deep Learning for Computer Vision
PPTX
Vector Quantization Vs Scalar Quantization
PDF
openCV with python
PDF
Python in Computer Vision
PPTX
Mc Culloch Pitts Neuron
PPT
Data compression
PPT
Machine Learning and Robotics
PDF
Introduction to OpenCV
Lecture 1: Deep Learning for Computer Vision
Vector Quantization Vs Scalar Quantization
openCV with python
Python in Computer Vision
Mc Culloch Pitts Neuron
Data compression
Machine Learning and Robotics
Introduction to OpenCV

What's hot (20)

PDF
Digital Image Processing - Image Compression
ODP
image compression ppt
PPTX
Predictive coding
PPSX
Color Image Processing: Basics
PPT
Wavelet transform in image compression
PPT
Fidelity criteria in image compression
PPTX
Image Enhancement in Spatial Domain
PPT
Huffman Coding
PPTX
Image compression
PPTX
Region based segmentation
PPTX
Homomorphic filtering
PPTX
Simultaneous Smoothing and Sharpening of Color Images
PPTX
Transform coding
PPTX
Point processing
PPTX
Fundamental steps in image processing
PPTX
Image Enhancement using Frequency Domain Filters
PDF
Lecture 16 KL Transform in Image Processing
PPTX
Chapter 9 morphological image processing
PPTX
Image Representation & Descriptors
PPTX
Lossless predictive coding in Digital Image Processing
Digital Image Processing - Image Compression
image compression ppt
Predictive coding
Color Image Processing: Basics
Wavelet transform in image compression
Fidelity criteria in image compression
Image Enhancement in Spatial Domain
Huffman Coding
Image compression
Region based segmentation
Homomorphic filtering
Simultaneous Smoothing and Sharpening of Color Images
Transform coding
Point processing
Fundamental steps in image processing
Image Enhancement using Frequency Domain Filters
Lecture 16 KL Transform in Image Processing
Chapter 9 morphological image processing
Image Representation & Descriptors
Lossless predictive coding in Digital Image Processing
Ad

Similar to Vector quantization (20)

PPT
vector QUANTIZATION
PPT
vector QUANTIZATION
PPT
vector QUANTIZATION
PPTX
Project pptVLSI ARCHITECTURE FOR AN IMAGE COMPRESSION SYSTEM USING VECTOR QUA...
PDF
Unit 5 Quantization
PDF
Parallelization of the LBG Vector Quantization Algorithm for Shared Memory Sy...
PDF
Performance Comparison of K-means Codebook Optimization using different Clust...
PDF
Speech recognition using vector quantization through modified k means lbg alg...
PDF
AN EFFICIENT CODEBOOK INITIALIZATION APPROACH FOR LBG ALGORITHM
PPTX
Multimedia lossy compression algorithms
PDF
A systematic image compression in the combination of linear vector quantisati...
PPTX
Structure Vector Quantizes In Data Compression
PPTX
Pyramid Vector Quantization
PDF
Investigative Compression Of Lossy Images By Enactment Of Lattice Vector Quan...
PDF
Developing and comparing an encoding system using vector quantization &
PDF
Developing and comparing an encoding system using vector quantization &
PDF
Dynamic time wrapping (dtw), vector quantization(vq), linear predictive codin...
PDF
Performance Improvement of Vector Quantization with Bit-parallelism Hardware
PPTX
DIP.pptx
PPTX
Data compression
vector QUANTIZATION
vector QUANTIZATION
vector QUANTIZATION
Project pptVLSI ARCHITECTURE FOR AN IMAGE COMPRESSION SYSTEM USING VECTOR QUA...
Unit 5 Quantization
Parallelization of the LBG Vector Quantization Algorithm for Shared Memory Sy...
Performance Comparison of K-means Codebook Optimization using different Clust...
Speech recognition using vector quantization through modified k means lbg alg...
AN EFFICIENT CODEBOOK INITIALIZATION APPROACH FOR LBG ALGORITHM
Multimedia lossy compression algorithms
A systematic image compression in the combination of linear vector quantisati...
Structure Vector Quantizes In Data Compression
Pyramid Vector Quantization
Investigative Compression Of Lossy Images By Enactment Of Lattice Vector Quan...
Developing and comparing an encoding system using vector quantization &
Developing and comparing an encoding system using vector quantization &
Dynamic time wrapping (dtw), vector quantization(vq), linear predictive codin...
Performance Improvement of Vector Quantization with Bit-parallelism Hardware
DIP.pptx
Data compression
Ad

Recently uploaded (20)

PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
SaaS reusability assessment using machine learning techniques
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PPTX
Microsoft User Copilot Training Slide Deck
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
Early detection and classification of bone marrow changes in lumbar vertebrae...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Build automations faster and more reliably with UiPath ScreenPlay
A symptom-driven medical diagnosis support model based on machine learning te...
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
SaaS reusability assessment using machine learning techniques
Electrocardiogram sequences data analytics and classification using unsupervi...
SGT Report The Beast Plan and Cyberphysical Systems of Control
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Advancing precision in air quality forecasting through machine learning integ...
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
Internet of Everything -Basic concepts details
Auditboard EB SOX Playbook 2023 edition.
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Microsoft User Copilot Training Slide Deck
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Build Real-Time ML Apps with Python, Feast & NoSQL
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx

Vector quantization

  • 1. EFFICIENT CODEBOOK DESIGN FOR IMAGE COMPRESSION USING VECTOR QUANTIZATION
  • 2. CONTENTS • Introduction • Compression techniques • Types of lossless data compression • Types of lossy data compression • Vector quantization • LBG algorithm
  • 3. INTRODUCTION • Data compression is a process of encoding data so that it takes lesser storage space and lesser transmission time than the data which is not compressed. • Data compression is the art or science of representing information in a compact form. • Compression is possible because most real world data is very redundant.
  • 4. COMPRESSION TECHNIQUES • Mainly there are two types of compression techniques. 1) Lossless Compression: – Lossless compression techniques involve no loss of information. If the data have been losslessly compressed, the original data can be recovered exactly from the compressed data. 2) Lossy Compression: – Lossy compression techniques involve some loss of information, and data that have been compressed using lossy techniques generally cannot be recovered exactly.
  • 5. TYPES OF LOSLESS DATA COMPRESSION • Dictionary coders – Zip (file formats) • Entropy coding – Huffman coding ( simple entropy coding) • Run-length coding
  • 6. TYPES OF LOSSY DATA COMPRESSION • Scalar Quantization: – The most common type of quantization is scalar quantization. Scalar quantization, typically denoted as y =Q(x) is the process of using quantization function Q( ) to map a scalar input value x to scalar output value y. • Vector Quantization: – A vector quantizer maps k-dimensional vectors in the vector space Rk into a finite set of vectors Y = {yi: i = 1, 2, ..., N}. Each vector yi is called a code vector or a codeword. and the set of all the codewords is called a codebook.
  • 7. VECTOR QUANTIZATION • The amount of compression will be described in terms of the rate, which will be measured in bits per sample. Suppose we have a codebook of size k, and the input vector is of dimension L. We need to use [log 2 k] bits to specify which of the code-vectors was selected. The rate for an L- dimensional vector quantizer with a codebook of size K is [log 2 k]/L .
  • 8. VECOR QUANTIZATION Source output Encoder Decoder Reconstruction Find closest Table Group Unblock code-vector lookup into vectors 5
  • 9. VECTOR QUANTIZATION ENCODING • VQ was first proposed by Gray in 1984. • First, construct codebook which is composed of codevector. • For one vector being encoding, find the nearest vector in codebook. (determined by Euclidean distance) • Replace the vector by the index in codebook. • When decoding, find the vector corresponding by the index in codebook.
  • 10. LBG ALGORITHM • Proposed by Linde, Buzo, Gray • The basic idea is to divide a group of vector. To find a most representative vector from one group. Then gather the vectors to form a codebook.
  • 11. LBG ALGORITHM 1. Divide image into blocks. Then we can view one block as k-dimension vector. Ex: block: 4x4 , consider 512x512 image, which can be divided into (512x512)/(4x4)=16384 blocks. Each block can be viewed 16 dimension vector. 2. Arbitrarily choose initial codebook. 3. Set these initial codebook as centroids. Other vectors are grouped. Vectors are in the same group when they have the same nearest centroid. 4. Again, to find new centroids for every group. Get a new codebooks. Repeat 2,3 steps until the centroids of every group converge.
  • 12. APPLICATION OF VECTOR QUANTIZATION Vector quantization technique is efficiently used in various areas of biometric modalities like finger print pattern recognition ,face recognition by generating codebooks of desired size.