Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction To Computational and Biological Vision Max Binshtok - 312719750 Ohad Greenshpan March 2006 Shot Detection in video.

Similar presentations


Presentation on theme: "Introduction To Computational and Biological Vision Max Binshtok - 312719750 Ohad Greenshpan March 2006 Shot Detection in video."— Presentation transcript:

1 Introduction To Computational and Biological Vision Max Binshtok - 312719750 Ohad Greenshpan March 2006 Shot Detection in video

2 What is a shot ? Shot: A drastic change in successive frames in a video.

3 Is “shot detection” easy ? Know the enemy: –Change in luminance –Rapid motion (object, camera) –Blur (influence on edges) –Graphical special effects Is the term “Shot” well defined ? Fade-in, fade-out Large objects blocking the scene

4 Motivation Video Indexing Guarding Cameras (Alerts) Catching “Priming” in commercials

5 Our Tool Learning Experience Frames Sequence Image Shot Detection (all successive images) One-To-One comparison Single Image processing

6 FlowPixel-to-PixelHistogramHausdorff Supervised Learning Input

7 Pixel To Pixel (P2P) Method General Idea: Summing the differences between the pixels’ intensity values over the whole image (reminds the similarity measure – SSD). Variants: –Global P2P –Cumulative P2P

8 Global P2P Formulation : “Shot Detection” if Disadvantage : ignores local changes Cumulative P2P Formulation : “Shot Detection” if Disadvantage: sensitivity to motion Time complexity of both: O( |pixels| )

9 Global P2P Results

10 1: 2: 3: good …

11 Cumulative P2P Results

12 1: 2: 3: 4:4:4:4: 5:5:5:5:

13 Histogram-Based Methods General Idea: –Sums the differences between the images’ histograms Variants: –Simple histogram –Max histogram –Weighted histogram

14 Simple Histogram Method Formulation: “Shot Detection” if Problems with this method: –Sensitivity to “lighting” and colors change Time Complexity: O( |pixels| + |bins| )

15 Simple Histogram Results

16 1: 2: 3: 4:4:4:4: Weird !! Worth Checking … 1.Does not look like a shot 2.Was not detected by P2P

17 Let’s Compare These Two Images A close examination shows that the sun showed up at frame 56 and lightened the field for the following images… Due to the fact that the clay color is very dominant, the sun changed the images histograms.

18 Max Histogram Method Formulation: “Shot Detection” if Time Complexity: O( |pixels| + |bins| ) Problems with this method: –Same sensitivity to lighting and color change, but takes into account all colors (R,G,B) –Thus, might over-influenced by a change in one color …

19 Simple Histogram Vs. Max Histogram Same results except one..

20 Weighted Histogram Method Formulation: “Shot Detection” if Problems with this method: –Same as the formers Time Complexity: O( |pixels| + |bins| )

21 Hausdorff Method General Idea: –Mark Edge points (using an edge detector) –Calculate the proportion of outlying edge points – “Outliers”. Notes: –“Outlier” : An edge points which does not have a corresponding edge point in a pre- defined neighborhood, in the other image. –Edge detector we have implemented: Sobel. (embedded smoothing effect)

22 Hausdorff Method Disadvantages: –Edge points might correlate with other edge points. –Sensitivity to the edge detector threshold (i.e.: fading, noise, special effects) Time Complexity: O( |pixels| ) Dominated by the edge detection process.

23 Hausdorff Method Two interesting “false-detections”:

24 Hausdorff Method Let’s check their Sobel results: Sobel results: Sensitivity to the edge detector’s threshold..

25 LearningPixel-to-PixelHistogramHausdorff Neural Network Yes / No

26 Learning Main Advantages: –Combination of methods –Threshold values are not important –Ability to adapt to new types of data sets Results: –Learning is improving –Learning is general

27 Time for “Hands On” ?

28 Questions ?


Download ppt "Introduction To Computational and Biological Vision Max Binshtok - 312719750 Ohad Greenshpan March 2006 Shot Detection in video."

Similar presentations


Ads by Google