By Suren Manvelyan,

Similar documents
Indexing local features and instance recognition May 16 th, 2017

Indexing local features and instance recognition May 14 th, 2015

Indexing local features and instance recognition May 15 th, 2018

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

CS 4495 Computer Vision Classification 3: Bag of Words. Aaron Bobick School of Interactive Computing

Pattern recognition (3)

Recognizing object instances

Recognizing Object Instances. Prof. Xin Yang HUST

Distances and Kernels. Motivation

Today. Main questions 10/30/2008. Bag of words models. Last time: Local invariant features. Harris corner detector: rotation invariant detection

Advanced Techniques for Mobile Robotics Bag-of-Words Models & Appearance-Based Mapping

Instance recognition

Recognizing object instances. Some pset 3 results! 4/5/2011. Monday, April 4 Prof. Kristen Grauman UT-Austin. Christopher Tosh.

Recognition with Bag-ofWords. (Borrowing heavily from Tutorial Slides by Li Fei-fei)

Feature Matching + Indexing and Retrieval

Lecture 14: Indexing with local features. Thursday, Nov 1 Prof. Kristen Grauman. Outline

Object Classification for Video Surveillance

CS6670: Computer Vision

Local Features and Bag of Words Models

Bag of Words Models. CS4670 / 5670: Computer Vision Noah Snavely. Bag-of-words models 11/26/2013

Visual Object Recognition

Patch Descriptors. CSE 455 Linda Shapiro

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Lecture 12 Visual recognition

EECS 442 Computer vision. Object Recognition

Keypoint-based Recognition and Object Search

Supervised learning. y = f(x) function

Part-based and local feature models for generic object recognition

Previously. Part-based and local feature models for generic object recognition. Bag-of-words model 4/20/2011

Supervised learning. f(x) = y. Image feature

Patch Descriptors. EE/CSE 576 Linda Shapiro

Part based models for recognition. Kristen Grauman

Object Recognition and Augmented Reality

Visual Navigation for Flying Robots. Structure From Motion

Beyond bags of features: Adding spatial information. Many slides adapted from Fei-Fei Li, Rob Fergus, and Antonio Torralba

Image Features and Categorization. Computer Vision Jia-Bin Huang, Virginia Tech

Image Features and Categorization. Computer Vision Jia-Bin Huang, Virginia Tech

Lecture 12 Recognition

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

CV as making bank. Intel buys Mobileye! $15 billion. Mobileye:

Supervised learning. y = f(x) function

Lecture 12 Recognition

Visual words. Map high-dimensional descriptors to tokens/words by quantizing the feature space.

Object Recognition. Computer Vision. Slides from Lana Lazebnik, Fei-Fei Li, Rob Fergus, Antonio Torralba, and Jean Ponce

Lecture 12 Recognition. Davide Scaramuzza

Announcements. Recognition. Recognition. Recognition. Recognition. Homework 3 is due May 18, 11:59 PM Reading: Computer Vision I CSE 152 Lecture 14

Large-scale visual recognition The bag-of-words representation

Bag-of-features. Cordelia Schmid

Local features, distances and kernels. Plan for today

The bits the whirl-wind left out..

Local Image Features

Recognition. Topics that we will try to cover:

Machine Learning Crash Course

Instance recognition and discovering patterns

Beyond Bags of Features

Introduction to Object Recognition & Bag of Words (BoW) Models

Lecture 15: Object recognition: Bag of Words models & Part based generative models

Artistic ideation based on computer vision methods

Introduction to object recognition. Slides adapted from Fei-Fei Li, Rob Fergus, Antonio Torralba, and others

Fuzzy based Multiple Dictionary Bag of Words for Image Classification

Large Scale Image Retrieval

Discriminative classifiers for image recognition

Mining Discriminative Adjectives and Prepositions for Natural Scene Recognition

Texture. COS 429 Princeton University

Instance-level recognition II.

Lecture 24: Image Retrieval: Part II. Visual Computing Systems CMU , Fall 2013

Beyond Bags of features Spatial information & Shape models

Local Image Features

Evaluation of GIST descriptors for web scale image search

Compressed local descriptors for fast image and video search in large databases

Classifying Images with Visual/Textual Cues. By Steven Kappes and Yan Cao

6.819 / 6.869: Advances in Computer Vision

Grouping and Segmentation

Learning Visual Semantics: Models, Massive Computation, and Innovative Applications

Learning Tree-structured Descriptor Quantizers for Image Categorization

String distance for automatic image classification

Automatic Ranking of Images on the Web

Local Image Features

Bias-Variance Trade-off (cont d) + Image Representations

Large scale object/scene recognition

Perception IV: Place Recognition, Line Extraction

Instance-level recognition part 2

OBJECT CATEGORIZATION

TEXTURE CLASSIFICATION METHODS: A REVIEW

Object Classification Problem

Bias-Variance Trade-off + Other Models and Problems

Deformable Part Models

Integrated Feature Selection and Higher-order Spatial Feature Extraction for Object Categorization

Segmentation and Grouping April 19 th, 2018

Local features and image matching. Prof. Xin Yang HUST

ImageCLEF 2011

Mixtures of Gaussians and Advanced Feature Encoding

Bundling Features for Large Scale Partial-Duplicate Web Image Search

Outline. Segmentation & Grouping. Examples of grouping in vision. Grouping in vision. Grouping in vision 2/9/2011. CS 376 Lecture 7 Segmentation 1

