Week 2 - Image Features: Edges Flashcards
Why are Edges important
They are key for image detection
occur at boundaries, shadows, changes in texture or colour erc
Human brain quickly recognises them
What are edges
Boundaries between physically distinct regions
Discontinuities in intensity values
A place of rapid change in the image intensity function
‘Extrema of the derivative’
What is edge location in terms of differentiation
Equivalent to differentiating the intensity function I(x)
dI / dx
What are 2 main techniques for edge detection
Smoothing convolution
Differentiation
What is the difference between using weighted and non weighted kernel averaging
eg 111 and 121
weighted averaging creates better smoothing
What is a simple kernel for finding the 1st and 2nd derivative
In this context, differentiation is a type of convolution
(-1, 0 ,1)
(1, -2, 1)
What are three discontinuities that cause edges
depth
illumination
surface colour
What is the effect if noise of edge detection
It hides the edges as it creates many pixel value changes
Differentiating noise creates a complicated image
How do we remove noise for edge detection
Smooth the image first
Then look for the peaks in d/dx (I * f)
What is the associative property of convolution
the order in which you convolve multiple functions does not change the final result
(f∗g)∗h=f∗(g∗h)
What operations can be performed just via choice of kernel
first derivative
second derivative
smoothing
local average
weighted avergae
What is the Prewitt Kernel
It is two kernels: for detecting vertical or horizontal edges
What is the prewitt kernel in x direction
-1 0 1
-1 0 1
-1 0 1
Detects vertical edges
What is the prewitt kernel in y direction
-1-1-1
000
111
Detects horizontal edges
What is the sobel kernel
Also made up of two kernels
The smoothing is weighted towards the centre
(weighted average along the edge)