Lecture 10: Lines from Edges, Interest Points, Binary Operations CAP 5415: Computer Vision Fall 2006.

Slides:



Advertisements
Similar presentations
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Advertisements

CSE 473/573 Computer Vision and Image Processing (CVIP)
Interest points CSE P 576 Ali Farhadi Many slides from Steve Seitz, Larry Zitnick.
Computer vision: models, learning and inference Chapter 13 Image preprocessing and feature extraction.
Computer Vision Lecture 16: Texture
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Lecture 4 Edge Detection
Lecture 5 Hough transform and RANSAC
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
(1) Feature-point matching by D.J.Duff for CompVis Online: Feature Point Matching Detection,
Announcements Mailing list: –you should have received messages Project 1 out today (due in two weeks)
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.
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Feature Detection: Corners and Lines. Edges vs. Corners Edges = maxima in intensity gradientEdges = maxima in intensity gradient.
Fitting a Model to Data Reading: 15.1,
1 Image filtering Images by Pawan SinhaPawan Sinha.
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Lecture 2: Image filtering
Lecture 4: Edge Based Vision Dr Carole Twining Thursday 18th March 2:00pm – 2:50pm.
Announcements Since Thursday we’ve been discussing chapters 7 and 8. “matlab can be used off campus by logging into your wam account and bringing up an.
3-D Computer Vision CSc Feature Detection and Grouping.
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
Robust estimation Problem: we want to determine the displacement (u,v) between pairs of images. We are given 100 points with a correlation score computed.
Computational Photography: Image Processing Jinxiang Chai.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Edge Detection Hao Huy Tran Computer Graphics and Image Processing CIS 581 – Fall 2002 Professor: Dr. Longin Jan Latecki.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Image Features Kenton McHenry, Ph.D. Research Scientist.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
CS-424 Gregory Dudek Today’s Lecture Computational Vision –Images –Image formation in brief (+reading) –Image processing: filtering Linear filters Non-linear.
Digital Image Processing CCS331 Relationships of Pixel 1.
Lecture 6: Edge Detection CAP 5415: Computer Vision Fall 2008.
CSC508 What You Should Be Doing Code, code, code –Programming Gaussian Convolution Sobel Edge Operator.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Many slides from Steve Seitz and Larry Zitnick
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
November 5, 2013Computer Vision Lecture 15: Region Detection 1 Basic Steps for Filtering in the Frequency Domain.
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Instructor: Mircea Nicolescu Lecture 10 CS 485 / 685 Computer Vision.
Detecting Image Features: Corner. Corners Given an image, denote the image gradient. C is symmetric with two positive eigenvalues. The eigenvalues give.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Lecture 10: Harris Corner Detector CS4670/5670: Computer Vision Kavita Bala.
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
From Last Time… Normalization If using a filter for smoothing want to preserve average brightnessIf using a filter for smoothing want to preserve average.
Environmental Remote Sensing GEOG 2021
Detection of discontinuity using
Image Primitives and Correspondence
Convolutional Networks
Fourier Transform: Real-World Images
Fitting Curve Models to Edges
IMAGE PROCESSING AKSHAY P S3 EC ROLL NO. 9.
Edge Detection The purpose of Edge Detection is to find jumps in the brightness function (of an image) and mark them.
Computer Vision Lecture 9: Edge Detection II
Computer Vision Lecture 16: Texture II
What I learned in the first 2 weeks
Edge Detection Today’s readings Cipolla and Gee Watt,
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Lecture 10: Lines from Edges, Interest Points, Binary Operations CAP 5415: Computer Vision Fall 2006

Clarification Gradient-Based Edge Detector with no hysterisis or non-maximal suppression is also often called a Sobel Edge Detector –Usually you convolve with a specific filter

PS2 How I would do it: Problem 2.1 –Write a function minimize that minimizes a function using gradient descent –Input:initial value of w (assume the function to be minimized is a function of w), data necessary for the function (this will be training examples later) –Output: Minimum value of the function and the corresponding w –hard code the function in

PS2 How I would do it: Problem 2.1 –Write a function minimize that minimizes a function using gradient descent –Input:initial value of w (assume the function to be minimized is a function of w), data necessary for the function (this will be training examples later) –Output: Minimum value of the function and the corresponding w –Hard code the function in –References: Forsyth and Ponce 22.4

PS2 Problem 2.3 –Write a function that takes a single input patch and builds a feature vector –Write a second function that builds a feature matrix out of all the patches in a directory

PS2-2.4 Write a function that computes Remember for non-edge examples L=

PS2-2.4 Also write a function that computes the gradient Check numerically! Both functions should have three arguments –Weights –Positive Example Matrix –Negative Example Matrix

PS2-2.4 Now, go back to minimize and plug these new functions in You'll need to do gradient ascent instead of descent

Detecting Corners Corners are often useful feature points for tracking and identification –Often denote unique locations on image Also sometimes referred to as interest- point detectors –Kadir and Brady –Lowe –Harris

Harris Corner Detector Step 1: Calculate horizontal and vertical derivatives Step 2: Compute a moment matrix by summing these values over a window Step 3: Analyze the eigenvalues of this matrix (Borrowed from Wikipedia)

Harris Corner Detector Or look at this function, which doesn’t require square roots Results from Kovesi’s implementation at

From Edges to Lines We’ve talked about detecting Edges, but how can we extract lines from those edges? Basic Idea: Let edge points vote for possible lines

Hough Transform Parameterize lines as Every line can be expressed as a pair of values, θ and r To find lines, we’ll let each point vote for the possible lines that it could lie on.

Basic Idea Discretize the space of θ and r Each point “votes” for all (θ, r) combinations that result in a line passing through that point Combinations corresponding to lines should receive many votes θ r (From Slides by Forsyth)

What if there’s noise? (From Slides by Forsyth)

What if there are no lines? (From Slides by Forsyth)

The Hough Transform Advantages: –Don’t need to know the number of lines ahead of time –Conceptually Simple Disadvantages: –Noise leads to lots of phantom lines –Have to pick the right quantization

Changing Gears The edge-detection algorithm gives us a binary map. It would be useful to group these edges into coherent structures.

Connected Components Algorithm Divides binary image into groups of connected pixels First, need to define the neighborhood

Algorithm is easily explained recursively

Connected Components Called bwlabel in MATLAB image processing toolbox

Next Week Image Segmentation