SlideShare a Scribd company logo
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

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
Entrepreneur / Startup
 
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
Universitat Politècnica de Catalunya
 
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
 
Mask R-CNN
Mask R-CNNMask R-CNN
Mask R-CNN
Chanuk Lim
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
asodariyabhavesh
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Lecture 11 (Digital Image Processing)
Lecture 11 (Digital Image Processing)Lecture 11 (Digital Image Processing)
Lecture 11 (Digital Image Processing)
VARUN KUMAR
 
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...
Shahbaz Alam
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Histogram processing
Histogram processingHistogram processing
distance_matrix_ch
distance_matrix_chdistance_matrix_ch
distance_matrix_ch
vikasveshishth
 
Image enhancement
Image enhancementImage 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...
Shanghai Jiao Tong University(上海交通大学)
 
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...
CRS4 Research Center in Sardinia
 
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
Shafi Sourov
 
Lecture 9-online
Lecture 9-onlineLecture 9-online
Lecture 9-online
lifebreath
 
Gonzalez, rafael,c.digitalimageprocessingusing matlab
Gonzalez, rafael,c.digitalimageprocessingusing matlabGonzalez, rafael,c.digitalimageprocessingusing matlab
Gonzalez, rafael,c.digitalimageprocessingusing matlab
urmia university of technology
 
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
Mostafa G. M. Mostafa
 

What's hot (18)

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

Mmclass9
Mmclass9Mmclass9
Mmclass9
Hassan Dar
 
Video formats guide
Video formats guideVideo formats guide
Video formats guide
Paulo Vasques
 
image formats
image formatsimage formats
image formats
Arun Kumar
 
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
Mathankumar S
 
Image formats
Image formatsImage formats
Image formats
IET DAVV Indore
 
Commonly Used Image File Formats
Commonly Used Image File FormatsCommonly Used Image File Formats
Commonly Used Image File Formats
Fatih Özlü
 
Lesson 6 - Image File Formats
Lesson 6 - Image File FormatsLesson 6 - Image File Formats
Video formats
Video formatsVideo formats
Video formats
Nuttaphon Eiamwongsarn
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file format
ALOK SAHNI
 
Multimedia formats
Multimedia formatsMultimedia formats
Multimedia formats
Christian Macatangay
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
Ishank Ranjan
 
Barriers in Communication
Barriers in CommunicationBarriers in Communication
Barriers in Communication
Master Verma
 
Chapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and toolsChapter 2 multimedia authoring and tools
Chapter 2 multimedia authoring and tools
ABDUmomo
 
Image Files Formats
Image Files FormatsImage Files Formats
Image Files Formats
Sarah Fernetich
 
Multimedia data and file format
Multimedia data and file formatMultimedia data and file format
Multimedia data and file format
Niketa Jain
 
Multimedia
MultimediaMultimedia
Multimedia
Sean Chia
 
Image file formats
Image file formatsImage file formats
Image file formats
Bob Watson
 
File formats and its types
File formats and its typesFile formats and its types
File formats and its types
Anu Garg
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
Online
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
anuj
 

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
 
Deblocking_Filter_v2
Deblocking_Filter_v2Deblocking_Filter_v2
Deblocking_Filter_v2
Shereef Shehata
 
lossy compression JPEG
lossy compression JPEGlossy compression JPEG
lossy compression JPEG
Mahmoud Hikmet
 
Mmclass4
Mmclass4Mmclass4
Mmclass4
Hassan Dar
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
Hassan Dar
 
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 ...
Daosheng Mu
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
Christian Kehl
 
DC04 Image Compression Standards.pdf
DC04 Image Compression Standards.pdfDC04 Image Compression Standards.pdf
DC04 Image Compression Standards.pdf
ssuser1bd081
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.ppt
HarisMasood20
 
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
 
Mmclass3
Mmclass3Mmclass3
Mmclass3
Hassan Dar
 
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...
Gurbinder Gill
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdf
JunZhao68
 
Basic image processing techniques
Basic image processing techniquesBasic image processing techniques
Basic image processing techniques
Heikham Anandkumar Singh
 
notes_Image Compression.ppt
notes_Image Compression.pptnotes_Image Compression.ppt
notes_Image Compression.ppt
HarisMasood20
 
notes_Image Compression.ppt
notes_Image Compression.pptnotes_Image Compression.ppt
notes_Image Compression.ppt
HarisMasood20
 
Computer Graphics Unit 1
Computer Graphics Unit 1Computer Graphics Unit 1
Computer Graphics Unit 1
aravindangc
 
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
NAVER Engineering
 

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

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

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

New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 

Recently uploaded (20)

New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 

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