SlideShare a Scribd company logo
1 of 11
JPEG 2000
• Image Type
• Image width and height: 1 to 232
– 1
• Component depth: 1 to 32 bits
• Number of components: 1 to 255
• Each component can have a different depth
• Each component can have different spans
• Some Application Requirements
• Compression: lossless, visually lossless, visually lossy
• Progressive spatial resolution and quality resolution
• Security (access protection, identification, integrity)
• Error resilience
JPEG 2000
• Some application requirements
• Strip processing
• Information embedding
• Repetitive encoding/decoding
• ROI encoding/decoding (static and dynamic)
• Fast/Random data access
• Embedded block coding with optimized truncation
• Subbands partitioned into equal blocks
• Blocks encoded independently
• Post process to determine how each block’s bitstream
should be truncated
• Final bitstream composed of a collection of layers
Lossy Video Compression
• Reducing spatial and temporal redundancy
• Why not a 3D DCT?
• 2-stage processing – interframe and intraframe coding
Motion
Estimation
Motion
Compensation
I(x,y,t-1)
I(x,y,t)
Motion
vector (u,v)
E(x,y,t)=I(x,y,t)-I(x-u,y-v,t-1)
DCT
Coding
finding corresponding
pixels
Motion Compensation
M
N(x,y) (x,y)
p
p
(x,y)
(x+u,y+v)
∑∑
−
=
−
=
++++−++=
1
0
1
0
),(),(
1
),(
M
k
N
l
ljykixRlykxC
MN
jiMAE
Macroblock
(16 x 16)
Reference
picture
Minimize MAE
Motion Estimation
• Algorithm 0: full search
• Algorithm 1: 2D-logarithmic search
• Partition the [-p,p] rectangle into a [-p/2,p/2] rectangle and the rest
• Compute the MAE function at the center and 8 perimeter points of
the [-p/2,p/2] rectangle. Let the points be d1 pixels apart
• Find the point with the minimum MAE
• Start with this location and repeat the above steps, but reduce the
distance to d1/2
• Repeat until the k-th search when the distance between the points
is 1 pixel
• Complexity?
• When will this algorithm perform poorly?
Motion Estimation
• Algorithm 2: Hierarchical Motion Estimation
• Make 2 progressively low-resolution and downsampled
versions of the current frame and the reference frame
• Let macroblock of reference frame be located at (x,y)
• Corresponding macroblocks are located in (x/2,y/2) and (x/4,y/4)
for Level 1 and Level 2
• Let the size of the Level 0 macroblock be 16 X 16
• Let the motion vector have a dynamic range of ±p pixels
• Estimate motion vector from the Level 2 image, using a
macroblock of 4 x 4 and a search space of [-p/4,p/4].
• Let MAE be minimized at (u2, v2)
Motion Estimation
• At Level 1, perform a motion vector search on 8 x 8
macroblocks
• The search is centered at (x/2+2u2, y/2+ 2v2)
• The search space is [-1,1]
• Let the minimal MAE be at (u1, v1)
• At Level 0, perform a motion vector search on 16 x 16
macroblocks
• The search is centered at (x+2u1, y+ 2v1)
• The search space is [-1,1]
• Let the minimal MAE be at (u0, v0v)
• Complexity? Tradeoffs?
• When will the algorithm not perform well?
Matching Criteria
• Pixel Difference Classification
• Pixels in the macroblock of the current frame: C(x+k,y+l)
• Those in the reference frame: R(x+i+k,y+j+l)
• PDC(i,j)=ΣkΣlTij (k,l) where Tij (k,l) = 1 if the difference is < t and 0
otherwise
• Motion vector is defined for pixels with maximum PDC
• If t = 2p
the binary form of PDC is:
BPDC(i,j)=ΣkΣl and{xnor(Cp(x+k,y+l), Rp(x+i+k,y+j+l))}
where Cpand Rp are the 8 - p most significant bits of C and R
• If more weight are assigned to the more significant bits
• BPROP(i,j)= ΣkΣl xor(Cp(x+k,y+l), Rp(x+i+k,y+j+l))
• What is the performance difference?
Matching Criteria
• Bit-plane matching
• Let F be a frame
• Filter F with convolution kernel K giving G
• Example: K(i,j) = 1/25 if i,j ∈ [1, 4, 8, 12, 16], 0 otherwise
• Compute binary frame F(i,j) = 1 if F(i,j) ≥ G(i,j), 0
otherwise
• BPM(i,j)= 1/MN ΣkΣl xor(C(x+k,y+l), R(x+i+k,y+j+l))
• Comparison: 720 X 480, 30 fps, [-15, 15]
Search MAE BPM BPM-32
Full search 29.89 3.03 1.16
Logarithmic 1.02 364.45 300.30
Basics of MPEG
• Picture sizes: up to 4095 x 4095
• Most algorithms are for the CCIR 601 format for
video frames
• Y-Cb-Cr color space
• NTSC: 525 lines per frame at 60 fps, 720 x 480 pixel
luminance frame, 360 x 480 pixel chrominance frame
• PAL: 625 lines per frame at 50 fps, 720 x 576 pixel
luminance frame, 360 x 576 pixel chrominance frame
• SIF (source input format) for digital TV
• Luminance resolution: 360 x 240 pixels at 30 fps or 360
x 288 pixels at 25 fps
• Chrominance resolution: half the luminance resolution
in both dimensions
Basics of MPEG
• Macroblocks in MPEG
• Minimum coded unit
• Interleaving: 4 8 x 8 blocks of luminance 1 8 X 8 block of
Cb, 1 8 X 8 block of Cr
• Maximum block dimension: 16
• Other parameters (constrained parameter bit stream)
• Pixel rate: 30 pps
• Motion vectors: ±64 pixels (half-pixel resolution)
• Bit rate: 1856 kbits/s

More Related Content

What's hot

Mapping Parallel Programs into Hierarchical Distributed Computer Systems
Mapping Parallel Programs into Hierarchical Distributed Computer SystemsMapping Parallel Programs into Hierarchical Distributed Computer Systems
Mapping Parallel Programs into Hierarchical Distributed Computer Systems
Mikhail Kurnosov
 

What's hot (20)

Digit recognizer by convolutional neural network
Digit recognizer by convolutional neural networkDigit recognizer by convolutional neural network
Digit recognizer by convolutional neural network
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
 
R-FCN : object detection via region-based fully convolutional networks
R-FCN :  object detection via region-based fully convolutional networksR-FCN :  object detection via region-based fully convolutional networks
R-FCN : object detection via region-based fully convolutional networks
 
Class Weighted Convolutional Features for Image Retrieval
Class Weighted Convolutional Features for Image Retrieval Class Weighted Convolutional Features for Image Retrieval
Class Weighted Convolutional Features for Image Retrieval
 
Mapping Parallel Programs into Hierarchical Distributed Computer Systems
Mapping Parallel Programs into Hierarchical Distributed Computer SystemsMapping Parallel Programs into Hierarchical Distributed Computer Systems
Mapping Parallel Programs into Hierarchical Distributed Computer Systems
 
Mask R-CNN
Mask R-CNNMask R-CNN
Mask R-CNN
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Lecture 11 (Digital Image Processing)
Lecture 11 (Digital Image Processing)Lecture 11 (Digital Image Processing)
Lecture 11 (Digital Image Processing)
 
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
Histogram processing
Histogram processingHistogram processing
Histogram processing
 
distance_matrix_ch
distance_matrix_chdistance_matrix_ch
distance_matrix_ch
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Foreground Detection : Combining Background Subspace Learning with Object Smo...
Foreground Detection : Combining Background Subspace Learning with Object Smo...Foreground Detection : Combining Background Subspace Learning with Object Smo...
Foreground Detection : Combining Background Subspace Learning with Object Smo...
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
 
Intensity Transformation Functions of image with Matlab
Intensity Transformation Functions of image with Matlab Intensity Transformation Functions of image with Matlab
Intensity Transformation Functions of image with Matlab
 
Lecture 9-online
Lecture 9-onlineLecture 9-online
Lecture 9-online
 
Gonzalez, rafael,c.digitalimageprocessingusing matlab
Gonzalez, rafael,c.digitalimageprocessingusing matlabGonzalez, rafael,c.digitalimageprocessingusing matlab
Gonzalez, rafael,c.digitalimageprocessingusing matlab
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency Domain
 

Viewers also liked

File formats and its types
File formats and its typesFile formats and its types
File formats and its types
Anu Garg
 

Viewers also liked (20)

Mmclass9
Mmclass9Mmclass9
Mmclass9
 
Video formats guide
Video formats guideVideo formats guide
Video formats guide
 
image formats
image formatsimage formats
image formats
 
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVECTYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
TYPES OF IMAGE FILE FORMAT - MATHANKUMAR.S - VMKVEC
 
Image formats
Image formatsImage formats
Image formats
 
Commonly Used Image File Formats
Commonly Used Image File FormatsCommonly Used Image File Formats
Commonly Used Image File Formats
 
Lesson 6 - Image File Formats
Lesson 6 - Image File FormatsLesson 6 - Image File Formats
Lesson 6 - Image File Formats
 
Video formats
Video formatsVideo formats
Video formats
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file format
 
Multimedia formats
Multimedia formatsMultimedia formats
Multimedia formats
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
Barriers in Communication
Barriers in CommunicationBarriers in Communication
Barriers in Communication
 
Chapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and toolsChapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and tools
 
Image Files Formats
Image Files FormatsImage Files Formats
Image Files Formats
 
Multimedia data and file format
Multimedia data and file formatMultimedia data and file format
Multimedia data and file format
 
Multimedia
MultimediaMultimedia
Multimedia
 
Image file formats
Image file formatsImage file formats
Image file formats
 
File formats and its types
File formats and its typesFile formats and its types
File formats and its types
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
 

Similar to Mmclass5

CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdf
MohammadAzreeYahaya
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
Tong Teerayuth
 
"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence
Edge AI and Vision Alliance
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdf
JunZhao68
 

Similar to Mmclass5 (20)

CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdf
 
Deblocking_Filter_v2
Deblocking_Filter_v2Deblocking_Filter_v2
Deblocking_Filter_v2
 
lossy compression JPEG
lossy compression JPEGlossy compression JPEG
lossy compression JPEG
 
Mmclass4
Mmclass4Mmclass4
Mmclass4
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
 
Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...
Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...
Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
DC04 Image Compression Standards.pdf
DC04 Image Compression Standards.pdfDC04 Image Compression Standards.pdf
DC04 Image Compression Standards.pdf
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.ppt
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence"Fundamentals of Monocular SLAM," a Presentation from Cadence
"Fundamentals of Monocular SLAM," a Presentation from Cadence
 
Mmclass3
Mmclass3Mmclass3
Mmclass3
 
Efficient Variable Size Template Matching Using Fast Normalized Cross Correla...
Efficient Variable Size Template Matching Using Fast Normalized Cross Correla...Efficient Variable Size Template Matching Using Fast Normalized Cross Correla...
Efficient Variable Size Template Matching Using Fast Normalized Cross Correla...
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdf
 
Basic image processing techniques
Basic image processing techniquesBasic image processing techniques
Basic image processing techniques
 
notes_Image Compression.ppt
notes_Image Compression.pptnotes_Image Compression.ppt
notes_Image Compression.ppt
 
notes_Image Compression.ppt
notes_Image Compression.pptnotes_Image Compression.ppt
notes_Image Compression.ppt
 
Computer Graphics Unit 1
Computer Graphics Unit 1Computer Graphics Unit 1
Computer Graphics Unit 1
 
Online video object segmentation via convolutional trident network
Online video object segmentation via convolutional trident networkOnline video object segmentation via convolutional trident network
Online video object segmentation via convolutional trident network
 

More from Hassan Dar (8)

Mmclass6
Mmclass6Mmclass6
Mmclass6
 
Mmclass2
Mmclass2Mmclass2
Mmclass2
 
Mmclass1
Mmclass1Mmclass1
Mmclass1
 
Lecture1
Lecture1Lecture1
Lecture1
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Ch4
Ch4Ch4
Ch4
 
Msd ch2 issues in multimedia
Msd ch2 issues in multimediaMsd ch2 issues in multimedia
Msd ch2 issues in multimedia
 
Mmclass10
Mmclass10Mmclass10
Mmclass10
 

Recently uploaded

ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
Madan Karki
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 

Recently uploaded (20)

Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Introduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and ApplicationsIntroduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and Applications
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
BORESCOPE INSPECTION for engins CFM56.pdf
BORESCOPE INSPECTION for engins CFM56.pdfBORESCOPE INSPECTION for engins CFM56.pdf
BORESCOPE INSPECTION for engins CFM56.pdf
 
How to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdfHow to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdf
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor bank
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 

Mmclass5

  • 1. JPEG 2000 • Image Type • Image width and height: 1 to 232 – 1 • Component depth: 1 to 32 bits • Number of components: 1 to 255 • Each component can have a different depth • Each component can have different spans • Some Application Requirements • Compression: lossless, visually lossless, visually lossy • Progressive spatial resolution and quality resolution • Security (access protection, identification, integrity) • Error resilience
  • 2. JPEG 2000 • Some application requirements • Strip processing • Information embedding • Repetitive encoding/decoding • ROI encoding/decoding (static and dynamic) • Fast/Random data access • Embedded block coding with optimized truncation • Subbands partitioned into equal blocks • Blocks encoded independently • Post process to determine how each block’s bitstream should be truncated • Final bitstream composed of a collection of layers
  • 3. Lossy Video Compression • Reducing spatial and temporal redundancy • Why not a 3D DCT? • 2-stage processing – interframe and intraframe coding Motion Estimation Motion Compensation I(x,y,t-1) I(x,y,t) Motion vector (u,v) E(x,y,t)=I(x,y,t)-I(x-u,y-v,t-1) DCT Coding finding corresponding pixels
  • 5. Motion Estimation • Algorithm 0: full search • Algorithm 1: 2D-logarithmic search • Partition the [-p,p] rectangle into a [-p/2,p/2] rectangle and the rest • Compute the MAE function at the center and 8 perimeter points of the [-p/2,p/2] rectangle. Let the points be d1 pixels apart • Find the point with the minimum MAE • Start with this location and repeat the above steps, but reduce the distance to d1/2 • Repeat until the k-th search when the distance between the points is 1 pixel • Complexity? • When will this algorithm perform poorly?
  • 6. Motion Estimation • Algorithm 2: Hierarchical Motion Estimation • Make 2 progressively low-resolution and downsampled versions of the current frame and the reference frame • Let macroblock of reference frame be located at (x,y) • Corresponding macroblocks are located in (x/2,y/2) and (x/4,y/4) for Level 1 and Level 2 • Let the size of the Level 0 macroblock be 16 X 16 • Let the motion vector have a dynamic range of ±p pixels • Estimate motion vector from the Level 2 image, using a macroblock of 4 x 4 and a search space of [-p/4,p/4]. • Let MAE be minimized at (u2, v2)
  • 7. Motion Estimation • At Level 1, perform a motion vector search on 8 x 8 macroblocks • The search is centered at (x/2+2u2, y/2+ 2v2) • The search space is [-1,1] • Let the minimal MAE be at (u1, v1) • At Level 0, perform a motion vector search on 16 x 16 macroblocks • The search is centered at (x+2u1, y+ 2v1) • The search space is [-1,1] • Let the minimal MAE be at (u0, v0v) • Complexity? Tradeoffs? • When will the algorithm not perform well?
  • 8. Matching Criteria • Pixel Difference Classification • Pixels in the macroblock of the current frame: C(x+k,y+l) • Those in the reference frame: R(x+i+k,y+j+l) • PDC(i,j)=ΣkΣlTij (k,l) where Tij (k,l) = 1 if the difference is < t and 0 otherwise • Motion vector is defined for pixels with maximum PDC • If t = 2p the binary form of PDC is: BPDC(i,j)=ΣkΣl and{xnor(Cp(x+k,y+l), Rp(x+i+k,y+j+l))} where Cpand Rp are the 8 - p most significant bits of C and R • If more weight are assigned to the more significant bits • BPROP(i,j)= ΣkΣl xor(Cp(x+k,y+l), Rp(x+i+k,y+j+l)) • What is the performance difference?
  • 9. Matching Criteria • Bit-plane matching • Let F be a frame • Filter F with convolution kernel K giving G • Example: K(i,j) = 1/25 if i,j ∈ [1, 4, 8, 12, 16], 0 otherwise • Compute binary frame F(i,j) = 1 if F(i,j) ≥ G(i,j), 0 otherwise • BPM(i,j)= 1/MN ΣkΣl xor(C(x+k,y+l), R(x+i+k,y+j+l)) • Comparison: 720 X 480, 30 fps, [-15, 15] Search MAE BPM BPM-32 Full search 29.89 3.03 1.16 Logarithmic 1.02 364.45 300.30
  • 10. Basics of MPEG • Picture sizes: up to 4095 x 4095 • Most algorithms are for the CCIR 601 format for video frames • Y-Cb-Cr color space • NTSC: 525 lines per frame at 60 fps, 720 x 480 pixel luminance frame, 360 x 480 pixel chrominance frame • PAL: 625 lines per frame at 50 fps, 720 x 576 pixel luminance frame, 360 x 576 pixel chrominance frame • SIF (source input format) for digital TV • Luminance resolution: 360 x 240 pixels at 30 fps or 360 x 288 pixels at 25 fps • Chrominance resolution: half the luminance resolution in both dimensions
  • 11. Basics of MPEG • Macroblocks in MPEG • Minimum coded unit • Interleaving: 4 8 x 8 blocks of luminance 1 8 X 8 block of Cb, 1 8 X 8 block of Cr • Maximum block dimension: 16 • Other parameters (constrained parameter bit stream) • Pixel rate: 30 pps • Motion vectors: ±64 pixels (half-pixel resolution) • Bit rate: 1856 kbits/s