SlideShare a Scribd company logo
1 of 30
Presented by:
Soheila Sheikhbahaei
1392
Kharazmi University of Tehran
VIDEO STABILIZATION
OUTLINE
• What is video stabilization?
• Where is it useful?
• How does it work?
• What are the problems
DEFINITION
• Most amateur videos are captured using hand-held cameras. They are often very shaky
and difficult to watch.
• Video stabilization techniques have been developed to smooth shaky camera motion in
videos before viewing.
• Stabilization is the process of estimating and compensating for the background image
motion occurring due to the ego-motion of the camera.
ELIMINATING JITTER
• Although this jitter can be eliminated by anchoring the binoculars on a tripod, this is not
always feasible.
EXAMPLE
Wang, Y.S., et al., Spatially and Temporally Optimized Video Stabilization. IEEE transactions on visualization and computer graphics, 2013.
http://people.cs.nctu.edu.tw/~yushuen/VideoStabilization/
PARALLAX
• Parallax is a displacement or difference in the apparent position of an object viewed along
two different lines of sight
BIOLOGICAL MOTIVATION: INSECT NAVIGATION
• Insects have relatively small nervous system with very few neurons when compared to the
human brain, they are still capable of complex tasks, such as safe landing, obstacle
avoidance.
• Behavioral research with insects suggest that insects primarily use visual information.
• Insects have immobile eyes with fixed focal length. Moreover, they do not possess
stereoscopic vision. Insect eyes possess inferior spatial acuity but their eyes sample the
world at a significantly higher rate than human eyes do.
• The study can serve as a pure motivational tool indicating that such complex tasks, such
as stabilization, can be performed real-time, with the accuracy desired. Second, this study
can lead us into the paradigm of “active vision” or “purposive vision”.
• In fact, several researchers have used such biologically inspired mechanisms for flight
control and obstacle avoidance.
Al Bovik. The Essential Guide to Video Processing
BIOLOGICAL MOTIVATION: INSECT NAVIGATION
• Bees that fly through holes tend to fly through the center of these holes. Bees, like most
other insects, cannot measure distances from surfaces by using stereoscopic vision.
• Recent experiments have indicated that bees balance the image motion on the lateral
portion of their two eyes as they fly through openings.
• Bees were trained to fly in narrow tunnels with certain patterns on the side walls of the
tunnels. It was shown in that bees tended to fly at the center of this tunnel when the
patterns on the side walls were stationary.
• If one of these patterned side walls was moved in the direction of the bee’s flight, thereby
reducing the image motion experienced by the bee on that side, then the bees moved
closer to that side wall. Similarly, when one of the patterned side walls was moved in the
direction opposite to the direction of the bee’s flight, the bee moved away from the moving
wall.
BIOLOGICAL MOTIVATION: INSECT NAVIGATION
• Collision avoidance is another task that is visually driven in most insects. When an insect
approaches an obstacle, its image expands on it’s eyes. Insects are sensitive to this
image expansion and turn away from the direction in which the image expansion occurs,
thereby avoiding collision with obstacles.
DIFFERENT ALGORITHMS
• Depending on the type of scenario and the type of motion involved, we have different
algorithms to achieve stabilization.
• Presence of a dominant plane in the scene
• Derotation of the image sequence
• Mosaic construction
• Presence of moving objects
CLASSIFICATION OF TECHNIQUES
• Techniques are classified as two categories:
• Feature-based methods: extract and match discrete features between frames and
trajectories of these features are fit to a global motion model.
• Flow-based methods: optical flow of the image sequence is an intermediate quantity
that is used in determining the global motion.
PHASES OF STABILIZATION
• In video stabilization, we need to analyze the image motion and obtain models for the
global motion in image sequences.
• Generally the process of stabilization have to go through two phases:
• motion estimation
• motion smoothing
CAMERA MODEL
• The imaging geometry of a perspective camera:
EFFECT OF CAMERA MOTION
• The effect of camera motion can be computed using projective geometry:
EFFECT OF CAMERA MOTION
• Other popular global deformations mapping the projection of a point between two frames
are the similarity:
and affine transformations:
IMAGE FEATURES
• The basic goal in feature-based motion estimation is to use features to find maps that
relate the images taken from different view-points.
• These maps are then used to estimate the image motion by computing the parameters of
a motion model.
• Consider the case of pure rotation:
• Though various lengths, ratios, and angles formed on the images are all different, the
cross ratio remains the same. Given four collinear points A, B, C, and D on an image,
R. Hartley and A. Zisserman. Multiple View Geometry in computer vision. Cambridge University Press, Cambridge, UK, 2000.
IMAGE FEATURES
• this intuition leads to a map relating the two images.
• Given four corresponding points in general position in the two images, we can map any
point from one image to the other.
• Now, any point F on ABE will map to point F´ such that the cross ratio is preserved.
• This way one can map each point on one image to the other image. Such a map is called
homography.
IMAGE FEATURES
• In the case of planar scene:
• x1, a point on first image plane, xp, the corresponding point on the real plane, x2, the
corresponding point on the second image plane.
• Thus, homography H =H1H2 maps points from one image plane to the other.
IMAGE FEATURES
• On the other hand, when there are depth variations in the scene, such a homography
doesn’t exist between images formed by camera translation.
• In the case of depth variations, we can use structure from motion (SFM) approaches to
estimate the motion of the camera.
FEATURE BASED ALGORITHMS
• A number of features are extracted in each image and feature matching algorithms are
used to establish correspondence between the images.
• The motion parameters are found by first identifying the set of feature matches.
FEATURE TRAJECTORY SMOOTHING
• Let the ith trajectory be where pi and m and n are the start and the end frames of Pi,
respectively.
• Our goal is to solve an optimization problem that can minimize the acceleration of Pi in
each frame while constraining the offsets of neighboring trajectories to be consistent
within the input video.
Wang, Y.S., et al., Spatially and Temporally Optimized Video Stabilization. IEEE transactions on visualization and computer graphics, 2013.
BEZIER CURVES
• Bezier curves are used in computer graphics to produce curves which appear reasonably
smooth at all scales (as opposed to polygonal lines, which will not scale nicely) in which
the interpolating polynomials depend on certain control points.
FEATURE TRAJECTORY SMOOTHING
• each smoothed trajectory is represented using a Be’zier curve and reduce the unknown
variables from all feature positions to curve control points. This reduced model also
achieves strong stabilization because the smoothed feature positions are interpolated
from the control points. We show the details of our technique in the following subsections.
DELAUNAY TRIANGULATION
• In mathematics and computational geometry, a Delaunay triangulation for a set P of
points in a plane is a triangulation DT(P) such that no point in P is inside
the circumcircle of any triangle in DT(P).
• In geometry, the circumscribed circle or circumcircle of a polygon is a circle which
passes through all the vertices of the polygon..
SPATIAL RIGIDITY PRESERVATION
• spatial rigidity is retained when stabilizing a video in order to preserve neighboring feature
trajectories to have similar treatments.
• Specifically, we compute the neighbor relations between features in each frame using the
Delaunay triangulation and enforce each triangle to undergo a rigid transformation. That
is, triangles are allowed to move and rotate but their sizes and shapes should be retained.
• This constraint works well in most videos.
OBJECTIVE FUNCTION
• we search for the control points of Bezier curves that can minimize the objective function.
RESULTS
LIMITATIONS
• Although the algorithm is robust to all challenging examples, the stabilization is not
effective if there are no background features in some frames.
MOSAICING
• Mosaicing is the process of compositing or piecing together successive frames of the
stabilized image sequence so as to virtually increase the field of view of the camera.
• Mosaics are commonly defined only for scenes viewed by a pan/tilt camera, for which the
images can be related by a projective transformation.
REFERENCES
• Al Bovik. The Essential Guide to Video Processing
• Wang, Y.S., et al., Spatially and Temporally Optimized Video Stabilization. IEEE
transactions on visualization and computer graphics, 2013.
• http://www.ics.uci.edu/~eppstein/gina/delaunay.html
• http://en.wikipedia.org/wiki/Delaunay_triangulation
• http://www.math.ubc.ca/~cass/gfx/bezier.html
• http://en.wikipedia.org/wiki/B%C3%A9zier_curve
• http://people.cs.nctu.edu.tw/~yushuen/VideoStabilization/