Image classification Computer Vision Spring 2018, Lecture 18

Three things everyone should know to improve object retrieval. Relja Arandjelović and Andrew Zisserman (CVPR 2012)

Window based detectors

Segmentation and Grouping

Distribution Distance Functions

Paper Presentation. Total Recall: Automatic Query Expansion with a Generative Feature Model for Object Retrieval

Transcription:

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

By Suren Manvelyan, http://www.surenmanvelyan.com/gallery/7116

Indy

Indy

Recap Bag of Features for Image Classification

Image Categorization Training Images Training Image Features Training Labels Classifier Training Trained Classifier Test Image Image Features Testing Trained Classifier Prediction Outdoor

Origin 1: Texture recognition Texture is characterized by the repetition of basic elements or textons For stochastic textures, it is the identity of the textons, not their spatial arrangement, that matters Julesz, 1981; Cula & Dana, 2001; Leung & Malik 2001; Mori, Belongie & Malik, 2001; Schmid 2001; Varma & Zisserman, 2002, 2003; Lazebnik, Schmid & Ponce, 2003

Origin 1: Texture recognition histogram Universal texton dictionary Julesz, 1981; Cula & Dana, 2001; Leung & Malik 2001; Mori, Belongie & Malik, 2001; Schmid 2001; Varma & Zisserman, 2002, 2003; Lazebnik, Schmid & Ponce, 2003

But what about layout? All of these images have the same color histogram

Spatial pyramid Compute histogram in each spatial bin

Spatial pyramid representation Extension of a bag of features Locally orderless representation at several levels of resolution level 0 Lazebnik, Schmid & Ponce (CVPR 2006)

Spatial pyramid representation Extension of a bag of features Locally orderless representation at several levels of resolution level 0 level 1 Lazebnik, Schmid & Ponce (CVPR 2006)

Spatial pyramid representation Extension of a bag of features Locally orderless representation at several levels of resolution level 0 level 1 level 2 Lazebnik, Schmid & Ponce (CVPR 2006)

Scene category dataset Multi-class classification results (100 training images per class)

Caltech101 dataset http://www.vision.caltech.edu/image_datasets/caltech101/caltech101.html Multi-class classification results (30 training images per class)

Large-scale Instance Retrieval Computer Vision James Hays Many slides from Derek Hoiem and Kristen Grauman

Multi-view matching vs? Matching two given views for depth Search for a matching view for recognition Kristen Grauman

How to quickly find images in a large database that match a given image region?

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 Kristen Grauman

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Example Applications Mobile tourist guide Self-localization Object/building recognition Photo/video augmentation B. Leibe [Quack, Leibe, Van Gool, CIVR 08]

Visual Perceptual Object and Recognition Sensory Augmented Tutorial Computing Application: Large-Scale Retrieval Query Results from 5k Flickr images (demo available for 100k set) [Philbin CVPR 07]

Simple idea See how many keypoints are close to keypoints in each other image Lots of Matches Few or No Matches But this will be really, really slow!

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. Database images Descriptor s feature space Query image Easily can have millions of features to search! Kristen Grau

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

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 vocabulary formation Issues: Vocabulary size, number of words Sampling strategy: where to extract features? Clustering / quantization algorithm Unsupervised vs. supervised What corpus provides features (universal vocabulary?) Kristen Grauman

Sampling strategies Sparse, at interest points Multiple interest operators Dense, uniformly Randomly To find specific, textured objects, sparse sampling from interest points often more reliable. Multiple complementary interest operators offer more image coverage. For object categorization, dense sampling offers better coverage. [See Nowak, Jurie & Triggs, ECCV 2006] 40 K. Grauman, B. Leibe Image credits: F-F. Li, E. Nowak, J. Sivic

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

Inverted file index New query image is mapped to indices of database images that share a word. Kristen Grauman

Inverted file index Key requirement for inverted file index to be efficient: sparsity If most pages/images contain most words then you re not better off than exhaustive search. Exhaustive search would mean comparing the word distribution of a query versus every page.

Instance recognition: remaining issues How to summarize the content of an entire image? And gauge overall similarity? How large should the vocabulary be? How to perform quantization efficiently? Is having the same set of visual words enough to identify the object/scene? How to verify spatial agreement? How to score the retrieval results? Kristen Grauman

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

Inverted file index and bags of words similarity w 91 1. Extract words in query 2. Inverted file index to find relevant frames 3. Compare word counts Kristen Grauman

Instance recognition: remaining issues How to summarize the content of an entire image? And gauge overall similarity? How large should the vocabulary be? How to perform quantization efficiently? Is having the same set of visual words enough to identify the object/scene? How to verify spatial agreement? How to score the retrieval results? Kristen Grauman

Vocabulary size Results for recognition task with 6347 images Branching factors Influence on performance, sparsity Nister & Stewenius, CVPR 2006 Kristen Grauman

Recognition with K-tree Following slides by David Nister (CVPR 2006)

Vocabulary trees: complexity Number of words given tree parameters: branching factor and number of levels branching_factor^number_of_levels Word assignment cost vs. flat vocabulary O(k) for flat O(log branching_factor (k) * branching_factor) Is this like a kd-tree? Yes, but with better partitioning and defeatist search. This hierarchical data structure is lossy you might not find your true nearest cluster.

To be continued