Img1 img3 img5.

Slides:



Advertisements
Similar presentations
Distinctive Image Features from Scale-Invariant Keypoints
Advertisements

Object Recognition from Local Scale-Invariant Features David G. Lowe Presented by Ashley L. Kapron.
Group Meeting Presented by Wyman 10/14/2006
Content-Based Image Retrieval
CSE 473/573 Computer Vision and Image Processing (CVIP)
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
Edge and Corner Detection Reading: Chapter 8 (skip 8.1) Goal: Identify sudden changes (discontinuities) in an image This is where most shape information.
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
(1) Feature-point matching by D.J.Duff for CompVis Online: Feature Point Matching Detection, Extraction.
Object Recognition Using Distinctive Image Feature From Scale-Invariant Key point D. Lowe, IJCV 2004 Presenting – Anat Kaspi.
USER VERIFICATION SYSTEM. Scope Web Interface RGB separation Pervasive.
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
Harris detector Convert image to greyscale Apply Gaussian convolution to blur the image and remove noise Calculate gradient of image in x and y direction.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Read, Read, Read, Read, Read!! The following presentation is a review over important computer terms. They are important for you to recognize and understand.
776 Computer Vision Jan-Michael Frahm Fall SIFT-detector Problem: want to detect features at different scales (sizes) and with different orientations!
CSCE 643 Computer Vision: Extractions of Image Features Jinxiang Chai.
Local invariant features 1 Thursday October 3 rd 2013 Neelima Chavali Virginia Tech.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
Local features and image matching October 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Lecture 10: Lines from Edges, Interest Points, Binary Operations CAP 5415: Computer Vision Fall 2006.
Local features: detection and description
Read, Read, Read, Read, Read!! The following presentation is a review over important icons and commands in the Microsoft Word program. They are important.
CS654: Digital Image Analysis
Frank Bergschneider February 21, 2014 Presented to National Instruments.
REU Week 1 Presented by Christina Peterson. Edge Detection Sobel ◦ Convolve image with derivative masks:  x:  y: ◦ Calculate gradient magnitude ◦ Apply.
Blob detection.
Correspondence search using Delaunay triangulation Rishu Gupta
Recognizing objects Prof. Noah Snavely CS1114
SIFT Scale-Invariant Feature Transform David Lowe
CS262: Computer Vision Lect 09: SIFT Descriptors
Interest Points EE/CSE 576 Linda Shapiro.
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Distinctive Image Features from Scale-Invariant Keypoints
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
SIFT paper.
TP12 - Local features: detection and description
SIFT on GPU Changchang Wu 5/8/2007.
Assignment 2 Creating Panoramas.
Local features: detection and description May 11th, 2017
MATLAB(Matrix Laboratory). Introduction Developed by MathWorks Numerical Computing Environment Fourth-generation Programming Language.
SURF: Speeded-Up Robust Features
Feature description and matching
Assignment 2 Creating Panoramas.
EE 596 Machine Vision HW 6 Assigned: Nov 20, 2013
Content-Based Image Retrieval
Assignment 2 Creating Panoramas.
Content-Based Image Retrieval
Fall 2012 Longin Jan Latecki
From a presentation by Jimmy Huff Modified by Josiah Yoder
Local Binary Patterns (LBP)
What I learned in the first 2 weeks
REU Week 1 Ivette Carreras UCF.
Local features and image matching
Harris detector Convert image to greyscale
Lecture VI: Corner and Blob Detection
Feature descriptors and matching
Lecture 5: Feature invariance
Lecture 5: Feature invariance
Assignment 2 Creating Panoramas.
Jiwon Kim Steve Seitz Maneesh Agrawala
Presentation transcript:

img1 img3 img5

Your task Write Harris detector ComputeHarris() in features.cpp Write Feature descriptor ExtractDescriptor() in features.cpp Run your program to get required numerical and image results Compare results from your features and SIFT features

Interest Point Detection Convert the RGB image to a gray-scale image. (Save the RGB image for later.) Apply a 9 x 9 Gaussian filter we give you. 3. Construct the Harris matrix M using a 5 x 5 neighborhood around each pixel. Compute corner response R = det(M) – k*Tr(M)2 at each pixel. If R is above a threshold and is a local maximum in a 3 x 3 neighborhood, select it as an interest point. 600 to 3000 points are expected to be detected for each image

Feature Description Go back to RGB space. 2. Take a 45 x 45 window around each feature point. Divide that window into 9 x 9 squares, each of them size 5 x 5. Applying a (given) 5 x 5 mask to each of these squares in each of R, G, and B, gives 3 results per square x 81 squares = a vector V of 243 values. Compute V = V / ||V||2 (V divided by its L2-norm). V is the descriptor.

Feature Matching: Use the skeleton code and user interface provided. This is a 25 point assignment. There’s extra credit, too. From 5 to 20 points.

Examples for program running Use command line to get feature files and numerical results Use Interface to get image results

Command line Run Harris operator and feature descriptor samplesolution computeFeatures img1.ppm feature1.f 1 Run your feature’s matching (always between image1 and another image) samplesolution testMatch feature1.f feature2.f H1to2p 1 Run SIFT feature matching (always between image1 and another image) samplesolution testSIFTMatch img1.key img2.key H1to2p 1 Please name your feature files as feature1.f, feature2.f, … feature6.f otherwise you have to change the content of database file (eg. img1simple.kdb)

User Interface Display Corners from your feature file Load the image and feature file of the image you want, example: File-> Load Query Image ->img2.ppm File- > Load Query Feautures ->Normal ->feature2.f

Visualize matches Load image and feature of img1.ppm (Matches are always between img1.ppm and another image) File-> Load Query Image ->img1.ppm File- > Load Query Feautures ->Normal ->feature1.f 2. Select all features points Image->Select All Features

All features have been selected

3. Load database file of the image you want to compare with img1 3. Load database file of the image you want to compare with img1.ppm, example, File->Load Image Database-> Normal -> img3simple.kdb 4. Perform Query Image-> Perform Query

Base image (img1. ppm) on the left and target image (img3 Base image (img1.ppm) on the left and target image (img3.ppm) on the right On the right part, red makers are feature points for which no matches are found

Visualize SIFT matching Steps File-> Load Query Image ->img1.ppm File- > Load Query Feautures ->SIFT ->img1.key Image->Select All Features File->Load Image Database-> SIFT-> img3.kdb Image-> Perform Query

Useful debugging method After loading img1.ppm, select some feature points by single clicking red makers and then load database file and perform query

Other Tips Start early if you are not familiar with C++ Read lecture notes, webpage instruction, ppt slides, homework template and grading guildline Play with samplesolution Manage the size of your email

Good luck with this homework !