Indexing local features. Wed March 30 Prof. Kristen Grauman UT-Austin

Similar documents
Indexing local features and instance recognition

Instance Recognition. Jia-Bin Huang Virginia Tech ECE 6554 Advanced Computer Vision

Generic object recognition

BBM 413 Fundamentals of Image Processing Dec. 11, Erkut Erdem Dept. of Computer Engineering Hacettepe University. Segmentation Part 1

CS 1674: Intro to Computer Vision. Face Detection. Prof. Adriana Kovashka University of Pittsburgh November 7, 2016

CS 1674: Intro to Computer Vision. Intro to Recognition. Prof. Adriana Kovashka University of Pittsburgh October 24, 2016

CS 1699: Intro to Computer Vision. Introduction. Prof. Adriana Kovashka University of Pittsburgh September 1, 2015

Lecture 5: Clustering and Segmentation Part 1

A TEXT RETRIEVAL APPROACH TO CONTENT-BASED AUDIO RETRIEVAL

CS 2770: Computer Vision. Introduction. Prof. Adriana Kovashka University of Pittsburgh January 5, 2017

COSC282 BIG DATA ANALYTICS FALL 2015 LECTURE 11 - OCT 21

International Journal of Advance Engineering and Research Development MUSICAL INSTRUMENT IDENTIFICATION AND STATUS FINDING WITH MFCC

ECS 189G: Intro to Computer Vision March 31 st, Yong Jae Lee Assistant Professor CS, UC Davis

LEARNING AUDIO SHEET MUSIC CORRESPONDENCES. Matthias Dorfer Department of Computational Perception

Lecture 5: Clustering and Segmenta4on Part 1

MidiFind: Fast and Effec/ve Similarity Searching in Large MIDI Databases

Music Emotion Recognition. Jaesung Lee. Chung-Ang University

Summarizing Long First-Person Videos

DAY 1. Intelligent Audio Systems: A review of the foundations and applications of semantic audio analysis and music information retrieval

An Introduction to Deep Image Aesthetics

TRAFFIC SURVEILLANCE VIDEO MANAGEMENT SYSTEM

Week 14 Query-by-Humming and Music Fingerprinting. Roger B. Dannenberg Professor of Computer Science, Art and Music Carnegie Mellon University

Enhancing Music Maps

DeepID: Deep Learning for Face Recognition. Department of Electronic Engineering,

Outline. Why do we classify? Audio Classification

Multimedia Communications. Video compression

8088 Corruption. Motion Video on a 1981 IBM PC with CGA

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Multimedia Communications. Image and Video compression

SIMSSA DB: A Database for Computational Musicological Research

CS 7643: Deep Learning

Modeling memory for melodies

Music Mood. Sheng Xu, Albert Peyton, Ryan Bhular

VBM683 Machine Learning

Predicting Aesthetic Radar Map Using a Hierarchical Multi-task Network

Computational Models of Music Similarity. Elias Pampalk National Institute for Advanced Industrial Science and Technology (AIST)

Gender and Age Estimation from Synthetic Face Images with Hierarchical Slow Feature Analysis

Deep Neural Networks Scanning for patterns (aka convolutional networks) Bhiksha Raj

CS 7643: Deep Learning

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

OBJECT-BASED IMAGE COMPRESSION WITH SIMULTANEOUS SPATIAL AND SNR SCALABILITY SUPPORT FOR MULTICASTING OVER HETEROGENEOUS NETWORKS

Processing. Electrical Engineering, Department. IIT Kanpur. NPTEL Online - IIT Kanpur

Detecting the Moment of Snap in Real-World Football Videos

Experiments on musical instrument separation using multiplecause

A Discriminative Approach to Topic-based Citation Recommendation

Representations of Sound in Deep Learning of Audio Features from Music

Image Contrast Enhancement (ICE) The Defining Feature. Author: J Schell, Product Manager DRS Technologies, Network and Imaging Systems Group

Video coding standards

Introduction to Digital Signal Processing (Discrete-time Signal Processing) Prof. Ja-Ling Wu Dept. CSIE & GINM National Taiwan University

!"#"$%& Some slides taken shamelessly from Prof. Yao Wang s lecture slides

TOWARD AN INTELLIGENT EDITOR FOR JAZZ MUSIC

Extracting Significant Patterns from Musical Strings: Some Interesting Problems.

Image Steganalysis: Challenges

DAY 1. Intelligent Audio Systems: A review of the foundations and applications of semantic audio analysis and music information retrieval

Scalable Foveated Visual Information Coding and Communications

The Research of Controlling Loudness in the Timbre Subjective Perception Experiment of Sheng

CERIAS Tech Report Preprocessing and Postprocessing Techniques for Encoding Predictive Error Frames in Rate Scalable Video Codecs by E

2. Problem formulation

Music Similarity and Cover Song Identification: The Case of Jazz

Using Genre Classification to Make Content-based Music Recommendations

Sarcasm Detection in Text: Design Document

Analysis of Visual Similarity in News Videos with Robust and Memory-Efficient Image Retrieval