More Related Content

What's hot

Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics SystemPrathimaBaliga
 
computer graphics
computer graphicscomputer graphics
computer graphicsMegabi Mamo
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphicsSHIVANI SONI
 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics University of Potsdam
 
Arbitrary style transfer in real time with adaptive instance normalization
Arbitrary style transfer in real time with adaptive instance normalizationArbitrary style transfer in real time with adaptive instance normalization
Arbitrary style transfer in real time with adaptive instance normalizationSangshik Park
 
Hable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr LightingHable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr Lightingozlael ozlael
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphicsSafayet Hossain
 
Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafMD Naseem Ashraf
 
NDC2015 유니티 정적 라이팅 이게 최선인가요
NDC2015 유니티 정적 라이팅 이게 최선인가요  NDC2015 유니티 정적 라이팅 이게 최선인가요
NDC2015 유니티 정적 라이팅 이게 최선인가요 Wuwon Yu
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram ProcessingAmnaakhaan
 
Image enhancement
Image enhancementImage enhancement
Image enhancementvsaranya169
 
.bmp image data format
.bmp image data format.bmp image data format
.bmp image data formatMahesh pawar
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGmuthu181188
 
Gamma and linear color-space
Gamma and linear color-spaceGamma and linear color-space
Gamma and linear color-space민웅 이
 

