Data clustering for image segmentation

Similar documents
Segmentation by Clustering. Segmentation by Clustering Reading: Chapter 14 (skip 14.5) General ideas

Segmentation by Clustering Reading: Chapter 14 (skip 14.5)

Chapter 9 Object Tracking an Overview

EE795: Computer Vision and Intelligent Systems

Autonomous Navigation for Flying Robots

Features Points. Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE)

Computer Vision with MATLAB MATLAB Expo 2012 Steve Kuznicki

ФУНДАМЕНТАЛЬНЫЕ НАУКИ. Информатика 9 ИНФОРМАТИКА MOTION DETECTION IN VIDEO STREAM BASED ON BACKGROUND SUBTRACTION AND TARGET TRACKING

Optical flow and tracking

TEGRA K1 AND THE AUTOMOTIVE INDUSTRY. Gernot Ziegler, Timo Stich

Video Processing for Judicial Applications

Learning a Sparse, Corner-based Representation for Time-varying Background Modelling

EE795: Computer Vision and Intelligent Systems

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

Seminar Heidelberg University

CS 664 Segmentation. Daniel Huttenlocher

Boat Speed Monitoring using Artificial Vision

Lecture 28 Intro to Tracking

Recall: Blob Merge/Split Lecture 28

Vehicle Detection & Tracking

Evaluation of Moving Object Tracking Techniques for Video Surveillance Applications

Chaplin, Modern Times, 1936

Video Visual Analytics of Tracked Moving Objects

Human-Robot Interaction

Broad field that includes low-level operations as well as complex high-level algorithms

Car tracking in tunnels

Motion in 2D image sequences

3D Modeling from Range Images

Representing Moving Images with Layers. J. Y. Wang and E. H. Adelson MIT Media Lab

Detecting and Identifying Moving Objects in Real-Time

Introduction to Medical Imaging (5XSA0) Module 5

SE 263 R. Venkatesh Babu. Object Tracking. R. Venkatesh Babu

Tracking Under Low-light Conditions Using Background Subtraction

CS6670: Computer Vision

Motion Detection Using Adaptive Temporal Averaging Method

Automated Video Analysis of Crowd Behavior

CSE 527: Introduction to Computer Vision

Computer Vision I. Dense Stereo Correspondences. Anita Sellent 1/15/16

Capturing, Modeling, Rendering 3D Structures

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC

Implementation of Optical Flow, Sliding Window and SVM for Vehicle Detection and Tracking

DEVELOPMENT OF POSITION MEASUREMENT SYSTEM FOR CONSTRUCTION PILE USING LASER RANGE FINDER

Detecting and Tracking Moving Objects for Video Surveillance. Isaac Cohen and Gerard Medioni University of Southern California

Eppur si muove ( And yet it moves )

Tracking. Hao Guan( 管皓 ) School of Computer Science Fudan University

ROBUST OBJECT TRACKING BY SIMULTANEOUS GENERATION OF AN OBJECT MODEL

Pixel features for self-organizing map based detection of foreground objects in dynamic environments

Segmentation and Tracking of Partial Planar Templates

Adaptive Gesture Recognition System Integrating Multiple Inputs

What have we leaned so far?

Motion Tracking and Event Understanding in Video Sequences

Human Motion Detection and Tracking for Video Surveillance

A MIXTURE OF DISTRIBUTIONS BACKGROUND MODEL FOR TRAFFIC VIDEO SURVEILLANCE

FIDUCIAL BASED POSE ESTIMATION ADEWOLE AYOADE ALEX YEARSLEY

Final Exam Study Guide

Ellipse Centroid Targeting in 3D Using Machine Vision Calibration and Triangulation (Inspired by NIST Pixel Probe)

Moving Object Detection for Video Surveillance

16720 Computer Vision: Homework 3 Template Tracking and Layered Motion.

Motion Detection Algorithm

Fast Vehicle Detection and Counting Using Background Subtraction Technique and Prewitt Edge Detection

Fusion of Radar and EO-sensors for Surveillance

Available online at ScienceDirect. Procedia Computer Science 22 (2013 )

Multi camera tracking. Jan Baan. Content. VBM Multicamera VBM A270 test site Helmond

AN OPTIMISED FRAME WORK FOR MOVING TARGET DETECTION FOR UAV APPLICATION

An Edge-Based Approach to Motion Detection*

Digital Image Processing COSC 6380/4393

Pedestrian Detection and Tracking in Images and Videos

Design and development of Optical flow based Moving Object Detection and Tracking (OMODT) System

A Reliable FPGA-based Real-time Optical-flow Estimation

Carmen Alonso Montes 23rd-27th November 2015

Homographies and RANSAC

Peripheral drift illusion

Idle Object Detection in Video for Banking ATM Applications

A Fast Moving Object Detection Technique In Video Surveillance System

Connected Component Analysis and Change Detection for Images

AUTOMATIC OBJECT DETECTION IN VIDEO SEQUENCES WITH CAMERA IN MOTION. Ninad Thakoor, Jean Gao and Huamei Chen