PERCEPTUAL QUALITY COMPARISON BETWEEN SINGLE-LAYER AND SCALABLE VIDEOS AT THE SAME SPATIAL, TEMPORAL AND AMPLITUDE RESOLUTIONS. Yuanyi Xue, Yao Wang

LSTM Neural Style Transfer in Music Using Computational Musicology

Circular Statistics Applied to Colour Images

Off-line Handwriting Recognition by Recurrent Error Propagation Networks

DETECTION OF SLOW-MOTION REPLAY SEGMENTS IN SPORTS VIDEO FOR HIGHLIGHTS GENERATION

Digital Signal Processing. Prof. Dietrich Klakow Rahil Mahdian

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003

jsymbolic and ELVIS Cory McKay Marianopolis College Montreal, Canada

4. Formal Equivalence Checking

Lossless Compression Algorithms for Direct- Write Lithography Systems

PERCEPTUAL QUALITY OF H.264/AVC DEBLOCKING FILTER

Lyric-Based Music Mood Recognition

Seeing Using Sound. By: Clayton Shepard Richard Hall Jared Flatow

COMP 9519: Tutorial 1

jsymbolic 2: New Developments and Research Opportunities

Chord Classification of an Audio Signal using Artificial Neural Network

Free Viewpoint Switching in Multi-view Video Streaming Using. Wyner-Ziv Video Coding

Hidden Markov Model based dance recognition

Reducing False Positives in Video Shot Detection

Screenless Display Technology

Contextual music information retrieval and recommendation: State of the art and challenges

Automatic Music Genre Classification

Module 3: Video Sampling Lecture 16: Sampling of video in two dimensions: Progressive vs Interlaced scans. The Lecture Contains:

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

Broken Wires Diagnosis Method Numerical Simulation Based on Smart Cable Structure

Music Radar: A Web-based Query by Humming System

Subjective Similarity of Music: Data Collection for Individuality Analysis

Melody classification using patterns

Visual Communication at Limited Colour Display Capability

Overview: Video Coding Standards

complex than coding of interlaced data. This is a significant component of the reduced complexity of AVS coding.

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

An Overview of Video Coding Algorithms

Multiview Video Coding

Automatic Commercial Monitoring for TV Broadcasting Using Audio Fingerprinting

DCI Requirements Image - Dynamics

Displays and framebuffers

Transcription:

Indexing local features Wed March 30 Prof. Kristen Grauman UT-Austin

Matching local features Kristen Grauman

Matching local features? Image 1 Image 2 To generate candidate matches, find patches that have the most similar appearance (e.g., lowest SSD) Simplest approach: compare them all, take the closest (or closest k, or within a thresholded distance) Kristen Grauman

Matching local features Image 1 Image 2 In stereo case, may constrain by proximity if we make assumptions on max disparities. Kristen Grauman

Indexing local features Kristen Grauman

Indexing local features Each patch / region has a descriptor, which is a point in some high-dimensional feature space (e.g., SIFT) Descriptor s feature space Kristen Grauman

Indexing local features When we see close points in feature space, we have similar descriptors, which indicates similar local content. Descriptor s feature space Query image Database images Kristen Grauman

Indexing local features With potentially thousands of features per image, and hundreds to millions of images to search, how to efficiently find those that are relevant to a new image? Kristen Grauman

Indexing local features: inverted file index For text documents, an efficient way to find all pages on which a word occurs is to use an index We want to find all images in which a feature occurs. To use this idea, we ll need to map our features to visual words. Kristen Grauman

Text retrieval vs. image search What makes the problems similar, different? Kristen Grauman

Visual words: main idea Extract some local features from a number of images e.g., SIFT descriptor space: each point is 128-dimensional Slide credit: D. Nister, CVPR 2006

Visual words: main idea

Visual words: main idea

Visual words: main idea

Each point is a local descriptor, e.g. SIFT vector.

Visual words Map high-dimensional descriptors to tokens/words by quantizing the feature space Word #2 Descriptor s feature space Quantize via clustering, let cluster centers be the prototype words Determine which word to assign to each new image region by finding the closest cluster center. Kristen Grauman

Visual words Example: each group of patches belongs to the same visual word Figure from Sivic & Zisserman, ICCV 2003 Kristen Grauman

Visual words and textons First explored for texture and material representations Texton = cluster center of filter responses over collection of images Describe textures and materials based on distribution of prototypical texture elements. Leung & Malik 1999; Varma & Zisserman, 2002 Kristen Grauman

Dimension 2 (mean d/dy value) Recall: Texture representation example Windows with primarily horizontal edges Both mean d/dx value mean d/dy value Win. #1 4 10 Win.#2 18 7 Win.#9 20 20 Dimension 1 (mean d/dx value) Windows with small gradient in both directions Windows with primarily vertical edges statistics to summarize patterns in small windows Kristen Grauman

Visual vocabulary formation Issues: Sampling strategy: where to extract features? Clustering / quantization algorithm Unsupervised vs. supervised What corpus provides features (universal vocabulary?) Vocabulary size, number of words Kristen Grauman

Inverted file index Database images are loaded into the index mapping words to image numbers Kristen Grauman