What's hot (20)

Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
 
ANIMATION SEQUENCE
ANIMATION SEQUENCEANIMATION SEQUENCE
ANIMATION SEQUENCE
 
Abhilash VFX presentation
Abhilash VFX presentationAbhilash VFX presentation
Abhilash VFX presentation
 
computer graphics
computer graphicscomputer graphics
computer graphics
 
Image Recontruction
Image RecontructionImage Recontruction
Image Recontruction
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Computer animation Computer Graphics
Computer animation Computer Graphics Computer animation Computer Graphics
Computer animation Computer Graphics
 
Arbitrary style transfer in real time with adaptive instance normalization
Arbitrary style transfer in real time with adaptive instance normalizationArbitrary style transfer in real time with adaptive instance normalization
Arbitrary style transfer in real time with adaptive instance normalization
 
Module 2
Module 2Module 2
Module 2
 
GRPHICS06 - Shading
GRPHICS06 - ShadingGRPHICS06 - Shading
GRPHICS06 - Shading
 
Hable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr LightingHable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr Lighting
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
 
Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem Ashraf
 
NDC2015 유니티 정적 라이팅 이게 최선인가요
NDC2015 유니티 정적 라이팅 이게 최선인가요  NDC2015 유니티 정적 라이팅 이게 최선인가요
NDC2015 유니티 정적 라이팅 이게 최선인가요
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
.bmp image data format
.bmp image data format.bmp image data format
.bmp image data format
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Frame buffer
Frame bufferFrame buffer
Frame buffer
 
Gamma and linear color-space
Gamma and linear color-spaceGamma and linear color-space
Gamma and linear color-space
 

Viewers also liked

"Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr...
"Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr..."Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr...
"Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr...Edge AI and Vision Alliance
 
Bus duct and computer networks by vivek kushwaha
Bus duct and computer networks  by vivek kushwahaBus duct and computer networks  by vivek kushwaha
Bus duct and computer networks by vivek kushwahaVivek Kushwaha
 
Energy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSNEnergy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSNZubin Bhuyan
 
Stabilization of soil using bitumenous emulsions
Stabilization of soil using bitumenous emulsionsStabilization of soil using bitumenous emulsions
Stabilization of soil using bitumenous emulsionsprashanth kumar
 
Comparison of image fusion methods
Comparison of image fusion methodsComparison of image fusion methods
Comparison of image fusion methodsAmr Nasr
 
Nano Technology
Nano TechnologyNano Technology
Nano TechnologyZeusAce
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor NetworksKarthik
 
