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

Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
Mohd Arif
 

What's hot (20)

SIFT
SIFTSIFT
SIFT
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Image Processing with OpenCV
Image Processing with OpenCVImage Processing with OpenCV
Image Processing with OpenCV
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
KEY FRAME SYSTEM-Ruby Stella mary.pptx
KEY FRAME SYSTEM-Ruby Stella mary.pptxKEY FRAME SYSTEM-Ruby Stella mary.pptx
KEY FRAME SYSTEM-Ruby Stella mary.pptx
 
Raster animation
Raster animationRaster animation
Raster animation
 
Module 31
Module 31Module 31
Module 31
 
Image Stitching for Panorama View
Image Stitching for Panorama ViewImage Stitching for Panorama View
Image Stitching for Panorama View
 
Canny Edge Detection
Canny Edge DetectionCanny Edge Detection
Canny Edge Detection
 
Image denoising using curvelet transform
Image denoising using curvelet transformImage denoising using curvelet transform
Image denoising using curvelet transform
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
Pixel Relationships Examples
Pixel Relationships ExamplesPixel Relationships Examples
Pixel Relationships Examples
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color Images
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 

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 kushwaha
Vivek Kushwaha
 
Comparison of image fusion methods
Comparison of image fusion methodsComparison of image fusion methods
Comparison of image fusion methods
Amr Nasr
 
Nano Technology
Nano TechnologyNano Technology
Nano Technology
ZeusAce
 
wireless sensor network my seminar ppt
wireless sensor network my seminar pptwireless sensor network my seminar ppt
wireless sensor network my seminar ppt
Eisha Madhwal
 

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

عرض تقديمي (1)filter.pptx
عرض تقديمي (1)filter.pptxعرض تقديمي (1)filter.pptx
عرض تقديمي (1)filter.pptx
ssusercab735
 
Media bible
Media bibleMedia bible
Media bible
08payali
 
Close range Photogrammeetry
Close range PhotogrammeetryClose range Photogrammeetry
Close range Photogrammeetry
chinmay khadke
 

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

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 

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/