SlideShare une entreprise Scribd logo
1  sur  16
VIDEO COMPRESSION:
SUM OF ABSOLUTE DIFFRENCES
PRESENTED BY:

1. NIKUNJ HINSU
2. DHAVAL KANERIA
What is VIDEO ?
 The technique in which images are recorded, manipulated and
displayed in a motion.
 Persistence of Vision Plays an vital Role
 An image shown to any human persists for 1/25th second on the
retina, So if images are shown at a rate of 25 pictures per second
then we wouldn’t be able to perceive the blank spaces.
A Cinema Film Roll comprises of Pictures or
Frames only
Roll is projected onto screen at very high rate
Which gives feeling of Motion Picture

WHAT IS DIGITAL VIDEO?

 Digital Video refers to the capturing, manipulation and storage of video in digital
formats (MPEG, .avi, .mkv, etc.).
 A digital video camcorder (Sony Handi-Cam ©), for example, is a video camera
that captures and stores images on a digital medium
 When Digital Video are transferred & modified over INTERNET the size of video
really matters in terms of accessibility. So video compression is required to reduce
the size upto reasonable extent
How Actually Video Compression Works ?

No lose of information
Compression is comparatively low

Redundancy in consecutive frames is
removed by SAD

Lose of information Occurs
Compression is comparatively high

Size compression occurs by
discarding the data of frames in a
video, it will ultimately reduce the
quality of video.
It is used in internet telephony,
video conference
LOSSLESS COMPRESSION:
SUM OF ABSOLUTE DIFFRENCES

The pixels of House is steady, So
not included in transmitted
video
SUM OF ABSOLUTE DIFFRENCES
A,B are the memory elements which 1 byte long and
256 element deep.

SAD

A

256-byte array

32-bits
B

Sad_Out

256-byte array
Go

CLOCK

By using Matlab R2012, we generate hex file which can be used for reading
hexadecimal numbers to initialize memories i.e. A & B
VERILOG IMPLEMENTATION
module SADSAD(Go, outp, Clk, Rst);
input Go;
output reg [31:0] outp;
input Clk, Rst;
reg [7:0]A [0:255];
reg [7:0]B [0:255];
reg [2:0]State;
integer Sum, SAD_Reg;
integer I;
VERILOG IMPLEMENTATION
Sum = 0
I=0

!Go

S0

Go

S1

S2
I < 256

I > 256
SAD_Reg = Sum

S4

S3
Sum=Sum+ABS(A[I]-B[I])
I=I+1
VERILOG IMPLEMENTATION
initial $readmemh ("lenaorignal.txt", A);
initial $readmemh ( "distorted.txt", B);
Program will start taking SAD when “GO” Pulse is being Provided
S3:
begin
Sum <=Sum +ABS(A[I]-B[I]);
I<= I+ 1;
State <=S2;
end
VERILOG IMPLEMENTATION
Function ABS depicts the Absolute Value for converting a
negative difference of A & B into positive difference
function integer ABS;
input integer IntVal;
begin
ABS = (IntVal>=0)?IntVal:-IntVal;
end
endfunction
Xilinx Waveform
Xilinx Waveform
Xilinx Waveform
Conclusion:
Thus we successfully implemented VIDEO COMPRESSION ALGORITHM by
using SUM of Absolute Differences
By using this algorithm we would be able to significantly reduce the size of
VIDEO

Applications:
1. Video Conferencing like Skype, Cisco WebEx

2. Video Streaming Websites like YouTube
3. Video-on-demand, Video surveillance

4. Digital storage media CD-ROM, DVD, BluRay
VIdeo Compression using sum of Absolute Difference

Contenu connexe

Tendances

Tendances (15)

Chapter 1 introduction to multimedia
Chapter 1 introduction to multimediaChapter 1 introduction to multimedia
Chapter 1 introduction to multimedia
 
HDMI Troubleshooting & System Design
HDMI Troubleshooting & System DesignHDMI Troubleshooting & System Design
HDMI Troubleshooting & System Design
 
Tipologias multimedia
Tipologias multimediaTipologias multimedia
Tipologias multimedia
 
EPABX new
EPABX newEPABX new
EPABX new
 
Consumer Electronics PPT
Consumer Electronics PPT Consumer Electronics PPT
Consumer Electronics PPT
 
LCD and LED Video Wall Comparison
LCD and LED Video Wall Comparison   LCD and LED Video Wall Comparison
LCD and LED Video Wall Comparison
 
Audiocraft, "Tools of Radio"
Audiocraft, "Tools of Radio" Audiocraft, "Tools of Radio"
Audiocraft, "Tools of Radio"
 
SMI_SNUG_paper_v10
SMI_SNUG_paper_v10SMI_SNUG_paper_v10
SMI_SNUG_paper_v10
 
ピエゾ素子のSpiceモデルとシミュレーション
ピエゾ素子のSpiceモデルとシミュレーションピエゾ素子のSpiceモデルとシミュレーション
ピエゾ素子のSpiceモデルとシミュレーション
 