wireless sensor network my seminar ppt
wireless sensor network my seminar pptwireless sensor network my seminar ppt
wireless sensor network my seminar pptEisha Madhwal
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with DataSeth Familian
 

Viewers also liked (18)

"Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr...
"Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr..."Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr...
"Digital Gimbal: Rock-steady Video Stabilization without Extra Weight!," a Pr...
 
Ois report
Ois reportOis report
Ois report
 
Ois front page
Ois front pageOis front page
Ois front page
 
DFMC SBAS Receiver Development
DFMC SBAS Receiver DevelopmentDFMC SBAS Receiver Development
DFMC SBAS Receiver Development
 
Bus duct and computer networks by vivek kushwaha
Bus duct and computer networks  by vivek kushwahaBus duct and computer networks  by vivek kushwaha
Bus duct and computer networks by vivek kushwaha
 
IRNSS by Sree Bhargava
IRNSS by Sree BhargavaIRNSS by Sree Bhargava
IRNSS by Sree Bhargava
 
IRNSS
IRNSSIRNSS
IRNSS
 
Energy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSNEnergy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSN
 
Stabilization of soil using bitumenous emulsions
Stabilization of soil using bitumenous emulsionsStabilization of soil using bitumenous emulsions
Stabilization of soil using bitumenous emulsions
 
Wsn ppt original
Wsn ppt originalWsn ppt original
Wsn ppt original
 
Image Sensor PPT
Image Sensor PPTImage Sensor PPT
Image Sensor PPT
 
Comparison of image fusion methods
Comparison of image fusion methodsComparison of image fusion methods
Comparison of image fusion methods
 
Nano Technology
Nano TechnologyNano Technology
Nano Technology
 
Electronics ppt
Electronics ppt Electronics ppt
Electronics ppt
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
Ece ppt[1]
Ece ppt[1]Ece ppt[1]
Ece ppt[1]
 
wireless sensor network my seminar ppt
wireless sensor network my seminar pptwireless sensor network my seminar ppt
wireless sensor network my seminar ppt
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 

Similar to Video stabilization

Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereoBaliThorat1
 
Deep vo and slam iii
Deep vo and slam iiiDeep vo and slam iii
Deep vo and slam iiiYu Huang
 
Computer Vision Structure from motion
Computer Vision Structure from motionComputer Vision Structure from motion
Computer Vision Structure from motionWael Badawy
 
Computer Vision sfm
Computer Vision sfmComputer Vision sfm
Computer Vision sfmWael Badawy
 
Fisheye Omnidirectional View in Autonomous Driving II
Fisheye Omnidirectional View in Autonomous Driving IIFisheye Omnidirectional View in Autonomous Driving II
Fisheye Omnidirectional View in Autonomous Driving IIYu Huang
 
عرض تقديمي (1)filter.pptx
عرض تقديمي (1)filter.pptxعرض تقديمي (1)filter.pptx
عرض تقديمي (1)filter.pptxssusercab735
 
Media bible
Media bibleMedia bible
Media bible08payali
 
METHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEO
METHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEOMETHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEO
METHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEOIAEME Publication
 
Mulligan Robust Optical Eye Detection During Head Movement
Mulligan Robust Optical Eye Detection During Head MovementMulligan Robust Optical Eye Detection During Head Movement
Mulligan Robust Optical Eye Detection During Head MovementKalle
 
Lec16: Medical Image Registration (Advanced): Deformable Registration
Lec16: Medical Image Registration (Advanced): Deformable RegistrationLec16: Medical Image Registration (Advanced): Deformable Registration
Lec16: Medical Image Registration (Advanced): Deformable RegistrationUlaş Bağcı
 
Close range Photogrammeetry
Close range PhotogrammeetryClose range Photogrammeetry
Close range Photogrammeetrychinmay khadke
 
CV_Chap 6 Motion Representation
CV_Chap 6 Motion RepresentationCV_Chap 6 Motion Representation
CV_Chap 6 Motion RepresentationKhushali Kathiriya
 