CS448A: Experiments in Motion Capture. CS448A: Experiments in Motion Capture

Multibody reconstruction of the dynamic scene surrounding a vehicle using a wide baseline and multifocal stereo system

PROBLEM FORMULATION AND RESEARCH METHODOLOGY

LANDMARK EXTRACTION USING CORNER DETECTION AND K-MEANS CLUSTERING FOR AUTONOMOUS LEADER-FOLLOWER CARAVAN

Scene Modeling from Motion-Free Radar Sensing

Fundamental matrix. Let p be a point in left image, p in right image. Epipolar relation. Epipolar mapping described by a 3x3 matrix F

Long-term motion estimation from images

Image Mosaicing with Motion Segmentation from Video

Motion and Tracking. Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE)

Lecture 20: Tracking. Tuesday, Nov 27

SIMULINK based Moving Object Detection and Blob Counting Algorithm for Traffic Surveillance

Real-Time Multi-Resolution Blob Tracking

Robust and accurate change detection under sudden illumination variations

TRAFFIC surveillance and traffic control systems are

Open Access Surveillance Video Synopsis Based on Moving Object Matting Using Noninteractive

Utilizing Graphics Processing Units for Rapid Facial Recognition using Video Input

AR Cultural Heritage Reconstruction Based on Feature Landmark Database Constructed by Using Omnidirectional Range Sensor

COSC160: Detection and Classification. Jeremy Bolton, PhD Assistant Teaching Professor

Stereo Vision. MAN-522 Computer Vision

Motion and Target Tracking (Overview) Suya You. Integrated Media Systems Center Computer Science Department University of Southern California

Robust Camera Pan and Zoom Change Detection Using Optical Flow

A Real Time System for Detecting and Tracking People. Ismail Haritaoglu, David Harwood and Larry S. Davis. University of Maryland

Network Traffic Measurements and Analysis

Dense 3D Reconstruction. Christiano Gava

Transcription:

Data clustering for image segmentation Domenico Bloisi, PhD bloisi@dis.uniroma1.it

Summary ARGOS Project overview Image Segmentation and Optical Flow (OF) K-means based OF data clustering Rek-means vs k-means Examples and experimental evaluation Page 2

ARGOS project overview Automatic Remote Grand Canal Observation System The ARGOS system controls a waterway of about 6 km length, 80 to 150 meters width, through 14 observation posts (Survey Cells). Page 3

Rai Tg1 video Page 4

ARGOS objectives management and evaluation of navigation rules traffic statistics and analysis security (threat recognition) preservation of historical heritage (reduction of wave motion) Page 5

Motivation Human Surveillance Until 2006 the Municipal Administration of Venice paid people for boats counting: Error prone Una tantum Automatic Surveillance From November 2007 Venice has an automatic video surveillance system 24 hours/day 7 days/week recorded traffic violations Certified error Page 6

ARGOS functions optical detection and tracking of moving targets computing position, speed and heading of targets event detection (speed limits, access control, ) recording 24/7 video and track information (postanalysis) rectifying camera frames and stitching them into a composite view automatic PTZ tracking on line traffic information http://www.argos.venezia.it Page 7

www.argos.venezia.it Page 8

Examples Speed limit control Detect boats docking in the highlighted area Page 9

ARGOS features Dynamic background (water) Multi object tracking (up to 10 boats in the same view) Multi camera for large areas (56 cameras x 6 km length) Third party extensive evaluation (2.2 10 7 frames analyzed) Page 10

General architecture Page 11

Survey cell 3 high resolution network cameras, a PTZ camera for zoom and tracking of the selected target, and 2 computers running the image processing and tracking software. The survey cells are installed on the top of several buildings leaning over the Grand Canal Page 12

Survey cells Page 13

Segmentation module Rek-means clustering algorithm Page 14

Segmentation (detecting objects of interest) Current Frame I Background Formation Foreground Computation F List of Detected Objects Background Model B continuously updated Page 15

Background formation Problems: - gradual illumination changes and sudden ones (clouds) - motion changes (camera oscillations) - high frequency noise (waves in our case) - changes in the background geometry (parked boats). Approach: - computation of color distribution of a set of frames - highest component form the background Page 16

Background modeling Natural images Set S of n images from a camera Artificial image Background Image computed from S (the image display only the higher gaussian values) Page 17

Foreground computation (background subtraction technique) current frame THRESHOLD T (based on illumination conditions) T > foreground image background image blobs (Binay Large OBjectS) Page 18

Tracking module Single-hypothesis Tracking We use a set of Kalman Filters (one for each tracked boat). Data Association: Nearest Neighbor rule Track formation: unassociated observations Track deletion: high covariance in the filter Multi-hypotheses Tracking Track splitting: in ambiguous cases (data association has multiple solutions) Track merging: high correlation between tracks Page 19

Multi hypothesis tracking 240 247 240 285 247 3 tracks (240, 247, 285) only 1 actual observation (285) Page 20

Rectification Page 21

Unified Views Page 22

