Announcements Quiz on Tuesday, March 10. Material covered (Union not Intersection) – All lectures before today (March 3). –Forsyth and Ponce Readings:

Slides:



Advertisements
Similar presentations
Boundary Detection - Edges Boundaries of objects –Usually different materials/orientations, intensity changes.
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Fitting: The Hough transform. Voting schemes Let each feature vote for all the models that are compatible with it Hopefully the noise features will not.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Edge Detection CSE P 576 Larry Zitnick
EE663 Image Processing Edge Detection 1
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Fitting: The Hough transform
Lecture 6 Image Segmentation
Lecture 5 Hough transform and RANSAC
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Announcements Quiz solutions on the web page. Problem Set 5 on the web page. Due Thursday, April 1. Results from Problem Set 4.
Announcements Final Exam May 16 th, 8 am (not my idea). Practice quiz handout 5/8. Review session: think about good times. PS5: For challenge problems,
Fitting lines. Fitting Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local –can’t.
1Ellen L. Walker Segmentation Separating “content” from background Separating image into parts corresponding to “real” objects Complete segmentation Each.
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Texture Turk, 91.
Announcements Mailing list: –you should have received messages Project 1 out today (due in two weeks)
Computer Vision - A Modern Approach Set: Fitting Slides by D.A. Forsyth Fitting Choose a parametric object/some objects to represent a set of tokens Most.
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Problem Sets Problem Set 3 –Distributed Tuesday, 3/18. –Due Thursday, 4/3 Problem Set 4 –Distributed Tuesday, 4/1 –Due Tuesday, 4/15. Probably a total.
Fitting. We’ve learned how to detect edges, corners, blobs. Now what? We would like to form a higher-level, more compact representation of the features.
Midterm review: Cameras Pinhole cameras Vanishing points, horizon line Perspective projection equation, weak perspective Lenses Human eye Sample question:
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
Announcements For future problems sets: matlab code by 11am, due date (same as deadline to hand in hardcopy). Today’s reading: Chapter 9, except.
Fitting a Model to Data Reading: 15.1,
CS292 Computational Vision and Language Visual Features - Colour and Texture.
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.
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
Edge Detection.
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.
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
Segmentation Slides Credit: Jim Rehg, G.Tech. Christopher Rasmussen, UD John Spletzer, Lehigh Also, Slides adopted from material provided by David Forsyth.
Segmentation and Perceptual Grouping The problem Gestalt Edge extraction: grouping and completion Image segmentation.
Fitting.
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.
Computer Vision Lecture 5. Clustering: Why and How.
Fitting: The Hough transform. Voting schemes Let each feature vote for all the models that are compatible with it Hopefully the noise features will not.
Digital Image Processing CSC331
Generalized Hough Transform
Image Processing Edge detection Filtering: Noise suppresion.
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
Joonas Vanninen Antonio Palomino Alarcos.  One of the objectives of biomedical image analysis  The characteristics of the regions are examined later.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Fitting: The Hough transform
CS654: Digital Image Analysis
Many slides from Steve Seitz and Larry Zitnick
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
EECS 274 Computer Vision Model Fitting. Fitting Choose a parametric object/some objects to represent a set of points Three main questions: –what object.
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Computer Vision Image Features Instructor: Dr. Sherif Sami Lecture 4.
Robust Estimation Course web page: vision.cis.udel.edu/~cv April 23, 2003  Lecture 25.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Fitting.
Announcements Final is Thursday, March 18, 10:30-12:20 –MGH 287 Sample final out today.
Hough Transform CS 691 E Spring Outline Hough transform Homography Reading: FP Chapter 15.1 (text) Some slides from Lazebnik.
Grouping and Segmentation. Sometimes edge detectors find the boundary pretty well.
Linear Filters and Edges Chapters 7 and 8
Fitting: Voting and the Hough Transform
Fitting.
Fitting: The Hough transform
Perceiving and Recognizing Objects
Computer Vision - A Modern Approach
Computer Vision Lecture 16: Texture II
Filtering An image as a function Digital vs. continuous images
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Announcements Quiz on Tuesday, March 10. Material covered (Union not Intersection) – All lectures before today (March 3). –Forsyth and Ponce Readings: Chapters 1.1, 4, 5.1, 5.2, 5.3, 7,8, 9.1, 9.2, 9.3, 6.5.2, –Extra reading: azzan.dir/gazzan.htm azzan.dir/gazzan.htm

What you should know for quiz This list is not inclusive. Meaning of basic terms. For example: Perspective projection, scaled orthographic projection, horizon, vanishing point, Lambertian reflectance, BRDF, point light source, convolution (1d and 2d, discrete and continuous), high-pass filter, low-pass filter, high frequency signal, hysteresis, gradient, non-maximum suppression, Gaussian, the scale of a filter, texture synthesis, lightness constancy.

What you should know for quiz How to work through simple examples by hand for all algorithms covered. Examples (not comprehensive) –Compute the perspective/scaled-orthographic projection of an object. –Convolve a kernel with an image in 1D –Compute the gradient of a function in 2D. –Predict the effect of hysteresis. –Reproduce the effects of non-maximum suppression. –Compute and compare the histograms of two textures using Chi-Squared test. –Compute the SSD between two point sets. –Predict appearance of a Lambertian object, given lighting. –Compute the results of a lightness constancy algorithm. –Predict the results of applying a specific filter to a specific image. –…