Biologically Inspired Turn Control for Autonomous Mobile Robots.pptx
Biologically Inspired Turn Control for Autonomous Mobile Robots.pptxBiologically Inspired Turn Control for Autonomous Mobile Robots.pptx
Biologically Inspired Turn Control for Autonomous Mobile Robots.pptxdocmarcoantoniosotov
 
Deep vo and slam ii
Deep vo and slam iiDeep vo and slam ii
Deep vo and slam iiYu Huang
 
Deep VO and SLAM
Deep VO and SLAMDeep VO and SLAM
Deep VO and SLAMYu Huang
 
Deep VO and SLAM IV
Deep VO and SLAM IVDeep VO and SLAM IV
Deep VO and SLAM IVYu Huang
 
cohenmedioni.ppt
cohenmedioni.pptcohenmedioni.ppt
cohenmedioni.pptChinnuDS
 

Similar to Video stabilization (20)

Core Animation
Core AnimationCore Animation
Core Animation
 
Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereo
 
Deep vo and slam iii
Deep vo and slam iiiDeep vo and slam iii
Deep vo and slam iii
 
Computer Vision Structure from motion
Computer Vision Structure from motionComputer Vision Structure from motion
Computer Vision Structure from motion
 
Computer Vision sfm
Computer Vision sfmComputer Vision sfm
Computer Vision sfm
 
Fisheye Omnidirectional View in Autonomous Driving II
Fisheye Omnidirectional View in Autonomous Driving IIFisheye Omnidirectional View in Autonomous Driving II
Fisheye Omnidirectional View in Autonomous Driving II
 
عرض تقديمي (1)filter.pptx
عرض تقديمي (1)filter.pptxعرض تقديمي (1)filter.pptx
عرض تقديمي (1)filter.pptx
 
Media bible
Media bibleMedia bible
Media bible
 
METHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEO
METHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEOMETHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEO
METHODS AND ALGORITHMS FOR STITCHING 360-DEGREE VIDEO
 
Final Paper
Final PaperFinal Paper
Final Paper
 
Mulligan Robust Optical Eye Detection During Head Movement
Mulligan Robust Optical Eye Detection During Head MovementMulligan Robust Optical Eye Detection During Head Movement
Mulligan Robust Optical Eye Detection During Head Movement
 
Lec16: Medical Image Registration (Advanced): Deformable Registration
Lec16: Medical Image Registration (Advanced): Deformable RegistrationLec16: Medical Image Registration (Advanced): Deformable Registration
Lec16: Medical Image Registration (Advanced): Deformable Registration
 
Close range Photogrammeetry
Close range PhotogrammeetryClose range Photogrammeetry
Close range Photogrammeetry
 
CV_Chap 6 Motion Representation
CV_Chap 6 Motion RepresentationCV_Chap 6 Motion Representation
CV_Chap 6 Motion Representation
 
Biologically Inspired Turn Control for Autonomous Mobile Robots.pptx
Biologically Inspired Turn Control for Autonomous Mobile Robots.pptxBiologically Inspired Turn Control for Autonomous Mobile Robots.pptx
Biologically Inspired Turn Control for Autonomous Mobile Robots.pptx
 
Deep vo and slam ii
Deep vo and slam iiDeep vo and slam ii
Deep vo and slam ii
 
Deep VO and SLAM
Deep VO and SLAMDeep VO and SLAM
Deep VO and SLAM
 
Deep VO and SLAM IV
Deep VO and SLAM IVDeep VO and SLAM IV
Deep VO and SLAM IV
 
PPT s11-machine vision-s2
PPT s11-machine vision-s2PPT s11-machine vision-s2
PPT s11-machine vision-s2
 
cohenmedioni.ppt
cohenmedioni.pptcohenmedioni.ppt
cohenmedioni.ppt
 

