1 Image Features - I Hao Jiang Computer Science Department Sept. 22, 2009.

Slides:



Advertisements
Similar presentations
3-D Computer Vision CSc83020 / Ioannis Stamos  Revisit filtering (Gaussian and Median)  Introduction to edge detection 3-D Computater Vision CSc
Advertisements

Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Instructor: Mircea Nicolescu Lecture 6 CS 485 / 685 Computer Vision.
CS 4487/9587 Algorithms for Image Analysis
Edge and Corner Detection Reading: Chapter 8 (skip 8.1) Goal: Identify sudden changes (discontinuities) in an image This is where most shape information.
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.
Filtering and Edge Detection
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Canny Edge Detector.
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Announcements Mailing list: –you should have received messages Project 1 out today (due in two weeks)
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
CS223b, Jana Kosecka Image Features Local, meaningful, detectable parts of the image. Line detection Corner detection Motivation Information content high.
Canny Edge Detector1 1)Smooth image with a Gaussian optimizes the trade-off between noise filtering and edge localization 2)Compute the Gradient magnitude.
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.
- photometric aspects of image formation gray level images
1 Lecture 12 Neighbourhood Operations (2) TK3813 DR MASRI AYOB.
Noise Filtering & Edge Detection Jeremy Wyatt. Filtering Last time we saw that we could detect edges by calculating the intensity change (gradient) across.
EE663 Image Processing Edge Detection 3 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Lecture 2: Image filtering
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.
1 Image Features Hao Jiang Sept Image Matching 2.
Edge Detection.
Computational Photography: Image Processing Jinxiang Chai.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30 – 11:50am.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
CAP 5415 Computer Vision Fall 2004
Edge Detection Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection From Sandlot ScienceSandlot Science.
Edge Detection Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection Szeliski, Ch 4.1.2, From Sandlot.
UCF REU: Weeks 1 & 2. Gradient Code Gradient Direction of the Gradient: Calculating theta.
Instructor: S. Narasimhan
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
CSE 185 Introduction to Computer Vision Edges. Scale space Reading: Chapter 3 of S.
EE 4780 Edge Detection.
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Announcements Project 0 due tomorrow night. Edge Detection Today’s readings Cipolla and Gee (handout) –supplemental: Forsyth, chapter 9Forsyth For Friday.
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.
Canny Edge Detection. 5 STEPS 5 STEPS Apply Gaussian filter to smooth the image in order to remove the noise Apply Gaussian filter to smooth the image.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Lecture 8: Edges and Feature Detection
Sliding Window Filters Longin Jan Latecki October 9, 2002.
1 Edge Operators a kind of filtering that leads to useful features.
Winter in Kraków photographed by Marcin Ryczek
Edge Detection Images and slides from: James Hayes, Brown University, Computer Vision course Svetlana Lazebnik, University of North Carolina at Chapel.
Image Filtering Spatial filtering
MAN-522: Computer Vision Edge detection Feature and blob detection
ECE 692 – Advanced Topics in Computer Vision
Edge Detection CS 678 Spring 2018.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Levi Smith REU Week 1.
Dr. Chang Shu COMP 4900C Winter 2008
Filters (Smoothing, Edge Detection)
a kind of filtering that leads to useful features
a kind of filtering that leads to useful features
Canny Edge Detector.
Edge Detection Today’s readings Cipolla and Gee Watt,
Canny Edge Detector Smooth image with a Gaussian
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
IT472 Digital Image Processing
Image Processing.
Presentation transcript:

1 Image Features - I Hao Jiang Computer Science Department Sept. 22, 2009

Outline  Summary of convolution and linear systems  Image features  Edges  Corners  Programming Corner Detection 2

Properties of Convolution 3 1. Commutative: f * g = g * f 2. Associative (f * g) * h = f *(g * h) 3. Superposition (f + g) * h = f * h + g * h full (N+M-1)x(N+M-1) N M

Linear System 4 h h fg = f * h a f1+ b f2 => a g1 + b g2 where the response of f1 is g1 and the response of f2 is g2 Linear: Shift invariant: if f => g, then f(n-m) => g(n-m)

Composite Linear System 5 h1 f f h2 h1 + h2 h1*h2

Nonlinear Filtering  Neighborhood filtering can be nonlinear  Median Filtering Mask [1 1 1 ] 11 1

Median Filtering in Denoising 7 Add 10% pepper noiseOriginal Image

Median Filtering for Denoising 8 Median filter with 3x3 square structure element

Median Filtering for Denoising 9 Median filter with 5x5 square structure element

Compared with Gaussian Filtering 10 Kernel size 5x5 and sigma 3Kernel size 11x11 and sigma 5

11 Image Features

Image Local Structures 12 Step Ridge Peak Valley CornerJunction

Image Local Structures 13 Step Ridge Peak Valley CornerJunction Line Structures: “Edge” Point Structures: “Corners”

Regions 14

An Example 15 edge Region corners

Edge Detection in Matlab 16 >> im = imread('flower.jpg'); >> im = im2double(im); >> im = rgb2gray(im); >> ed = edge(im, 'canny', 0.15);

How to Find an Edge? 17 A 1D edge

18 f(x) f’(x) f’’(x)

Extend to 2D 19 a b There is a direction in which image f(x,y) increases the fastest. The direction is called the gradient direction. Gradient [df/dx df/dy] Magnitude: sqrt(fx^2 + fy^2) Direction: atan2(fy, fx)

Finite Difference  Approximating derivatives using finite difference.  Finite difference and convolution 20

Noise Reduction noise 0.03 noise

Noise Reduction 22

Gaussian Filtering in Edge Detection 23

Gaussian Filtering in Edge Detection 24 h * (g * f) = (h * g) * f Difference KernelGaussian Kernel image Difference of Gaussian Kernel

Edge Detection in Images  Gaussian smoothed filtering in x and y directions: Ix, Iy  Non-maximum suppression for |Ix|+|Iy|  Edge Tracing – double thresholding. 25

Edge Detection Using Matlab  Canny edge detector: edge(image, ‘canny’, threshold)  Sobel edge detector: edge(image, ‘sobel’, threshold)  Prewitt edge detector: edge(image, ‘prewitt’, threshold) 26

27 D. Martin, C. Fowlkes, D. Tal, J. Malik. "A Database of Human Segmented Natural Images and its Application to Evaluating Segmentation Algorithms and Measuring Ecological Statistics”, ICCV, 2001 Berkeley Segmentation DataSet [BSDS]

Corner Detection  Corner is a point feature that has large changing rate in all directions. 28 StepLine Peak Flat region

Find a Corner 29 Compute matrix H = in each window. If the ratio (Ix2 * Iy2 – Ixy ^2 ) > T (Ix2 + Iy2 + eps) We have a corner Ix2 Ixy Ixy Iy2 =

Corner Detection Programming 30