What you should know for quiz Recall basic properties of operations described in class and in book. –Examples: convolution is associative, the image of a line under perspective projection is a line, …. Prove some properties using this knowledge.

Quiz: Fourier Transform You may be asked intuitive questions about f.t. Example: which is higher frequency, cos a or cos 2a. You won’t be asked mathematical details not covered in class slides.

Perceptual Grouping Forsyth and Ponce: 14.2, 15. In coming classes, 16, then rest of 14. Extra Reading: Laws of Organization in Perceptual Forms, Max Wertheimer (1923). s/forms.htm

Perceptual Grouping Up to now we’ve focused on local properties of images. Perceptual grouping is about putting parts together into a whole: –Finding regions with a uniform property –Linking edges into object boundaries Surfaces and objects are critical. Also, simpler ``objects’’ such as lines

Human perceptual grouping This has been significant inspiration to computer vision. Why? –Perceptual grouping seems to rely partly on the nature of objects in the world. –This is hard to quantify, we hypothesize that human vision encodes the necessary knowledge.

Gestalt Principles of Grouping: some history Behaviorists were dominant psychological theorists in early 20 th century. –To make psych scientific, wanted to view it as rules describing relation between stimulus and response, described as atomic elements. –Not role for “mind”. –Influential early behaviorist was Pavlov

Gestalt movement claimed atomic stimulus and response don’t exist. -The mind perceives world as objects, as wholes, not as atomic primitives. - Can’t understand psych without understanding how we perceive the world.

I stand at the window and see a house, trees, sky. Theoretically I might say there were 327 brightnesses and nuances of colour. Do I have "327"? No. I have sky, house, and trees. It is impossible to achieve "327 " as such. And yet even though such droll calculation were possible and implied, say, for the house 120, the trees 90, the sky I should at least have this arrangement and division of the total, and not, say, 127 and 100 and 100; or 150 and 177. Max Wertheimer, 1923

I. A row of dots is presented upon a homogeneous ground. The alternate intervals are 3 mm. and 12 mm. Normally this row will be seen as ab/cd, not as a/bc/de. As a matter of fact it is for most people impossible to see the whole series simultaneously in the latter grouping. Max Wertheimer

Gestalt Movement Perceptual organization was a big issue. –How we perceive the world in terms of things/objects, not pixels. This was part of broader attack on behaviorism. –Gestalt viewed mind as constructing representations of the world, no learning/behavior could be understood without understanding this.

Issues in Perceptual Organization What is the role of an edge in an image? To what object (if any) does it belong?

If you know what is in the next image, silently raise your hand. Don’t call out.

(Bregman)

Issues in Perceptual Organization What factors determine which parts of an image are combined in the same object?

Proximity

Good Continuation

Common Form: (includes color and texture)

Connectivity

Symmetry

Convexity (stronger than symmetry?)

Good continuation also stronger than symmetry?

Closure

Higher level Knowledge If you know what is in the next image, silently raise your hand. Don’t call out.

Other Factors Common fate (ie., common motion). Good continuation in time. Parallelism Collinearity

Computer Vision Again Divide P.O. approaches into two groups. Parametric: We have a description of what we want, with parameters: Examples: lines, circles, constant intensity, constant intensity + Gaussian noise. Non-parametric: We have constraints the group should satisfy, or optimality criteria. Example: Find the closed curve that is smoothest and that also best follows strong image gradients.

The Meta-Algorithm Define what it means for a group to be good. –Usually this involves simplifications Search for the best group. –Usually this is intractable, so short-cuts are needed.

Parametric Grouping: Grouping Points into Lines Basic Facts about Lines (a,b) c (x,y) is on line if (x,y).(a,b) = c  ax + by = c Distance from (x,y) to line is (a,b).*(x,y) = ax + by

Line Grouping Problem

This is difficult because of: Extraneous data: Clutter Missing data Noise

RANSAC: Random Sample Consensus Generate a bunch of reasonable hypotheses. Test to see which is the best.

RANSAC for Lines Generate Lines using Pairs of Points How many samples? Suppose p is fraction of points from line. n points needed to define hypothesis (2 for lines) k samples chosen. Probability one sample correct is:

RANSAC for Lines: Continued Decide how good a line is: –Count number of points within  of line. Parameter  measures the amount of noise expected. –Other possibilities. For example, for these points, also look at how far they are. Pick the best line.

(Forsyth & Ponce)

The Hough Transform for Lines A line is the set of points (x, y) such that Different choices of , d>0 give different lines For any (x, y) there is a one parameter family of lines through this point. Just let (x,y) be constants and  d be unknowns. Each point gets to vote for each line in the family; if there is a line that has lots of votes, that should be the line passing through the points

Mechanics of the Hough transform Construct an array representing , d For each point, render the curve ( , d) into this array, adding one at each cell Difficulties –how big should the cells be? (too big, and we cannot distinguish between quite different lines; too small, and noise causes lines to be missed) How many lines? –count the peaks in the Hough array Who belongs to which line? –tag the votes Can modify voting, peak finding to reflect noise. Big problem if noise in Hough space different from noise in image space.

Some pros and cons Complexity of RANSAC n*n*n Complexity of Hough n*d Error behavior: both can have problems, RANSAC perhaps easier to understand. Clutter: RANSAC very robust, Hough falls apart at some point. There are endless variations that improve some of Hough’s problems.