Lecture 5: Image Interpolation and Features

Slides:



Advertisements
Similar presentations
Feature extraction: Corners
Advertisements

CSE 473/573 Computer Vision and Image Processing (CVIP)
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Image Interpolation CS4670: Computer Vision Noah Snavely.
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Features CSE 455, Winter 2010 February 1, Neel Joshi, CSE 455, Winter Review From Last Time.
Algorithms and Applications in Computer Vision
CS4670: Computer Vision Kavita Bala Lecture 10: Feature Matching and Transforms.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Image Filtering, Part 2: Resampling Today’s readings Forsyth & Ponce, chapters Forsyth & Ponce –
Affine Linear Transformations Prof. Graeme Bailey (notes modified from Noah Snavely, Spring 2009)
Sampling and Pyramids : Rendering and Image Processing Alexei Efros …with lots of slides from Steve Seitz.
Edges and Scale Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection Szeliski – From Sandlot ScienceSandlot.
Lecture 2: Edge detection and resampling
Image Sampling Moire patterns
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
Interest Points and Corners Computer Vision CS 143, Brown James Hays Slides from Rick Szeliski, Svetlana Lazebnik, Derek Hoiem and Grauman&Leibe 2008 AAAI.
Feature-based object recognition Prof. Noah Snavely CS1114
Lecture 4: Image Resampling CS4670: Computer Vision Noah Snavely.
Detecting Patterns So far Specific patterns (eyes) Generally useful patterns (edges) Also (new) “Interesting” distinctive patterns ( No specific pattern:
Lecture 3: Image Resampling CS4670: Computer Vision Noah Snavely Nearest-neighbor interpolation Input image 3x upsample hq3x interpolation (ZSNES)
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 8: Scale invariance.
Image Sampling Moire patterns -
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5409 T-R 10:30am – 11:50am.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Image Resampling CS4670: Computer Vision Noah Snavely.
Image Resampling CS4670: Computer Vision Noah Snavely.
Lecture 3: Edge detection CS4670/5670: Computer Vision Kavita Bala From Sandlot ScienceSandlot Science.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Feature extraction: Corners and blobs. Why extract features? Motivation: panorama stitching We have two images – how do we combine them?
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: detection and description
Features Jan-Michael Frahm.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Image Processing.
CS654: Digital Image Analysis
776 Computer Vision Jan-Michael Frahm Spring 2012.
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.
CSE 185 Introduction to Computer Vision Local Invariant Features.
Lecture 14: Feature matching and Transforms CS4670/5670: Computer Vision Kavita Bala.
Keypoint extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Lecture 5: Feature detection and matching CS4670 / 5670: Computer Vision Noah Snavely.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Image Resampling & Interpolation
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
TP12 - Local features: detection and description
Image Sampling Moire patterns
Lecture 4: Harris corner detection
Local features: detection and description May 11th, 2017
Features Readings All is Vanity, by C. Allan Gilbert,
Object recognition Prof. Graeme Bailey
Image Sampling Moire patterns
Interest Points and Harris Corner Detector
Announcements Project 1 Project 2 (panoramas)
Samuel Cheng Slide credits: Noah Snavely
Lecture 5: Feature detection and matching
Announcement Project 1 1.
Filtering Part 2: Image Sampling
Image Sampling Moire patterns
Image Resampling & Interpolation
Resampling.
Lecture VI: Corner and Blob Detection
Presented by Xu Miao April 20, 2005
Samuel Cheng Slide credits: Noah Snavely
Presentation transcript:

Lecture 5: Image Interpolation and Features CS4670: Computer Vision Kavita Bala Lecture 5: Image Interpolation and Features

Announcements Tell us if conflicts on PA 1 grading iclickerGo Tell us if you don’t have it

Upsampling This image is too small for this screen: How can we make it 10 times as big? Simplest approach: repeat each row and column 10 times

Image interpolation Original image: x 10

Image interpolation Also used for resampling

Upsampling This image is too small for this screen: How can we make it 10 times as big? Simplest approach: repeat each row and column 10 times (“Nearest neighbor interpolation”)

Image interpolation Recall how a digital image is formed d = 1 in this example 1 2 3 4 5 Recall how a digital image is formed It is a discrete point-sampling of a continuous function If we could somehow reconstruct the original function, any new image could be generated, at any resolution and scale Adapted from: S. Seitz

Image interpolation Recall how a digital image is formed d = 1 in this example 1 2 3 4 5 Recall how a digital image is formed It is a discrete point-sampling of a continuous function If we could somehow reconstruct the original function, any new image could be generated, at any resolution and scale Adapted from: S. Seitz

Image interpolation What if we don’t know ? Guess an approximation: 1 d = 1 in this example 1 2 2.5 3 4 5 What if we don’t know ? Guess an approximation: Can be done in a principled way: filtering Convert to a continuous function: Reconstruct by convolution with a reconstruction filter, h Adapted from: S. Seitz

Image interpolation Nearest-neighbor interpolation Pt = t a + (1-t) b Walk through the example of which one is t and which one if (1-t) Linear interpolation Source: B. Curless

Reconstruction filters What does the 2D version of this hat function look like? performs linear interpolation (tent function) performs bilinear interpolation Better filters give better resampled images Bicubic is common choice Cubic reconstruction filter

Image interpolation “Ideal” reconstruction Nearest-neighbor interpolation Sinc = sin x/x Linear interpolation Gaussian reconstruction Source: B. Curless

Image interpolation Original image: x 10 Nearest-neighbor interpolation Bilinear interpolation Bicubic interpolation

Image interpolation Also used for resampling

Feature detection and matching

Reading Szeliski: 4.1

Motivation: Automatic panoramas Credit: Matt Brown

Motivation: Automatic panoramas HD View http://research.microsoft.com/en-us/um/redmond/groups/ivm/HDView/HDGigapixel.htm Also see GigaPan: http://gigapan.org/

Why extract features? Motivation: panorama stitching We have two images – how do we combine them?

Why extract features? Motivation: panorama stitching We have two images – how do we combine them? Step 1: extract features Step 2: match features

Why extract features? Motivation: panorama stitching We have two images – how do we combine them? Step 1: extract features Step 2: match features Step 3: align images

Example: estimating “fundamental matrix” that corresponds two views Slide from Silvio Savarese

Example: structure from motion

Applications Feature points are used for: Image alignment 3D reconstruction Motion tracking Robot navigation Indexing and database retrieval Object recognition

Matching can be challenging Fei-Fei Li

Image matching TexPoint fonts used in EMF. by Diva Sian by swashford TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAA

Harder case by Diva Sian by scgbt

Harder still?

Answer below (look for tiny colored squares…) NASA Mars Rover images with SIFT feature matches

Approach Feature detection: find it Feature descriptor: represent it Feature matching: match it Feature tracking: track it, when motion

Features Global vs. local representations Local: describe and match local regions Robust to Occlusions Articulation Intra-category variation Fei-Fei Li

Advantages of local features Locality features are local, so robust to occlusion and clutter Quantity hundreds or thousands in a single image Distinctiveness: can differentiate a large database of objects Efficiency real-time performance achievable

Invariant local features Find features that are invariant to transformations geometric invariance: translation, rotation, scale photometric invariance: brightness, exposure, … Feature Descriptors

Overview 1. Find a set of distinctive features B1 B2 B3 2. Define a region around each feature 3. Extract and normalize the region content 4. Compute a local descriptor from the normalized region 5. Match local descriptors K. Grauman, B. Leibe

Goals for Features Detect points that are repeatable and distinctive