Panoramic view (3 fixed cameras) PTZ Camera Page 23

DENSITA DI TRAFFICO TEMPO REALE 1 4 5 3 6 2 7 DENSITA' MEDIE E MASSIME DEL TRAFFICO 02/11/2006 ore 11,30 Numero Totale Imbarcazioni in Canal Grande: 121 Tratto Da A Densità media Densità max 8 1 Ponte Libertà Scomensera 5 8 2 Scomensera Ponte Calatrava 6 12 3 Ponte Calatrava Ferrovia 8 10 4 Ferrovia Cannaregio 10 18 5 Cannaregio Santa Fosca 6 18 6 Santa Fosca Ca D'oro 4 4 7 Ca D'oro Rialto 12 16 8 Rialto San Silvestro 5 8 9 S.Silvestro San Tomà 14 26 10 9 10 San Tomà Ca' Rezzonico 21 25 11 Ca' Rezzonico Accademia 8 9 12 Accademia Salute 14 18 Page 24 13 Salute Bacino S.Marco 8 8 11 12 13

Example Page 25

Background subtraction problems Background subtraction is a fast and effective technique, but it presents a series of problems: How to compute a correct background? How to manage gradual and sudden illumination changes? How to manage high-frequencies background objects (such as tree branches, sea waves, and similar)? How to manage partially occluded objects (for example, two cars crossing in a street)? Page 26

How to manage partially occluded objects? UNDER SEGMENTATION 1 blob 2 boats OVER SEGMENTATION 3 blobs 2 boats Page 27

Proposed solution Background Subtraction + Optical Flow + Rek-means [Bloisi and Iocchi 2008] Page 28

Optical flow We use a sparse iterative version of Lucas-Kanade optical flow in pyramids [Bouget 2000]. It calculates coordinates of the feature points on the current video frame given their coordinates on the previous frame. The function finds the coordinates with sub-pixel accuracy. Every feature point is classiefied into one of four principal directions. NW direction previous frame current frame optical flow image (a particular) Page 29

Under segm. solution using OF k=? noise outliers Solution (non trivial): clustering the OF sparse map Page 30

Over segm. solution using OF Page 31

K-means clustering x true centroids + k-means centroids random initialization for the k clusters Page 32

K-means limitations the user may know the exact number of clusters (k) beforehand k-means is not guaranteed to return a global optimum: The quality of the final solution depends largely on the initial set of centroids, and may, in practice, be much poorer than the global optimum. If we choose the k initial clusters at random, k-means can converge to the wrong answer (in the sense that a different and optimal solution to the minimization function exists). Page 33

Rek-means features Page 34

Improved clustering using Rek-means Page 35

Rek-means algorithm Page 36

Rek-means steps a) Initial data set b) Over-clustering c) Rectangles merging d) Final centroids Page 37

Rectangle distance Page 38

Validating step Page 39

Anderson Darling test if A 2 > CV the test is negative else if A 2 < CV the test is positive where CV is the critical value Page 40

Validating step example d >> The associating step finds 1 cluster The validating step corrects the error and finds 2 clusters Page 41

Rek-means real data example Current frame and foreground image Rek-means output Page 42

Rek-means evaluation 100 images (with resolution 2000 x2000) Time complexity O(nlogn) Page 43

ARGOS experimental evaluation on-line, evaluation is performed during the actual operation of the system; recorded on-line evaluation is performed on a video recording the output of the system running on-line; off-line evaluation is performed on the system running offline on recorded input videos. Page 44

Online evaluation FN: False negatives, i.e. boats not tracked FP-R: False positives due to reflections (wrong track with a random direction) FP-W: False positives due to wakes (wrong track following the correct one) Page 45

Counting evaluation COUNTING EVALUATION TEST A virtual line has been put across the Canal in the field of view of a survey cell, the number of boats passing this line has been counted automatically by the system nsys, and the same value is manually calculated by visually inspection n, the average percentage error is then computed as ε = nsys n / n An additional error measure is calculated by considering the probability of making an error in counting a single boat passing the line where δ( ) is 0 when the argument is 0 and 1 otherwise. Page 46

Counting evaluation (2) Page 47

New features It is crucial to know who does what Behavior analysis based on the identity of boats observed is very difficult through Computer Vision only (plate recognition impossible with occlusion) Add sensors such as GPS or Radio Frequency Identifiers (RFID) Page 48

References - D. Bloisi, L. Iocchi, G.R. Leone, R. Pigliacampo, L. Tombolini, L. Novelli. A Distributed Vision System for Boat Traffic Monitoring in the Venice Grand Canal (VISAPP), 2007. - D. Bloisi and L. Iocchi. Rek-Means: A k-means Based Clustering Algorithm. In Proc. of 6th Int. Conf. on Computer Vision Systems (ICVS). 2008. pp. 109-118 - J.Y. Bouguet. Pyramidal Implementation of the Lucas Kanade Feature Tracker. 2000 Page 49

Data clustering for image segmentation Domenico Bloisi bloisi@dis.uniroma1.it