Hdmi
Hdmi Hdmi
Hdmi
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
PCI Slot
PCI SlotPCI Slot
PCI Slot
 
REPORT ON PROJECTORS
REPORT ON PROJECTORSREPORT ON PROJECTORS
REPORT ON PROJECTORS
 
Intel microprocessors
Intel microprocessorsIntel microprocessors
Intel microprocessors
 
Kinect presentation
Kinect presentationKinect presentation
Kinect presentation
 

Similaire à VIdeo Compression using sum of Absolute Difference

Ch07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptCh07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptdjempol
 
csc103 video editing overview
csc103 video editing overviewcsc103 video editing overview
csc103 video editing overviewRichard Homa
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesDan MacKinlay
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEOazira96
 
Multimedia applications
Multimedia applicationsMultimedia applications
Multimedia applicationssmoky_stu
 
Motion graphics and_compositing_video_analysis_worksheet stings
Motion graphics and_compositing_video_analysis_worksheet stingsMotion graphics and_compositing_video_analysis_worksheet stings
Motion graphics and_compositing_video_analysis_worksheet stingsunicoproductionsuk
 
Video editing Course
Video editing CourseVideo editing Course
Video editing CourseClassboat.com
 
Digital Video
Digital VideoDigital Video
Digital VideoVideoguy
 
DIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATION
DIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATIONDIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATION
DIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATIONramya marichamy
 
Adobe Session on Flash Online Conference #12
Adobe Session on Flash Online Conference #12Adobe Session on Flash Online Conference #12
Adobe Session on Flash Online Conference #12Flash Conference
 
Development of Digital Videos.pptx
Development of Digital Videos.pptxDevelopment of Digital Videos.pptx
Development of Digital Videos.pptxSri Sabari
 

Similaire à VIdeo Compression using sum of Absolute Difference (20)

Mm video
Mm videoMm video
Mm video
 
Ch07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptCh07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.ppt
 
Video
VideoVideo
Video
 
csc103 video editing overview
csc103 video editing overviewcsc103 video editing overview
csc103 video editing overview
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick Rodrigues
 
Digital video
Digital videoDigital video
Digital video
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
8
88
8
 
Multimedia applications
Multimedia applicationsMultimedia applications
Multimedia applications
 
06 vdo
06 vdo06 vdo
06 vdo
 
Motion graphics and_compositing_video_analysis_worksheet stings
Motion graphics and_compositing_video_analysis_worksheet stingsMotion graphics and_compositing_video_analysis_worksheet stings
Motion graphics and_compositing_video_analysis_worksheet stings
 
Video editing Course
Video editing CourseVideo editing Course
Video editing Course
 
Worksheet 1
Worksheet 1Worksheet 1
Worksheet 1
 
Multi media unit-3.doc
Multi media unit-3.docMulti media unit-3.doc
Multi media unit-3.doc
 
Digital Video
Digital VideoDigital Video
Digital Video
 
Video editing
Video editingVideo editing
Video editing
 
DIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATION
DIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATIONDIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATION
DIGITAL VIDEO DATA SIZING AND OBJECT BASED ANIMATION
 
Adobe Session on Flash Online Conference #12
Adobe Session on Flash Online Conference #12Adobe Session on Flash Online Conference #12
Adobe Session on Flash Online Conference #12
 
Development of Digital Videos.pptx
Development of Digital Videos.pptxDevelopment of Digital Videos.pptx
Development of Digital Videos.pptx
 

Plus de Dhaval Kaneria

Objective-C for iOS Application Development
Objective-C for iOS Application DevelopmentObjective-C for iOS Application Development
Objective-C for iOS Application DevelopmentDhaval Kaneria
 
Gpu with cuda architecture
Gpu with cuda architectureGpu with cuda architecture
Gpu with cuda architectureDhaval Kaneria
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and AlgorithmDhaval Kaneria
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and AlgorithmDhaval Kaneria
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Dhaval Kaneria
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedureDhaval Kaneria
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedureDhaval Kaneria
 
Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1
Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1
Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1Dhaval Kaneria
 
8 bit single cycle processor
8 bit single cycle processor8 bit single cycle processor
8 bit single cycle processorDhaval Kaneria
 
Paper on Optimized AES Algorithm Core Using FeedBack Architecture
Paper on Optimized AES Algorithm Core Using  FeedBack Architecture Paper on Optimized AES Algorithm Core Using  FeedBack Architecture
Paper on Optimized AES Algorithm Core Using FeedBack Architecture Dhaval Kaneria
 
PAPER ON MEMS TECHNOLOGY
PAPER ON MEMS TECHNOLOGYPAPER ON MEMS TECHNOLOGY
PAPER ON MEMS TECHNOLOGYDhaval Kaneria
 

Plus de Dhaval Kaneria (20)

Swine flu
Swine flu Swine flu
Swine flu
 
Introduction of Xcode
Introduction of XcodeIntroduction of Xcode
Introduction of Xcode
 
