Targil 2 Image enhancement and edge detection. For both we will use image derivatives.

Slides:



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

Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
EDGE DETECTION.
1 Ekstrahering og repræsentation af features MM2: Convolution and filtering of images.
Edge and Corner Detection Reading: Chapter 8 (skip 8.1) Goal: Identify sudden changes (discontinuities) in an image This is where most shape information.
Edge Detection. Our goal is to extract a “line drawing” representation from an image Useful for recognition: edges contain shape information –invariance.
EE663 Image Processing Edge Detection 1
Lecture 4 Edge Detection
Canny Edge Detector.
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 Phil Mlsna, Ph.D. Dept. of Electrical Engineering
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 Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Neighborhood Operations
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Image Processing Xuejin Chen Ref:
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
Introduction to Image Processing
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.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
EE 4780 Edge Detection.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
October 7, 2014Computer Vision Lecture 9: Edge Detection II 1 Laplacian Filters Idea: Smooth the image, Smooth the image, compute the second derivative.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
İmage enhancement Prepare image for further processing steps for specific applications.
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.
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
Lecture 04 Edge Detection Lecture 04 Edge Detection Mata kuliah: T Computer Vision Tahun: 2010.
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 4-1CS251: Intro to AI/Lisp II Where did that edge go? April 29th, 1999.
Lecture 8: Edges and Feature Detection
September 26, 2013Computer Vision Lecture 8: Edge Detection II 1Gradient In the one-dimensional case, a step edge corresponds to a local peak in the first.
1 Edge Operators a kind of filtering that leads to useful features.
Edges Edges = jumps in brightness/color Brightness jumps marked in white.
Image Enhancement in the Spatial Domain.
Edge Detection Images and slides from: James Hayes, Brown University, Computer Vision course Svetlana Lazebnik, University of North Carolina at Chapel.
Miguel Tavares Coimbra
Edge Detection slides taken and adapted from public websites:
- photometric aspects of image formation gray level images
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering Northern Arizona University.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
An Adept Edge Detection Algorithm for Human Knee Osteoarthritis Images
Edge Detection CS 678 Spring 2018.
Image Processing - in short
Lecture 3. Edge Detection, Texture
Jeremy Bolton, PhD Assistant Teaching Professor
Computer Vision Lecture 9: Edge Detection II
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Dr. Chang Shu COMP 4900C Winter 2008
Lecture 10 Image sharpening.
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
a kind of filtering that leads to useful features
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
a kind of filtering that leads to useful features
Edge Detection Today’s reading
Lecture 2: Edge detection
Canny Edge Detector.
Edge Detection Today’s reading
Edge Detection in Computer Vision
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
Image Filtering with GLSL
Presentation transcript:

Targil 2 Image enhancement and edge detection. For both we will use image derivatives.

Image enhancement Histogram enhancement (histogram equalization…) Reducing noise (smoothing, median) Sharpening Emphasize the details Make the edges stronger Problem: we magnify the noise

Sharpening: Subtracting The Laplacian F(x) F’(x) F’’(x) F(x)-F’’(x)

Reminder : Convolution Kernel, Convolver image For example: means that

Image derivatives (Convolve with [1 -1]) (Convolve with [1 -1] T ) A better kernel: (Convolve with ½*[1 0 -1])

Image derivatives (cont’) Problem: the image is not continuous. A better approximation: Locally approximate the image with a smooth surface. Compute the derivatives of this surface. Popular kernels:

The second derivative Check that:

The Laplacian Equation: The matrix: Subtracting the Laplacian:

Sharpening Example

Edge Detection Why do we need it ? A compact representation of the image More robust to light changes. Easier to follow (tracking and computations of camera motion) Segmentation: usually, edges are located at transitions between objects Used for texture analysis

Edge Detection What are “edges” ? How to find the edges ? How to compute the exact location of an edge ? T-junction Transition between objects Texture Noise Wide edge

The gradient The vector of derivatives Edge Size Edge Direction Derivative in Direction 

The gradient OriginalGradient

* = Example: Derivatives 0 1 * = I x = I y =

= Gradient I x 2 + I y 2

Edge Localization-Zero Crossing Where exactly is the edge ? Zero crossing of f’’ f f’’ Problem: f’’ is very noisy Smooth first !

A smoothing with a 2D Gaussian (We usually use the binomial coefficients instead.)

Canny Edge Detection Computing the image derivatives Gx, Gy –Smoothing with a Gaussian. –Using simple derivative kernels. Compute the edge direction: Take only the local maxima in that direction (to get an edge with width 1) Hysteresis: Edge linking with two thresholds Q.: What will be the width of the Gaussian?

Example Original Canny