SlideShare une entreprise Scribd logo
1  sur  38
Moving Object Detection
Tracking
       Tracking is the problem of estimating the trajectory of
        an object in the image plane as it moves around a
        scene.




    2                               DSG, CEERI Pilani   12/8/2011
What is Motion Tracking…?
•       Technologies that collect data on human movement
        (input) used to control sounds, music, recorded or
        projected text, video art, stage lighting (output) via
        performer actions / gestures / movements / bio-data.




    3                              DSG, CEERI Pilani   12/8/2011
What is Motion Tracking…?
•       other uses:

         •   Animation modeling (motion capture)

         •   Scientific research
             (musicology, semantics, ergonomics, medicine, sports
             medicine, architecture)

         •   Therapy for physically and mentally handicapped




    4                                  DSG, CEERI Pilani   12/8/2011
Motion tracking vs. Motion capture
Motion capture                Motion tracking

•Tracks location of fixed     •less equipment, less data,
positions on body
                              •less cost ($1k-2k)
•Highly
accurate,        expensive    •concerned    with     motion
($200k-2m)                    qualities                 like
                              dynamic, direction of motion
•Generally not realtime
                              •real time
•Used for data collection
(research) and for making      •used for live applications:
human or animal motion in      installation
animations                     art, dance, theater and
(films, games, etc.) more
5                              music
                             DSG, CEERI Pilani 12/8/2011
Motion capture
       Motion capture is defined as "The creation of a 3D representation of
        a live performance."
       Tracks location of fixed positions on body with reflective markers
       12-24 cameras, each lens is ringed with infrared lights




    6                                      DSG, CEERI Pilani   12/8/2011
Motion capture
       Motion capture is used to be considered a tool for
        creating animation.




    7                            DSG, CEERI Pilani   12/8/2011
