Digital Image Processing
Digital Image Processing
Image Segmentation:
Thresholding
Contents
So far we have been considering image
processing techniques used to transform
images for human interpretation
Today we will begin looking at automated
image analysis by examining the thorny issue
of image segmentation:
– The segmentation problem
– Finding points, lines and edges
The Segmentation Problem
Segmentation attempts to partition the pixels
of an image into groups that strongly
correlate with the objects in an image
Typically the first step in any automated
computer vision application
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Segmentation Examples
Detection Of Discontinuities
There are three basic types of grey level
discontinuities that we tend to look for in
digital images:
– Points
– Lines
– Edges
We typically find discontinuities using masks
and correlation
Point Detection
Point detection can be achieved simply
using the mask below:
After
Result of
processing
thresholding
with -45° line
filtering result
detector
Edge Detection
An edge is a set of connected pixels that lie
on the boundary between two regions
Edges & Derivatives
We have already spoken
about how derivatives
are used to find
discontinuities
1st derivative tells us
where an edge is
2nd derivative can
be used to show
edge direction
Derivatives & Noise
Derivative based edge detectors are
extremely sensitive to noise
We need to keep this in mind
Common Edge Detectors
Given a 3*3 region of an image the following
edge detection filters can be used
Edge Detection Example
Original Image Horizontal Gradient Component