Dispense del corso di Elaborazione di Immagini e Audio Digitali

Documenti analoghi
Appendice A. Conduttori elettrici, sezioni e diametri Appendix A. Wires, Sizes and AWG diameters

A.A. 2006/2007 Laurea di Ingegneria Informatica. Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio

manuale di identità visiva visual identity manual

Lo sniffer. questo sconosciuto! Corso di Reti di Calcolatori Architetture e Servizi A.A. 2010/11. Introduzione allo sniffing TCP

R.M.Dorizzi, Strumenti per interpretare gli esami di laboratorio? Forlì, 9 ottobre 2012

Stima della qualità dei classificatori per l analisi dei dati biomolecolari

Exam of ELECTRONIC SYSTEMS June 17 th, 2014 Prof. Marco Sampietro

Numerical Heat and Mass Transfer

Combinazioni serie IL-MIL + MOT

Fisher Linear discriminant analysis (pag 228)

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

ALLEGATO A Misure di microtremore sismico mediante tecnica HVSR a stazione singola (Micromed TROMINO)

ENGINE COMPONENT DESIGN Cap. 7 AIAA AIRCRAFT ENGINE DESIGN R03-23/10/2013

sottobasi per valvole a spola

Guida utente User Manual made in Italy Rev0

Reti e Protocolli rassegna (II)

GUIDA AL LOGO LOGO GUIDELINES

Estratto dal Cap. 8 di: Statistics for Marketing and Consumer Research, M. Mazzocchi, ed. SAGE, 2008.

Tipici tempi di esecuzione. Martedì 7 ottobre 2014

M-LOCK Serratura magnetica per porte in vetro a battente. M-LOCK Magnetic lock for glass swing doors

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

A.S. 2011/2012. Circuito semaforico da incrocio. Corso di Elettronica. Dipartimento di Elettrotecnica

Clicca sulle immagini di preview qui sotto per aprire e visualizzare alcuni esempi di presentazioni dinamiche create con Focusky:

I CAMBIAMENTI PROTOTESTO-METATESTO, UN MODELLO CON ESEMPI BASATI SULLA TRADUZIONE DELLA BIBBIA (ITALIAN EDITION) BY BRUNO OSIMO

Fiori di campo. Conoscere, riconoscere e osservare tutte le specie di fiori selvatici più note

IL GIOVANE HOLDEN FRANNY E ZOOEY NOVE RACCONTI ALZATE LARCHITRAVE CARPENTIERI E SEYMOUR INTRODUZIONE BY JD SALINGER

FISE Federazione Italiana Sport Equestri

100 consigli per vivere bene (Italian Edition)

AVERE 30 ANNI E VIVERE CON LA MAMMA BIBLIOTECA BIETTI ITALIAN EDITION

PROTEZIONI TERMICHE E SCALDIGLIE ANTICONDENSA

by Luigi Pentasuglia

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Scritto da DEApress Lunedì 14 Aprile :03 - Ultimo aggiornamento Martedì 26 Maggio :34

D D S Application Example

Famiglie di tabelle fatti

Centrale MK3 MK3 power packs

)) Read Smettere di lavorare a 50 anni: Andare in pensione da giovani, Cambiare vita, Guadagnare risparmiando, Far fruttare... download an ebook to

Canti Popolari delle Isole Eolie e di Altri Luoghi di Sicilia (Italian Edition)

NON VENTILATED DC MOTORS

A review of some Java basics. Java pass-by-value and List<> references

Index. Intro 2. Stainless Steel 4. Datasheets 11. Misure / Dimensions 12

GUIDA AL LOGO LOGO GUIDELINES

REGISTRATION GUIDE TO RESHELL SOFTWARE

Lezione n. 7. Un esempio di applicazione del metodo degli elementi finiti: calcolo della capacità di un condensatore piano

Sezione 1 / Section 1. Elementi d identità: il marchio Elements of identity: the logo

VIP SERVICES TERMS AND CONDITIONS / TERMINI E CONDIZIONI DEI SERVIZI VIP

MODALITA DI IMPIEGO PD

P S I C O M E T R I A. L'ultima lezione. Marcello Gallucci. Milano-Bicocca

