Recognizing objects Prof. Noah Snavely CS1114

Slides:



Advertisements
Similar presentations
Feature matching “What stuff in the left image matches with stuff on the right?” Necessary for automatic panorama stitching (Part of Project 4!) Slides.
Advertisements

CSE 473/573 Computer Vision and Image Processing (CVIP)
Interest points CSE P 576 Ali Farhadi Many slides from Steve Seitz, Larry Zitnick.
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Polygons and the convex hull Prof. Noah Snavely CS1114
Matching with Invariant Features
Features CSE 455, Winter 2010 February 1, Neel Joshi, CSE 455, Winter Review From Last Time.
Computational Photography
Patch Descriptors CSE P 576 Larry Zitnick
Algorithms and Applications in Computer Vision
Interest points CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Harris corner detector
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
Affine Linear Transformations Prof. Graeme Bailey (notes modified from Noah Snavely, Spring 2009)
Image transformations, Part 2 Prof. Noah Snavely CS1114
Lecture 4: Feature matching
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Feature extraction: Corners and blobs
Feature-based object recognition Prof. Noah Snavely CS1114
Detecting Patterns So far Specific patterns (eyes) Generally useful patterns (edges) Also (new) “Interesting” distinctive patterns ( No specific pattern:
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Computing transformations Prof. Noah Snavely CS1114
Summary of Previous Lecture A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging.
Robust fitting Prof. Noah Snavely CS1114
Lecture 06 06/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Lecture 4: Feature matching CS4670 / 5670: Computer Vision Noah Snavely.
Feature Detection and Matching
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Local invariant features 1 Thursday October 3 rd 2013 Neelima Chavali Virginia Tech.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Project 3 questions? Interest Points and Instance Recognition Computer Vision CS 143, Brown James Hays 10/21/11 Many slides from Kristen Grauman and.
Local features and image matching October 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Local features: detection and description
CS654: Digital Image Analysis
Image matching by Diva SianDiva Sian by swashfordswashford TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAA.
Announcements Project 1 Out today Help session at the end of class.
Projects Project 1a due this Friday Project 1b will go out on Friday to be done in pairs start looking for a partner now.
Lecture 10: Harris Corner Detector CS4670/5670: Computer Vision Kavita Bala.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
Lecture 5: Feature detection and matching CS4670 / 5670: Computer Vision Noah Snavely.
SIFT Scale-Invariant Feature Transform David Lowe
Interest Points EE/CSE 576 Linda Shapiro.
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
Image Features: Points and Regions
3D Vision Interest Points.
TP12 - Local features: detection and description
Lecture 4: Harris corner detection
Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/22
Local features: detection and description May 11th, 2017
Image transformations
Feature description and matching
Corners and Interest Points
Features Readings All is Vanity, by C. Allan Gilbert,
Object recognition Prof. Graeme Bailey
Announcements Project 1 Project 2 (panoramas)
Lecture 5: Feature detection and matching
Announcement Project 1 1.
Local features and image matching
Edge detection f(x,y) viewed as a smooth function
Feature descriptors and matching
Lecture 5: Feature invariance
Lecture 5: Feature invariance
Local features and image matching May 7th, 2019
Presentation transcript:

Recognizing objects Prof. Noah Snavely CS1114

Administrivia  Assignment 4 due on Friday –The first problem is tricky – please get started early!  Quiz 4 next Tuesday, 3/31  Prelim 2 in two weeks, 4/7 (in class) –Covers everything since Prelim 1  Midterm course evaluations 2

Convex hull  The convex hull of a set of points is the smallest convex polygon that contains all of the points 3

Inverse mapping and bilinear interpolation  Given an image and a 2D transform, compute the transformed image using inverse mapping  Given: 4 (5.25, )

Inverse mapping and bilinear interpolation  Given: 5 (5.25, ) (5, 1) (6, 1) (5, 2) (6, 2) ~ 0.75 ~ 0.25 ~ 0 (zoomed in)

Object recognition  Our robots can now recognize this: 6 Thresholding Connected components Find biggest Median vector Convex hull

Object recognition  What else can we recognize with this algorithm? 7 Thresholding Connected components Find biggest Median vector Convex hull

Object recognition  Can we tell these objects apart? 8 *All trademarks are properties of their respective owners

Object recognition 9  How about these objects?

Object recognition  For some objects color is a good feature to use for recognition –For instance, a bright red lightstick  What other features might we use? 10

Object recognition  The most general form involves recognizing all of the different types of objects in an image  This problem is extremely difficult for computers 11

Easier problem  Given an image of an object, can we find that object in another image?  How might we solve this problem? 12 ? template new image

Finding specific objects  What problems might come up? 13

Feature-based image matching (Slides courtesy Steve Seitz)

Feature-based image matching

What makes a good feature? Snoop demo (Slides courtesy Steve Seitz)

Want uniqueness  Look for image regions that are unusual –Lead to unambiguous matches in other images  How to define “unusual”? (Slides courtesy Steve Seitz)

Local measures of uniqueness  Suppose we only consider a small window of pixels –What defines whether a feature is a good or bad candidate? Slide adapted from Darya Frolova, Denis Simakov, Weizmann Institute.

Feature detection “flat” region: no change in all directions “edge”: no change along the edge direction “corner”: significant change in all directions  Local measure of feature uniqueness –How does the window change when you shift it? –Shifting the window in any direction causes a big change

Corner detector example

f value (red high, blue low)

Threshold (f > value)

Find local maxima of f

Feature descriptors  We know how to detect good points  Next question: How do we match them? ?

Matching feature points  How do we match features?  Lots of possibilities –Simple option: match square windows around the point –State of the art approach: SIFT David Lowe, UBC

Invariant local features  Find features that are invariant to transformations –geometric invariance: translation, rotation, scale –photometric invariance: brightness, exposure, … Feature Descriptors (Slides courtesy Steve Seitz)

SIFT descriptor  Very complicated, but very powerful  (The details aren’t all that important for this class.)  128 dimensional descriptor Adapted from a slide by David Lowe

SIFT demo 28