Objective-C for iOS Application Development
Objective-C for iOS Application DevelopmentObjective-C for iOS Application Development
Objective-C for iOS Application Development
 
Gpu with cuda architecture
Gpu with cuda architectureGpu with cuda architecture
Gpu with cuda architecture
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
 
HDMI
HDMIHDMI
HDMI
 
Hdmi
HdmiHdmi
Hdmi
 
open source hardware
open source hardwareopen source hardware
open source hardware
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedure
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedure
 
Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1
Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1
Manage Xilinx ISE 14.5 licence for Windows 8 and 8.1
 
VERILOG CODE
VERILOG CODEVERILOG CODE
VERILOG CODE
 
8 bit single cycle processor
8 bit single cycle processor8 bit single cycle processor
8 bit single cycle processor
 
Paper on Optimized AES Algorithm Core Using FeedBack Architecture
Paper on Optimized AES Algorithm Core Using  FeedBack Architecture Paper on Optimized AES Algorithm Core Using  FeedBack Architecture
Paper on Optimized AES Algorithm Core Using FeedBack Architecture
 
PAPER ON MEMS TECHNOLOGY
PAPER ON MEMS TECHNOLOGYPAPER ON MEMS TECHNOLOGY
PAPER ON MEMS TECHNOLOGY
 
Mems technology
Mems technologyMems technology
Mems technology
 
Network security
Network securityNetwork security
Network security
 
Token bus standard
Token bus standardToken bus standard
Token bus standard
 

Dernier

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 

Dernier (20)

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 

VIdeo Compression using sum of Absolute Difference

  • 1. VIDEO COMPRESSION: SUM OF ABSOLUTE DIFFRENCES PRESENTED BY: 1. NIKUNJ HINSU 2. DHAVAL KANERIA
  • 2. What is VIDEO ?  The technique in which images are recorded, manipulated and displayed in a motion.  Persistence of Vision Plays an vital Role  An image shown to any human persists for 1/25th second on the retina, So if images are shown at a rate of 25 pictures per second then we wouldn’t be able to perceive the blank spaces.
  • 3. A Cinema Film Roll comprises of Pictures or Frames only Roll is projected onto screen at very high rate Which gives feeling of Motion Picture WHAT IS DIGITAL VIDEO?  Digital Video refers to the capturing, manipulation and storage of video in digital formats (MPEG, .avi, .mkv, etc.).  A digital video camcorder (Sony Handi-Cam ©), for example, is a video camera that captures and stores images on a digital medium  When Digital Video are transferred & modified over INTERNET the size of video really matters in terms of accessibility. So video compression is required to reduce the size upto reasonable extent
  • 4. How Actually Video Compression Works ? No lose of information Compression is comparatively low Redundancy in consecutive frames is removed by SAD Lose of information Occurs Compression is comparatively high Size compression occurs by discarding the data of frames in a video, it will ultimately reduce the quality of video. It is used in internet telephony, video conference
  • 5. LOSSLESS COMPRESSION: SUM OF ABSOLUTE DIFFRENCES The pixels of House is steady, So not included in transmitted video
  • 6. SUM OF ABSOLUTE DIFFRENCES A,B are the memory elements which 1 byte long and 256 element deep. SAD A 256-byte array 32-bits B Sad_Out 256-byte array Go CLOCK By using Matlab R2012, we generate hex file which can be used for reading hexadecimal numbers to initialize memories i.e. A & B
  • 7.
  • 8. VERILOG IMPLEMENTATION module SADSAD(Go, outp, Clk, Rst); input Go; output reg [31:0] outp; input Clk, Rst; reg [7:0]A [0:255]; reg [7:0]B [0:255]; reg [2:0]State; integer Sum, SAD_Reg; integer I;
  • 9. VERILOG IMPLEMENTATION Sum = 0 I=0 !Go S0 Go S1 S2 I < 256 I > 256 SAD_Reg = Sum S4 S3 Sum=Sum+ABS(A[I]-B[I]) I=I+1
  • 10. VERILOG IMPLEMENTATION initial $readmemh ("lenaorignal.txt", A); initial $readmemh ( "distorted.txt", B); Program will start taking SAD when “GO” Pulse is being Provided S3: begin Sum <=Sum +ABS(A[I]-B[I]); I<= I+ 1; State <=S2; end
  • 11. VERILOG IMPLEMENTATION Function ABS depicts the Absolute Value for converting a negative difference of A & B into positive difference function integer ABS; input integer IntVal; begin ABS = (IntVal>=0)?IntVal:-IntVal; end endfunction
  • 15. Conclusion: Thus we successfully implemented VIDEO COMPRESSION ALGORITHM by using SUM of Absolute Differences By using this algorithm we would be able to significantly reduce the size of VIDEO Applications: 1. Video Conferencing like Skype, Cisco WebEx 2. Video Streaming Websites like YouTube 3. Video-on-demand, Video surveillance 4. Digital storage media CD-ROM, DVD, BluRay

Notes de l'éditeur

  1. Good morning friends, as my friend said, 5d == 1 byte, 1byte * 256 == 256 byte