Recently uploaded

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Video stabilization

  • 1. Presented by: Soheila Sheikhbahaei 1392 Kharazmi University of Tehran VIDEO STABILIZATION
  • 2. OUTLINE • What is video stabilization? • Where is it useful? • How does it work? • What are the problems
  • 3. DEFINITION • Most amateur videos are captured using hand-held cameras. They are often very shaky and difficult to watch. • Video stabilization techniques have been developed to smooth shaky camera motion in videos before viewing. • Stabilization is the process of estimating and compensating for the background image motion occurring due to the ego-motion of the camera.
  • 4. ELIMINATING JITTER • Although this jitter can be eliminated by anchoring the binoculars on a tripod, this is not always feasible.
  • 5. EXAMPLE Wang, Y.S., et al., Spatially and Temporally Optimized Video Stabilization. IEEE transactions on visualization and computer graphics, 2013. http://people.cs.nctu.edu.tw/~yushuen/VideoStabilization/
  • 6. PARALLAX • Parallax is a displacement or difference in the apparent position of an object viewed along two different lines of sight
  • 7. BIOLOGICAL MOTIVATION: INSECT NAVIGATION • Insects have relatively small nervous system with very few neurons when compared to the human brain, they are still capable of complex tasks, such as safe landing, obstacle avoidance. • Behavioral research with insects suggest that insects primarily use visual information. • Insects have immobile eyes with fixed focal length. Moreover, they do not possess stereoscopic vision. Insect eyes possess inferior spatial acuity but their eyes sample the world at a significantly higher rate than human eyes do. • The study can serve as a pure motivational tool indicating that such complex tasks, such as stabilization, can be performed real-time, with the accuracy desired. Second, this study can lead us into the paradigm of “active vision” or “purposive vision”. • In fact, several researchers have used such biologically inspired mechanisms for flight control and obstacle avoidance. Al Bovik. The Essential Guide to Video Processing
  • 8. BIOLOGICAL MOTIVATION: INSECT NAVIGATION • Bees that fly through holes tend to fly through the center of these holes. Bees, like most other insects, cannot measure distances from surfaces by using stereoscopic vision. • Recent experiments have indicated that bees balance the image motion on the lateral portion of their two eyes as they fly through openings. • Bees were trained to fly in narrow tunnels with certain patterns on the side walls of the tunnels. It was shown in that bees tended to fly at the center of this tunnel when the patterns on the side walls were stationary. • If one of these patterned side walls was moved in the direction of the bee’s flight, thereby reducing the image motion experienced by the bee on that side, then the bees moved closer to that side wall. Similarly, when one of the patterned side walls was moved in the direction opposite to the direction of the bee’s flight, the bee moved away from the moving wall.
  • 9. BIOLOGICAL MOTIVATION: INSECT NAVIGATION • Collision avoidance is another task that is visually driven in most insects. When an insect approaches an obstacle, its image expands on it’s eyes. Insects are sensitive to this image expansion and turn away from the direction in which the image expansion occurs, thereby avoiding collision with obstacles.
  • 10. DIFFERENT ALGORITHMS • Depending on the type of scenario and the type of motion involved, we have different algorithms to achieve stabilization. • Presence of a dominant plane in the scene • Derotation of the image sequence • Mosaic construction • Presence of moving objects
  • 11. CLASSIFICATION OF TECHNIQUES • Techniques are classified as two categories: • Feature-based methods: extract and match discrete features between frames and trajectories of these features are fit to a global motion model. • Flow-based methods: optical flow of the image sequence is an intermediate quantity that is used in determining the global motion.
  • 12. PHASES OF STABILIZATION • In video stabilization, we need to analyze the image motion and obtain models for the global motion in image sequences. • Generally the process of stabilization have to go through two phases: • motion estimation • motion smoothing
  • 13. CAMERA MODEL • The imaging geometry of a perspective camera:
  • 14. EFFECT OF CAMERA MOTION • The effect of camera motion can be computed using projective geometry:
  • 15. EFFECT OF CAMERA MOTION • Other popular global deformations mapping the projection of a point between two frames are the similarity: and affine transformations:
  • 16. IMAGE FEATURES • The basic goal in feature-based motion estimation is to use features to find maps that relate the images taken from different view-points. • These maps are then used to estimate the image motion by computing the parameters of a motion model. • Consider the case of pure rotation: • Though various lengths, ratios, and angles formed on the images are all different, the cross ratio remains the same. Given four collinear points A, B, C, and D on an image, R. Hartley and A. Zisserman. Multiple View Geometry in computer vision. Cambridge University Press, Cambridge, UK, 2000.
  • 17. IMAGE FEATURES • this intuition leads to a map relating the two images. • Given four corresponding points in general position in the two images, we can map any point from one image to the other. • Now, any point F on ABE will map to point F´ such that the cross ratio is preserved. • This way one can map each point on one image to the other image. Such a map is called homography.
  • 18. IMAGE FEATURES • In the case of planar scene: • x1, a point on first image plane, xp, the corresponding point on the real plane, x2, the corresponding point on the second image plane. • Thus, homography H =H1H2 maps points from one image plane to the other.
  • 19. IMAGE FEATURES • On the other hand, when there are depth variations in the scene, such a homography doesn’t exist between images formed by camera translation. • In the case of depth variations, we can use structure from motion (SFM) approaches to estimate the motion of the camera.
  • 20. FEATURE BASED ALGORITHMS • A number of features are extracted in each image and feature matching algorithms are used to establish correspondence between the images. • The motion parameters are found by first identifying the set of feature matches.
  • 21. FEATURE TRAJECTORY SMOOTHING • Let the ith trajectory be where pi and m and n are the start and the end frames of Pi, respectively. • Our goal is to solve an optimization problem that can minimize the acceleration of Pi in each frame while constraining the offsets of neighboring trajectories to be consistent within the input video. Wang, Y.S., et al., Spatially and Temporally Optimized Video Stabilization. IEEE transactions on visualization and computer graphics, 2013.
  • 22. BEZIER CURVES • Bezier curves are used in computer graphics to produce curves which appear reasonably smooth at all scales (as opposed to polygonal lines, which will not scale nicely) in which the interpolating polynomials depend on certain control points.
  • 23. FEATURE TRAJECTORY SMOOTHING • each smoothed trajectory is represented using a Be’zier curve and reduce the unknown variables from all feature positions to curve control points. This reduced model also achieves strong stabilization because the smoothed feature positions are interpolated from the control points. We show the details of our technique in the following subsections.
  • 24. DELAUNAY TRIANGULATION • In mathematics and computational geometry, a Delaunay triangulation for a set P of points in a plane is a triangulation DT(P) such that no point in P is inside the circumcircle of any triangle in DT(P). • In geometry, the circumscribed circle or circumcircle of a polygon is a circle which passes through all the vertices of the polygon..
  • 25. SPATIAL RIGIDITY PRESERVATION • spatial rigidity is retained when stabilizing a video in order to preserve neighboring feature trajectories to have similar treatments. • Specifically, we compute the neighbor relations between features in each frame using the Delaunay triangulation and enforce each triangle to undergo a rigid transformation. That is, triangles are allowed to move and rotate but their sizes and shapes should be retained. • This constraint works well in most videos.
  • 26. OBJECTIVE FUNCTION • we search for the control points of Bezier curves that can minimize the objective function.
  • 28. LIMITATIONS • Although the algorithm is robust to all challenging examples, the stabilization is not effective if there are no background features in some frames.
  • 29. MOSAICING • Mosaicing is the process of compositing or piecing together successive frames of the stabilized image sequence so as to virtually increase the field of view of the camera. • Mosaics are commonly defined only for scenes viewed by a pan/tilt camera, for which the images can be related by a projective transformation.
  • 30. REFERENCES • Al Bovik. The Essential Guide to Video Processing • Wang, Y.S., et al., Spatially and Temporally Optimized Video Stabilization. IEEE transactions on visualization and computer graphics, 2013. • http://www.ics.uci.edu/~eppstein/gina/delaunay.html • http://en.wikipedia.org/wiki/Delaunay_triangulation • http://www.math.ubc.ca/~cass/gfx/bezier.html • http://en.wikipedia.org/wiki/B%C3%A9zier_curve • http://people.cs.nctu.edu.tw/~yushuen/VideoStabilization/