4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

22
4.2. Descripteurs : BoF et BoW

Transcript of 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Page 1: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

4.2. Descripteurs : BoF et BoW

Page 2: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Approche BagofFeatures (BoF)

D’après Lazebnik (UNC)

Page 3: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Comparaison des images

Score(i,j) d(Fk,i,Fl,j)

Page 4: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Recherche des images similaires

• - Mesure de similarité entre les descripteurs(SIFT : distance L1, histogrammes – distance L1,

coeff de Battacharyya, Ki-2,…, mesures assymetriques)

- Score : nombre de descripteurs similaires au sens de la mesure de similarité choisie

Page 5: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Recherche des images similaires

Page 6: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Recherche des images similaires

Page 7: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Stratégie de vote(1)

Page 8: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Stratégie de vote(2)

K=7 : inconvenients? Non-symétrique

Page 9: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Stratégie de vote (3)

Page 10: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Extension à la comparaison et recherche de la vidéo

Page 11: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Stratégie de vote

• Calcul de « bonnes » correspondances uniquement en considérant toutes les correspondances équivalentes.

• Nécessité d’une similarité plus « sémantique »

• Difficultés de « passage en échelle » - une grande quantité des appariements.

Page 12: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Approche par Bag of Words BoW

• Approches inspirées par – la recherche dans des bases de données textuelles– (R. Baeza –Yates, B. Ribero-Neto, Modern

Information Retrieval, ACM Press, 1999)– la quantification viselle (codage) ( Lindo Buso

Gray)

« Dictionnaires visuels »

Page 13: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

BoW(1)

• « visage », »herbe », « bâtiment » ????

Lazebnik (UNC) conférence sur BoF, proposé par G. Szurka en 2004

Page 14: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

BoW(2)

• 1. Extraction des descripteurs des éléments• 2. Construction de l’ensemble des

descripteurs

+ +…

Page 15: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

BoW(3)

Page 16: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

BoW(4)

Page 17: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

BoW(5)

Page 18: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Choix des éléments de l’imageet des descripteurs(1)

• Vogel & Schiele, 2003• •Fei-Fei & Perona, 2005• Quenot et Ayache 2005,• Merialdo, Dumont 2008

Page 19: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Choix des éléments de l’image et des descripteurs (2)

Sivic & Zisserman 2005

Page 20: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

TF-IDF(1)

Page 21: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

TF-IDF(2)

Page 22: 4.2. Descripteurs : BoF et BoW. Approche BagofFeatures (BoF) Daprès Lazebnik (UNC)

Méthodes de construction de dictionnaire

• Algorithmes de groupement de données :• clustering • Le plus fréquement utilisé est l’algorithme des

K-moyennes