~` Read Aumentare La Massa Muscolare: Come Far Crescere I Tuoi Muscoli E Allenare La Tua Massa Muscolare - Aumenta La... books download free audio

Copyright 2012 Binary System srl Piacenza ITALIA Via Coppalati, 6 P.IVA info@binarysystem.eu

6.5 RNA Secondary Structure. 18 novembre 2014

REGISTRATION. Area Ricerca

Mod INTERFACCIA USB/KEY USB/KEY INTERFACE. Sch./Ref.1067/003

Unlimited selection DESIGN KARIM RASHID

Downloading and Installing Software Socio TIS

HIGH BYPASS RATIO TURBOFAN ENGINE App. J AIAA AIRCRAFT ENGINE DESIGN

The Effect of Manual Techniques on Cervical Kinematic. An Innovative Approach using Helical Axis

INFORMAZIONE AGLI UTENTI DI APPARECCHIATURE DOMESTICHE O PROFESSIONALI

Installazione interfaccia e software di controllo mediante PC Installing the PC communication interface and control software

Immagini e clustering

User Guide Guglielmo SmartClient

TFT LCD -5 /COL Monitor a colori LCD TFT 5 senza fili 2.4 GHz 2.4 GHz Wireless CCD 5" TFT color LCD monitor

M257SC. Scanner per lastre Scanner for slabs

LED Bulb Lamp 5W A55 (E27) ELCART. A New Experience in Light

Scuola Sec. Secondo Grado FINALE IND. - 14/15 ESERCIZIO 1

AVVISO n Aprile 2010 SeDeX

DEMETRA

PROGRAMMA DI RICERCA ANALISI DI BUDGET-IMPACT SUI FARMACI INNOVATIVI

BUON GIORNO RAGAZZI! Oggi è il 13 ottobre, 2015

Painting with the palette knife

Capitolo 6 - Array. Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

Manuale per il collegamento e l uso Installation and operation manual

Selection procedure. MASTER IN BUSINESS ADMINISTRATION - MBA (LM-77, 2-year postgraduate degree) AY 2017/18

Marketing non Convenzionale: Viral, Guerrilla e prospettive future (Italian Edition)

Compatibilità del Portale Piaggio con Internet Explorer 10 e 11. Internet Explorer 10

WELCOME. Go to the link of the official University of Palermo web site Click on the box on the right side Login unico

Informatica e Produzione Multimediale. Introduzione

Hard Disk Drive Duplicator Dock USB 3.0 to SATA HDD Duplicator. StarTech ID: SATDOCK22RU3

Quando mi collego ad alcuni servizi hosting ricevo un messaggio relativo al certificato di protezione del sito SSL, come mai?

Name on a passport, HANGTAG

Una Ricerca Erboristica (Italian Edition)

TIENI IL TEMPO ENCICLOPEDIA DEI RITMI IN SEDICESIMI

Capitolo 5 - Funzioni

Measurement. Picture 1. Picture 2

RAPPORTO TECNICO ANALISI FINITURA SUPERFICIALE IMPIANTO IN TITANIO IMPIANTO con Lotto CON TRATTAMENTO SUPERFICIALE SL TECOM IMPLANTOLOGY

Scheda Allarmi Alarm Board MiniHi

Esercizi Programming Contest

Arcadja Report Sebastiano Conca

U Corso di italiano, Lezione Quattordici

ORIGAMI: How to make roses

Anteprima PRODOTTI. PRODUCTS Preview

Pezzi da ritagliare, modellare e incollare nell ordine numerico indicato.

1 1 0 / n news

GstarCAD 2010 Features

Radio Frequency Identification Systems

Introduction. The Structure of a Compiler

UNIVERSITÀ DI PISA FACOLTÀ DI INGEGNERIA

SISTEMA DI ILLUMINAZIONE PER VERRICELLI WINDLASS LIGHTING SYSTEM

Manuale Handbook. Via Torino Piagera di Gabiano (AL) - ITALIA Tel xxxxxx - fax +39 xxxxx. support.race@dimsport.

INDICE. 2.1 Cenni teorici sul metodo di Nakamura Pag Modalità di acquisizione Pag Elaborazione dati Pag. 3

Transcript:

http://imagelab.ing.unimo.iting it Dispense del corso di Elaborazione di Immagini e Audio Digitali Un problema reale: Shot detection Prof. Roberto Vezzani

Un esempio di elaborazione di video In questa lezione affrontiamo un problema reale di elaborazione di un video Dato un problema da risolvere, vedremo diverse strategie per affrontarlo e i metodi per valutarne le prestazioni i

Cosa è la Shot Detection? Problem definition shot detection: given a video V consisting of n shots, find the beginning and end of each shot. Also known as shot boundary detection or transition detection. It is fundamental to any kind of video analysis and video application since it enables segmentation of a video into its basic components: the shots.

Struttura di un video

Classificazione delle scene (Pattern recognition) Esempio: classificazione di shot in un video preso da telegiornale

Classificazione delle transizioni Hard cuts: A cut is an instantaneous transition from one scene to the next. Fades: A fade is a gradual transition between a scene and a constant image (fade-out) or between a constant image and a scene (fade-in). Dissolves: A dissolve is a gradual transition from one scene to another, in which the first scene fades out and the second scene fades in. Wipe: another common scene break is a wipe, in which a line moves across the screen, with the new scene appearing behind the line.

Fades During a fade, images have their intensities multiplied by some value α. During a fade-in, α increases from 0 to 1, while during a fade-out α decreases from 1 to 0.

Dissolvenza Combinazione di fade-in e fade-out.

Cut Detection Normalmente i frame di un video derivano dal campionamento temporale di una funzione continua. Se il framerate è sufficientemente alto, le variazioni interframe devono essere piccole Serie temporale delle dissimilarità: f(n). n=numero numero del frame, N numero totale di frames. Suppose we use function d(x,y) to measure the dissimilarity between frame x and y. The discontinuity feature value for frame n is f(n)=d(n-1,n). Pick the cuts position from f(n) based on some threshold techniques.

Esempio

Misure di dissimilarità Intensity/color histogram d d H ( f ), H ( g ) H ( f )( i ) H ( g )( i ) 255 i 0 2

The Edge Change Ratio ECR(n, k)

imd1 = rgb2gray(im1); Imd2 = rgb2gray(im2); % black background image bw1 = edge(imd1, 'sobel'); bw2 = edge(imd2, 'sobel'); % invert image to white background ibw2 = 1-bw2; ibw1 = 1-bw1; s1 = size(find(bw1),1); s2 = size(find(bw1),1); % dilate se = strel('square',3); dbw1 = imdilate(bw1, se); dbw2 = imdilate(bw2, se); imin = dbw1 & ibw2; imout = dbw2 & ibw1; ECRIn = size(find(imin),1)/s2; ( ) ECROut = size(find(imout),1)/s1; ECR = max(ecrin, ECROut);

Thresholding come calcolare la soglia Global threshold A hard cut is declared each time the discontinuity value f(n) surpasses a global thresholds. Adaptive threshold A hard cut is detected based on the difference of the current feature values f(n) from its local neighborhood. Generally this kind of method has 2 criteria for a hard cut declaration: - F(n) takes the maximum value inside id the neighborhood. h - The difference between f(n) and its neighbors feature values is bigger than a given threshold.

Thresholding come calcolare la soglia Metodi empirici Metodi manuali Modellazione matematica del sistema Modellazione probabilistica del sistema

Metodi probabilistici: formule base

Thresholding come calcolare la soglia Use a slide window with size 2w+1. The middle frame in the window is detected as a cut if: - Its feature value is the maximum in the window. - Its feature value is greater than max( left T d left, right T d right where T d is a parameter given a value of 5 in this experiment. )

The statistics model is based on following assumption: The dissimilarity feature values f(n) for a frame comes from two distributions: one for shot boundaries(s) and one for not-a-shot-boundary (N). In general, S has asaco a considerably sdeaby larger age mean and dsta standard dadde deviation ato than N.

Experiments Input: a lot of frames Dissimilarity function - Intensity histogram - Edge change ratio (ECR) Thresholding - Adaptive threshold based on statistics model.

Results Intensity histogram dissimilarity + adaptive thresholding

Results(cont.) ECR dissimilarity + adaptive thresholding

Analisi delle prestazioni Precision and Recall Pr ecision correttame nte _ identifica ti correttame nte _ identifica ti falsi _ allarmi Re call correttame nte _ identifica ti correttame nte _ identifica ti identifica zioni _ perse F 2 * Pr ecision * Re call Pr ecision Re call Curve ROC: coppie (Precision-Recall) per diversi valori di eventuali soglie o parametri

Curva ROC - Receiver operating characteristic (da wikipedia)

Problemi correlati Estrazione dei keyframes Uso dei keyframes nel video editing