Inverted file index When will this give us a significant gain in efficiency? New query image is mapped to indices of database images that share a word. Kristen Grauman

If a local image region is a visual word, how can we summarize an image (the document)?

Analogy to documents Of all the sensory impressions proceeding to the brain, the visual experiences are the dominant ones. Our perception of the world around us is based essentially on the messages that reach the brain from our eyes. For a long time it was thought that the retinal image was transmitted sensory, point brain, by point to visual centers in the brain; the cerebral cortex was a visual, perception, movie screen, so to speak, upon which the image in retinal, the eye was cerebral projected. Through cortex, the discoveries of eye, Hubel cell, and Wiesel optical we now know that behind the origin of the visual perception in the nerve, brain there image is a considerably more complicated Hubel, course of Wiesel events. By following the visual impulses along their path to the various cell layers of the optical cortex, Hubel and Wiesel have been able to demonstrate that the message about the image falling on the retina undergoes a stepwise analysis in a system of nerve cells stored in columns. In this system each cell has its specific function and is responsible for a specific detail in the pattern of the retinal image. China is forecasting a trade surplus of $90bn ( 51bn) to $100bn this year, a threefold increase on 2004's $32bn. The Commerce Ministry said the surplus would be created by a predicted 30% jump in exports to $750bn, compared with a 18% rise in imports to $660bn. The figures China, are likely trade, to further annoy the US, which has long argued that surplus, commerce, China's exports are unfairly helped by a deliberately exports, undervalued imports, yuan. Beijing US, agrees the yuan, surplus bank, is too high, domestic, but says the yuan is only one factor. Bank of China governor Zhou foreign, Xiaochuan increase, said the country also needed to do trade, more to value boost domestic demand so more goods stayed within the country. China increased the value of the yuan against the dollar by 2.1% in July and permitted it to trade within a narrow band, but the US wants the yuan to be allowed to trade freely. However, Beijing has made it clear that it will take its time and tread carefully before allowing the yuan to rise further in value. ICCV 2005 short course, L. Fei-Fei

Bags of visual words Summarize entire image based on its distribution (histogram) of word occurrences. Analogous to bag of words representation commonly used for documents.

Comparing bags of words Rank frames by normalized scalar product between their (possibly weighted) occurrence counts---nearest neighbor search for similar images. [1 8 1 4] [5 1 1 0] j d q for vocabulary of V words Kristen Grauman

tf-idf weighting Term frequency inverse document frequency Describe frame by frequency of each word within it, downweight words that appear often in the database (Standard weighting for text retrieval) Number of occurrences of word i in document d Number of words in document d Total number of documents in database Number of documents word i occurs in, in whole database Kristen Grauman

Bags of words for content-based image retrieval Slide from Andrew Zisserman Sivic & Zisserman, ICCV 2003

Slide from Andrew Zisserman Sivic & Zisserman, ICCV 2003

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Video Google System 1. Collect all words within query region 2. Inverted file index to find relevant frames 3. Compare word counts 4. Spatial verification Sivic & Zisserman, ICCV 2003 Demo online at : http://www.robots.ox.ac.uk/~vgg/r esearch/vgoogle/index.html Query region Retrieved frames K. Grauman, B. Leibe 32

precision Scoring retrieval quality Query Database size: 10 images Relevant (total): 5 images Results (ordered): precision = #relevant / #returned recall = #relevant / #total relevant 1 0.8 0.6 0.4 0.2 0 0 0.2 0.4 0.6 0.8 1 recall Slide credit: Ondrej Chum

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Trees: hierarchical clustering for large vocabularies Tree construction: [Nister & Stewenius, CVPR 06] Slide credit: David Nister

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Tree Training: Filling the tree [Nister & Stewenius, CVPR 06] K. Grauman, B. Leibe Slide credit: David Nister

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Tree Training: Filling the tree [Nister & Stewenius, CVPR 06] K. Grauman, B. Leibe Slide credit: David Nister

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Tree Training: Filling the tree [Nister & Stewenius, CVPR 06] K. Grauman, B. Leibe Slide credit: David Nister

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Tree Training: Filling the tree [Nister & Stewenius, CVPR 06] K. Grauman, B. Leibe Slide credit: David Nister

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Tree Training: Filling the tree K. Grauman, B. Leibe [Nister & Stewenius, CVPR 06] Slide credit: David Nister 39

What is the computational advantage of the hierarchical representation bag of words, vs. a flat vocabulary?

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Vocabulary Tree Recognition RANSAC verification [Nister & Stewenius, CVPR 06] Slide credit: David Nister

Bags of words: pros and cons + flexible to geometry / deformations / viewpoint + compact summary of image content + provides vector representation for sets + very good results in practice - basic model ignores geometry must verify afterwards, or encode via features - background and foreground mixed when bag covers whole image - optimal vocabulary formation remains unclear

Summary Matching local invariant features: useful not only to provide matches for multi-view geometry, but also to find objects and scenes. Bag of words representation: quantize feature space to make discrete set of visual words Summarize image by distribution of words Index individual words Inverted index: pre-compute index to enable faster search at query time