Motion capture
       Typical uses
           Human                      movement                               research
            (sports, musicology, ergonomics, medicine,...)
           Film and Animation -- often used with 3-D animation (modeling)
            programs to make animations
               maya (http://www.animationarena.com)
               houdini (http://www.sidefx.com)




    8                                         DSG, CEERI Pilani   12/8/2011
Motion capture
       Vicon is a leading company in motion capture




9                                             DSG, CEERI Pilani   12/8/2011
Motion tracking



                                    media output
                                    sounds, musi
        input                       c, text, projec
       physical                     tions, lighting
     human action




10                  DSG, CEERI Pilani   12/8/2011
Motion tracking



                 sensor                        output device
               (e.g. video      computer         (e.g. loud       media output
                camera)                         speakers)
   input                                                          sounds, musi
  physical                                                        c, text, projec
human action                                                      tions, lighting


                  analogue to         digital to
                    digital           analogue
                  conversion         conversion




11                                     DSG, CEERI Pilani   12/8/2011
Digital vs. Analogue
                                           Digital data
 Analogue data

                                           • easy to reproduce
 • hard to reproduce
 • "rich data" (infinite values)           • lower resolution, less human-
 • very high resolution                    feel.
 • more details                            • easy to store
 • contaminated data (becomes              • easy to process
 noisy,     but      rarely    fails       • contaminated data remains
 completely)                               clean (errors can be filtered) or
                                           signal fails altogether




   12                                  DSG, CEERI Pilani   12/8/2011
What you need to track motion
     Computer needs video input

       Digital video (Firewire, USB2)
             + digital cameras (camcorder, webcams)
             + low noise
             + works with laptops
             - latency issues
             - image resolution issues (smaller chip sizes)
             - limited cable length

        Analog video
              + "unlimited" cable length
              + lower latency
              + even digital cams usually have analog output
              - cost more (although many older cameras work quite well)
              - works less well with laptops i.e. need an external or internal
            framegrabber

13                                        DSG, CEERI Pilani   12/8/2011
Who is using motion tracking?
        Palindrome Intermedia Performance Group
        Krisztina de Chatel
        Igloo
        Ventura Dance (Pablo Ventura)
        Robert Lepage
        André Werner
        Marlon Barrios Solano
        La la la Human Steps
        Georg Hobmeier
        Leine Roebana Dans Kompanie
        Troika Ranch
         Blue Man Group
         you



14                                 DSG, CEERI Pilani   12/8/2011
The Problem in Motion Tracking
    Given a set of images in time which are similar but not
     identical, derive a method for identifying the motion
     that has occurred (in 2d) between different images.
Motion Detection and Estimation
         in Literature
   Image differencing
       based on the threshold difference of successive images
       difficult to reconstruct moving areas
   Background subtraction
       foreground objects result by calculating the difference between
        an image in the sequence and the background image
        (previously obtained)
       remaining task: determine the movement of these foreground
        objects between successive frames
   Block motion estimation
       Calculates the motion vector between frames for sub-blocks of
        the image
        mainly used in image compression
        too coarse
What Is Optical Flow?
   Optical flow is the displacement field for each of the
    pixels in an image sequence.

   For every pixel, a velocity vector dx , dy
    is found which says:               dt dt
           how  quickly a pixel is moving across the
            image
           the direction of its movement.
Optical Flow Examples




     Image #1   Optical Flow Field                        Image #2




18                        DSG, CEERI Pilani   12/8/2011
Optical Flow Examples
    Translation   Rotation   Scaling
Estimation of the optical flow
    Sequences of ordered images allow the estimation
     of motion as either instantaneous image velocities or
     discrete image displacements.

    The optical flow methods try to calculate the motion
     between two image frames which are taken at times
                    t and
                    t + δt at every voxel position.




    20                          DSG, CEERI Pilani   12/8/2011
Voxel Position
    A voxel (volumetric pixel or Volumetric Picture
     Element) is a volume element, representing a value
     on a regular grid in three dimensional space.




               A series of voxels in a stack with a single voxel
    21         highlighted              DSG, CEERI Pilani 12/8/2011
Estimation of the optical flow
    Optical Flow methods are called differential since they
     are based on local Taylor series approximations of the
     image signal; that is, they use partial derivatives with
     respect to the spatial and temporal coordinates.

    In mathematics, a Taylor series is a representation of a
     function as an infinite sum of terms that are calculated
     from the values of the function's derivatives at a single
     point.




    22                            DSG, CEERI Pilani   12/8/2011
Taylor series
       The Taylor series of a real or complex function ƒ(x) that is infinitely
        differentiable in a neighborhood of a real or complex number a is the
        power series




            which can be written in the more compact sigma notation as




where n! denotes the factorial of n and ƒ (n)(a) denotes the nth derivative of ƒ
evaluated at the point a. The zeroth derivative of ƒ is defined to be ƒ itself and (x −
a)0 and 0! are both defined to be 1. In the case that a = 0, the series is also called
a Maclaurin series.
       23                                    DSG, CEERI Pilani   12/8/2011
Estimation of the optical flow
    For a 2D+t dimensional case (3D or n-D cases are similar) a voxel at
     location (x,y,t) with intensity I(x,y,t) will have moved by δx, δy and δt
     between the two image frames, and the following image constraint
     equation can be given:

                      I(x,y,t) = I(x + δx,y + δy,t + δt)

    Assuming the movement to be small, the image constraint at I(x,y,t)
     with Taylor series can be developed to get:


                                                                              H.O.T
                                                                            (higher-order terms)




    24                                      DSG, CEERI Pilani   12/8/2011
Estimation of the optical flow




25                   DSG, CEERI Pilani   12/8/2011
Estimation of the optical flow
   where Vx,Vy are the x and y components of the velocity or optical flow of
   I(x,y,t) and                   are the derivatives of the image at (x,y,t)
   in the

   corresponding directions. Ix,Iy and It can be written for the derivatives in
   the following.

   Thus:
                IxVx + IyVy = − It
   or


This is an equation in two unknowns and cannot be solved as such. This is
known as the aperture problem of the optical flow algorithms. To find the
optical flow another set of equations is needed, given by some additional
constraint. All optical flow methods introduce additional conditions for
estimating the actual flow.
   26                                   DSG, CEERI Pilani   12/8/2011
Our Solution
   Optical flow: maximum one pixel large movements

   Optical flow: larger movements

   Morphological filter

   Contour detection (demo purposes)
Optical Flow: maximum one pixel large
movements
   The optical flow for a pixeli, j     given 2 successive
    images and k           : k 1


            mk (i, j ) ( x, y) so that

           I k (i, j) I k 1 (i x, j y)   (1)

            is minimum for    1 x 1, 1 y 1



                k            k+1
Optical Flow: maximum one pixel
large movements
   More precision: consider a 3×3 window
    around the pixel:



   Optical flow for pixel i, j becomes:

              mk (i, j ) ( x, y)                    so that


          1        1                            1        1
                           I k (i u, j v)                        I k 1 (i u x, j v y)   (2)
      u       1v       1                    u       1v       1

                           is minimum for                1 x 1, 1 y 1
Optical Flow: larger movements
   Reduce the size of the image
       => reduced size of the movement




   Solution: multi-resolution analysis of the images
   Advantages: computing efficiency, stability
Multi-resolution Analysis
   Coarse to fine optical flow estimation:


                                                  32 32

                                                  64 64


                                                  128 128


                                                  256 256



         Original image k    Original image k+1
Optical Flow: Top-down Strategy
Algorithm (1/4 scale of resolution reduction):
   Step 1: compute optical flow vectors for the highest
    level of the pyramid l (smallest resolution)
   Step 2: double the values of the vectors
   Step 3: first approximation: optical flow vectors for the
    (2i, 2j), (2i+1, 2j), (2i, 2j+1), (2i+1, 2j+1) pixels in the l-
    1 level are assigned the value of the optical flow
    vector for the (i,j) pixel from the l level




                                     Level l        Level l-1
Optical Flow: Top-down Strategy
   Step 4:
     adjustment of the vectors of the l-1(one) level in the
      pyramid
     method: detection of maximum one pixel
      displacements around the initially approximated
      position




   Step 5:
    smoothing of the optical flow field (Gaussian
    filter)
Filtering the Size of the Detected Regions
   Small isolated regions of motion detected by the
    optical flow method are classified as noise and are
    eliminated with the help of morphological
    operations:
   Step 1: Apply the opening:

   Step 2: Apply the  B
                   X closing: B
                            X      B


                 X B      X    B    B
Contour Detection
   For demonstration purposes, the contours of the moving
    regions detected are outlined
   Method: the Sobel edge detector:
       Compute the intensity gradient:                     f f
                                      f x, y                 ,        fx, f y       (5)
                                                            x y
        using the Sobel masks:    1 0 1                           1   2         1
                             1                              1
                         Gx       2 0 2 , Gy                  0       0     0       (6)
                             4                              4
                                1 0 1                         1       2     1
       Compute the magnitude of the gradient:

                 M x, y      f x, y       fx
                                               2
                                                   fy
                                                        2
                                                             (7)

       if M x, y threshold edge pixel
                        then
        else non-edge pixel
A Block Diagram of the System
Conclusions
   What we did:
     We managed to estimate the motion with a certain
      level of accuracy
     The results might be good enough for some
      applications, while other applications might require
      better accuracy
   What remains to be done:
       Reduce computational complexity
         use the computed background image to separate
          foreground objects
         Parallelism of the algorithms
       Experiment with specific problems, calibrate the
        parameters of the algorithms
Thanks

38      DSG, CEERI Pilani   12/8/2011

Contenu connexe

Tendances

Moving object detection
Moving object detectionMoving object detection
Moving object detection
Manav Mittal
 

Tendances (20)

Object detection
Object detectionObject detection
Object detection
 
Object tracking
Object trackingObject tracking
Object tracking
 
You Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object DetectionYou Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object Detection
 
Multiple Object Tracking
Multiple Object TrackingMultiple Object Tracking
Multiple Object Tracking
 
Moving object detection in video surveillance
Moving object detection in video surveillanceMoving object detection in video surveillance
Moving object detection in video surveillance
 
Object Detection and Recognition
Object Detection and Recognition Object Detection and Recognition
Object Detection and Recognition
 
Object detection
Object detectionObject detection
Object detection
 
Object detection presentation
Object detection presentationObject detection presentation
Object detection presentation
 
Moving object detection
Moving object detectionMoving object detection
Moving object detection
 
Visual Object Tracking: review
Visual Object Tracking: reviewVisual Object Tracking: review
Visual Object Tracking: review
 
Yolo
YoloYolo
Yolo
 
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
 
Image segmentation with deep learning
Image segmentation with deep learningImage segmentation with deep learning
Image segmentation with deep learning
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & Tracking
 
A Brief History of Object Detection / Tommi Kerola
A Brief History of Object Detection / Tommi KerolaA Brief History of Object Detection / Tommi Kerola
A Brief History of Object Detection / Tommi Kerola
 
Machine Learning - Object Detection and Classification
Machine Learning - Object Detection and ClassificationMachine Learning - Object Detection and Classification
Machine Learning - Object Detection and Classification
 
Edge detection
Edge detectionEdge detection
Edge detection
 
You only look once: Unified, real-time object detection (UPC Reading Group)
You only look once: Unified, real-time object detection (UPC Reading Group)You only look once: Unified, real-time object detection (UPC Reading Group)
You only look once: Unified, real-time object detection (UPC Reading Group)
 
ResNet basics (Deep Residual Network for Image Recognition)
ResNet basics (Deep Residual Network for Image Recognition)ResNet basics (Deep Residual Network for Image Recognition)
ResNet basics (Deep Residual Network for Image Recognition)
 
Introduction to multiple object tracking
Introduction to multiple object trackingIntroduction to multiple object tracking
Introduction to multiple object tracking
 

Similaire à Moving object detection

A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...
A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...
A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...
sipij
 
A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN
A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN
A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN
cscpconf
 
A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN
A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN
A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN
csandit
 
Digital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingDigital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imaging
Jie Bao
 
Human Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon Transform
Human Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon TransformHuman Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon Transform
Human Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon Transform
Fadwa Fouad
 
3.introduction onwards deepa
3.introduction onwards deepa3.introduction onwards deepa
3.introduction onwards deepa
Safalsha Babu
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 

Similaire à Moving object detection (20)

Introduction to Motion Tracking to Dance
Introduction to Motion Tracking to  DanceIntroduction to Motion Tracking to  Dance
Introduction to Motion Tracking to Dance
 
Image Denoising Using Non Linear Filter
Image Denoising Using Non Linear FilterImage Denoising Using Non Linear Filter
Image Denoising Using Non Linear Filter
 
Dip sdit 7
Dip sdit 7Dip sdit 7
Dip sdit 7
 
A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...
A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...
A NOVEL METHOD FOR PERSON TRACKING BASED K-NN : COMPARISON WITH SIFT AND MEAN...
 
MOTION FLOW
MOTION FLOWMOTION FLOW
MOTION FLOW
 
A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN
A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN
A Novel Background Subtraction Algorithm for Person Tracking Based on K-NN
 
A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN
A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN
A NOVEL BACKGROUND SUBTRACTION ALGORITHM FOR PERSON TRACKING BASED ON K-NN
 
Digital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingDigital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imaging
 
Introduction to digital image processing
Introduction to digital image processingIntroduction to digital image processing
Introduction to digital image processing
 
Impulse noise removal in digital images
Impulse noise removal in digital imagesImpulse noise removal in digital images
Impulse noise removal in digital images
 
Ch1.pptx
Ch1.pptxCh1.pptx
Ch1.pptx
 
Development of Human Tracking in Video Surveillance System for Activity Anal...
Development of Human Tracking in Video Surveillance System  for Activity Anal...Development of Human Tracking in Video Surveillance System  for Activity Anal...
Development of Human Tracking in Video Surveillance System for Activity Anal...
 
0812 blanche ieee4
0812 blanche ieee40812 blanche ieee4
0812 blanche ieee4
 
Review of Pose Recognition Systems
Review of Pose Recognition SystemsReview of Pose Recognition Systems
Review of Pose Recognition Systems
 
Human Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon Transform
Human Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon TransformHuman Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon Transform
Human Action Recognition in Videos Employing 2DPCA on 2DHOOF and Radon Transform
 
[IJET-V1I3P20] Authors:Prof. D.S.Patil, Miss. R.B.Khanderay, Prof.Teena Padvi.
[IJET-V1I3P20] Authors:Prof. D.S.Patil, Miss. R.B.Khanderay, Prof.Teena Padvi.[IJET-V1I3P20] Authors:Prof. D.S.Patil, Miss. R.B.Khanderay, Prof.Teena Padvi.
[IJET-V1I3P20] Authors:Prof. D.S.Patil, Miss. R.B.Khanderay, Prof.Teena Padvi.
 
Deep Learning Hardware: Past, Present, & Future
Deep Learning Hardware: Past, Present, & FutureDeep Learning Hardware: Past, Present, & Future
Deep Learning Hardware: Past, Present, & Future
 
Performance of Various Order Statistics Filters in Impulse and Mixed Noise Re...
Performance of Various Order Statistics Filters in Impulse and Mixed Noise Re...Performance of Various Order Statistics Filters in Impulse and Mixed Noise Re...
Performance of Various Order Statistics Filters in Impulse and Mixed Noise Re...
 
3.introduction onwards deepa
3.introduction onwards deepa3.introduction onwards deepa
3.introduction onwards deepa
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 

Dernier

Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxEngineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
DanielRemache4
 
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Nitya salvi
 
Van Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson todayVan Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson today
lucygibson17
 
9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi
9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi
9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi
delhimunirka15
 
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
khuurq8kz
 
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknikppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
Agustinus791932
 
obat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klaten
obat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klatenobat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klaten
obat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klaten
siskavia95
 
FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶
FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶
FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶
delhimunirka15
 
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
delhimunirka15
 
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
delhimunirka15
 
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu DhabiMussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
romeke1848
 
Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...
Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...
Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...
delhimunirka15
 

Dernier (20)

Orai call girls 📞 8617370543At Low Cost Cash Payment Booking
Orai call girls 📞 8617370543At Low Cost Cash Payment BookingOrai call girls 📞 8617370543At Low Cost Cash Payment Booking
Orai call girls 📞 8617370543At Low Cost Cash Payment Booking
 
THE ARTS OF THE PHILIPPINE BALLET PRESN
THE ARTS OF  THE PHILIPPINE BALLET PRESNTHE ARTS OF  THE PHILIPPINE BALLET PRESN
THE ARTS OF THE PHILIPPINE BALLET PRESN
 
Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4
 
Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptxEngineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
Engineering Major for College_ Environmental Health Engineering by Slidesgo.pptx
 
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
 
Van Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson todayVan Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson today
 
9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi
9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi
9711106444 Ghaziabad, Call Girls @ ₹. 1500– Per Shot Per Night 7000 Delhi
 
Navsari Call Girl 📞 8617370543 Low Price Genuine Service
Navsari Call Girl 📞 8617370543 Low Price Genuine ServiceNavsari Call Girl 📞 8617370543 Low Price Genuine Service
Navsari Call Girl 📞 8617370543 Low Price Genuine Service
 
Turn Off The Air Con - The Singapore Punk Scene
Turn Off The Air Con - The Singapore Punk SceneTurn Off The Air Con - The Singapore Punk Scene
Turn Off The Air Con - The Singapore Punk Scene
 
Storyboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to SingStoryboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to Sing
 
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
一比一原版美国西雅图大学毕业证(Seattle毕业证书)毕业证成绩单留信认证
 
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknikppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
ppt seni budaya kelas xi, menganalisis konsep,unsur,prinsip dan teknik
 
obat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klaten
obat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klatenobat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klaten
obat aborsi Klaten wa 082135199655 jual obat aborsi cytotec asli di Klaten
 
FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶
FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶
FULL ENJOY —📞9711106444 ✦/ Vℐℙ Call Girls in Jasola Vihar, | Delhi🫶
 
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
 
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
Nehru Nagar, Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genui...
 
Completed Event Presentation for Huma 1305
Completed Event Presentation for Huma 1305Completed Event Presentation for Huma 1305
Completed Event Presentation for Huma 1305
 
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu DhabiMussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
Mussafah Call Girls +971525373611 Call Girls in Mussafah Abu Dhabi
 
Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...
Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...
Pari Chowk Call Girls ☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuine...
 

Moving object detection

  • 2. Tracking  Tracking is the problem of estimating the trajectory of an object in the image plane as it moves around a scene. 2 DSG, CEERI Pilani 12/8/2011
  • 3. What is Motion Tracking…? • Technologies that collect data on human movement (input) used to control sounds, music, recorded or projected text, video art, stage lighting (output) via performer actions / gestures / movements / bio-data. 3 DSG, CEERI Pilani 12/8/2011
  • 4. What is Motion Tracking…? • other uses: • Animation modeling (motion capture) • Scientific research (musicology, semantics, ergonomics, medicine, sports medicine, architecture) • Therapy for physically and mentally handicapped 4 DSG, CEERI Pilani 12/8/2011
  • 5. Motion tracking vs. Motion capture Motion capture Motion tracking •Tracks location of fixed •less equipment, less data, positions on body •less cost ($1k-2k) •Highly accurate, expensive •concerned with motion ($200k-2m) qualities like dynamic, direction of motion •Generally not realtime •real time •Used for data collection (research) and for making •used for live applications: human or animal motion in installation animations art, dance, theater and (films, games, etc.) more 5 music DSG, CEERI Pilani 12/8/2011
  • 6. Motion capture  Motion capture is defined as "The creation of a 3D representation of a live performance."  Tracks location of fixed positions on body with reflective markers  12-24 cameras, each lens is ringed with infrared lights 6 DSG, CEERI Pilani 12/8/2011
  • 7. Motion capture  Motion capture is used to be considered a tool for creating animation. 7 DSG, CEERI Pilani 12/8/2011
  • 8. Motion capture  Typical uses  Human movement research (sports, musicology, ergonomics, medicine,...)  Film and Animation -- often used with 3-D animation (modeling) programs to make animations  maya (http://www.animationarena.com)  houdini (http://www.sidefx.com) 8 DSG, CEERI Pilani 12/8/2011
  • 9. Motion capture  Vicon is a leading company in motion capture 9 DSG, CEERI Pilani 12/8/2011
  • 10. Motion tracking media output sounds, musi input c, text, projec physical tions, lighting human action 10 DSG, CEERI Pilani 12/8/2011
  • 11. Motion tracking sensor output device (e.g. video computer (e.g. loud media output camera) speakers) input sounds, musi physical c, text, projec human action tions, lighting analogue to digital to digital analogue conversion conversion 11 DSG, CEERI Pilani 12/8/2011
  • 12. Digital vs. Analogue Digital data Analogue data • easy to reproduce • hard to reproduce • "rich data" (infinite values) • lower resolution, less human- • very high resolution feel. • more details • easy to store • contaminated data (becomes • easy to process noisy, but rarely fails • contaminated data remains completely) clean (errors can be filtered) or signal fails altogether 12 DSG, CEERI Pilani 12/8/2011
  • 13. What you need to track motion Computer needs video input Digital video (Firewire, USB2) + digital cameras (camcorder, webcams) + low noise + works with laptops - latency issues - image resolution issues (smaller chip sizes) - limited cable length Analog video + "unlimited" cable length + lower latency + even digital cams usually have analog output - cost more (although many older cameras work quite well) - works less well with laptops i.e. need an external or internal framegrabber 13 DSG, CEERI Pilani 12/8/2011
  • 14. Who is using motion tracking?  Palindrome Intermedia Performance Group  Krisztina de Chatel  Igloo  Ventura Dance (Pablo Ventura)  Robert Lepage  André Werner  Marlon Barrios Solano  La la la Human Steps  Georg Hobmeier  Leine Roebana Dans Kompanie  Troika Ranch  Blue Man Group  you 14 DSG, CEERI Pilani 12/8/2011
  • 15. The Problem in Motion Tracking  Given a set of images in time which are similar but not identical, derive a method for identifying the motion that has occurred (in 2d) between different images.
  • 16. Motion Detection and Estimation in Literature  Image differencing  based on the threshold difference of successive images  difficult to reconstruct moving areas  Background subtraction  foreground objects result by calculating the difference between an image in the sequence and the background image (previously obtained)  remaining task: determine the movement of these foreground objects between successive frames  Block motion estimation  Calculates the motion vector between frames for sub-blocks of the image  mainly used in image compression  too coarse
  • 17. What Is Optical Flow?  Optical flow is the displacement field for each of the pixels in an image sequence.  For every pixel, a velocity vector dx , dy is found which says: dt dt  how quickly a pixel is moving across the image  the direction of its movement.
  • 18. Optical Flow Examples Image #1 Optical Flow Field Image #2 18 DSG, CEERI Pilani 12/8/2011
  • 19. Optical Flow Examples Translation Rotation Scaling
  • 20. Estimation of the optical flow  Sequences of ordered images allow the estimation of motion as either instantaneous image velocities or discrete image displacements.  The optical flow methods try to calculate the motion between two image frames which are taken at times t and t + δt at every voxel position. 20 DSG, CEERI Pilani 12/8/2011
  • 21. Voxel Position  A voxel (volumetric pixel or Volumetric Picture Element) is a volume element, representing a value on a regular grid in three dimensional space. A series of voxels in a stack with a single voxel 21 highlighted DSG, CEERI Pilani 12/8/2011
  • 22. Estimation of the optical flow  Optical Flow methods are called differential since they are based on local Taylor series approximations of the image signal; that is, they use partial derivatives with respect to the spatial and temporal coordinates.  In mathematics, a Taylor series is a representation of a function as an infinite sum of terms that are calculated from the values of the function's derivatives at a single point. 22 DSG, CEERI Pilani 12/8/2011
  • 23. Taylor series  The Taylor series of a real or complex function ƒ(x) that is infinitely differentiable in a neighborhood of a real or complex number a is the power series which can be written in the more compact sigma notation as where n! denotes the factorial of n and ƒ (n)(a) denotes the nth derivative of ƒ evaluated at the point a. The zeroth derivative of ƒ is defined to be ƒ itself and (x − a)0 and 0! are both defined to be 1. In the case that a = 0, the series is also called a Maclaurin series. 23 DSG, CEERI Pilani 12/8/2011
  • 24. Estimation of the optical flow  For a 2D+t dimensional case (3D or n-D cases are similar) a voxel at location (x,y,t) with intensity I(x,y,t) will have moved by δx, δy and δt between the two image frames, and the following image constraint equation can be given: I(x,y,t) = I(x + δx,y + δy,t + δt) Assuming the movement to be small, the image constraint at I(x,y,t) with Taylor series can be developed to get: H.O.T (higher-order terms) 24 DSG, CEERI Pilani 12/8/2011
  • 25. Estimation of the optical flow 25 DSG, CEERI Pilani 12/8/2011
  • 26. Estimation of the optical flow where Vx,Vy are the x and y components of the velocity or optical flow of I(x,y,t) and are the derivatives of the image at (x,y,t) in the corresponding directions. Ix,Iy and It can be written for the derivatives in the following. Thus: IxVx + IyVy = − It or This is an equation in two unknowns and cannot be solved as such. This is known as the aperture problem of the optical flow algorithms. To find the optical flow another set of equations is needed, given by some additional constraint. All optical flow methods introduce additional conditions for estimating the actual flow. 26 DSG, CEERI Pilani 12/8/2011
  • 27. Our Solution  Optical flow: maximum one pixel large movements  Optical flow: larger movements  Morphological filter  Contour detection (demo purposes)
  • 28. Optical Flow: maximum one pixel large movements  The optical flow for a pixeli, j given 2 successive images and k : k 1 mk (i, j ) ( x, y) so that I k (i, j) I k 1 (i x, j y) (1) is minimum for 1 x 1, 1 y 1 k k+1
  • 29. Optical Flow: maximum one pixel large movements  More precision: consider a 3×3 window around the pixel:  Optical flow for pixel i, j becomes: mk (i, j ) ( x, y) so that 1 1 1 1 I k (i u, j v) I k 1 (i u x, j v y) (2) u 1v 1 u 1v 1 is minimum for 1 x 1, 1 y 1
  • 30. Optical Flow: larger movements  Reduce the size of the image => reduced size of the movement  Solution: multi-resolution analysis of the images  Advantages: computing efficiency, stability
  • 31. Multi-resolution Analysis  Coarse to fine optical flow estimation: 32 32 64 64 128 128 256 256 Original image k Original image k+1
  • 32. Optical Flow: Top-down Strategy Algorithm (1/4 scale of resolution reduction):  Step 1: compute optical flow vectors for the highest level of the pyramid l (smallest resolution)  Step 2: double the values of the vectors  Step 3: first approximation: optical flow vectors for the (2i, 2j), (2i+1, 2j), (2i, 2j+1), (2i+1, 2j+1) pixels in the l- 1 level are assigned the value of the optical flow vector for the (i,j) pixel from the l level Level l Level l-1
  • 33. Optical Flow: Top-down Strategy  Step 4:  adjustment of the vectors of the l-1(one) level in the pyramid  method: detection of maximum one pixel displacements around the initially approximated position  Step 5: smoothing of the optical flow field (Gaussian filter)
  • 34. Filtering the Size of the Detected Regions  Small isolated regions of motion detected by the optical flow method are classified as noise and are eliminated with the help of morphological operations:  Step 1: Apply the opening:  Step 2: Apply the  B X closing: B X B X B X B B
  • 35. Contour Detection  For demonstration purposes, the contours of the moving regions detected are outlined  Method: the Sobel edge detector:  Compute the intensity gradient: f f f x, y , fx, f y (5) x y using the Sobel masks: 1 0 1 1 2 1 1 1 Gx 2 0 2 , Gy 0 0 0 (6) 4 4 1 0 1 1 2 1  Compute the magnitude of the gradient: M x, y f x, y fx 2 fy 2 (7)  if M x, y threshold edge pixel then else non-edge pixel
  • 36. A Block Diagram of the System
  • 37. Conclusions  What we did:  We managed to estimate the motion with a certain level of accuracy  The results might be good enough for some applications, while other applications might require better accuracy  What remains to be done:  Reduce computational complexity  use the computed background image to separate foreground objects  Parallelism of the algorithms  Experiment with specific problems, calibrate the parameters of the algorithms
  • 38. Thanks 38 DSG, CEERI Pilani 12/8/2011