+ All Categories
Home > Documents > DIP Image Segmentation

DIP Image Segmentation

Date post: 28-Nov-2014
Category:
Upload: aravind
View: 272 times
Download: 0 times
Share this document with a friend
Description:
A property of MVG_OMALLOOR
165
Digital Image Processing, 2nd ed. Digital Image Processing, 2nd ed. www.imageprocessingbook.com © 2002 R. C. Gonzalez & R. E. Woods Chapter 10 Image Segmentation Chapter 10 Image Segmentation The whole is equal to the sum of its parts. -Euclid The whole is greater than the sum of its parts. -Max Wertheimer The Whole is Not Equal to the Sum of Its Parts: An Approach to Teaching the Research Paper. -by Mangum, Bryant PDF processed with CutePDF evaluation edition www.CutePDF.com
Transcript
Page 1: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

The whole is equal to the sum of its parts.-Euclid

The whole is greater than the sum of its parts.-Max Wertheimer

The Whole is Not Equal to the Sum of Its Parts: An Approach to Teaching the Research Paper.

-by Mangum, Bryant

PD

F processed w

ith CuteP

DF

evaluation editionw

ww

.CuteP

DF

.com

Page 2: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.1 Detection of Discontinuities10.2 Edge Linking and Boundary Detection10.3 Thresholding10.4 Region-Based Segmentation10.5 Segmentation by Morphological Watersheds (x)10.6 The Use of Motion in Segmentation

Page 3: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.1 Detection of Discontinuities 56810.1.1 Point Detection 56910.1.2 Line Detection 57010.1.3 Edge Detection 572

Page 4: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 5: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Point Detection

Page 6: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Line Detection

Page 7: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 8: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Edge Detection

Page 9: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 10: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 11: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 12: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 13: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 14: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 15: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 16: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 17: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 18: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 19: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.2 Edge Linking and Boundary Detection 58510.2.1 Local Processing 58510.2.2 Global Processing via the Hough Transform 58710.2.3 Global Processing via Graph-Theoretic Techniques 591

Page 20: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Local Processing

Page 21: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Global Processing via the Hough Transform

Page 22: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 23: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 24: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 25: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 26: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Global Processing via Graph-Theoretic Techniques

Page 27: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 28: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 29: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 30: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.3 Thresholding 59510.3.1 Foundation 59510.3.2 The Role of Illumination 59610.3.3 Basic Global Thresholding 59810.3.4 Basic Adaptive Thresholding 60010.3.5 Optimal Global and Adaptive Thresholding 60210.3.6 Use of Boundary Characteristics for Histogram Improvementand Local Thresholding 60810.3.7 Thresholds Based on Several Variables 611

Page 31: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Foundation

Page 32: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

The Role of Illumination

Page 33: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Basic Global Thresholding

Page 34: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 35: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Basic Adaptive Thresholding

Page 36: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Optimal Global and Adaptive Thresholding

Page 37: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 38: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 39: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 40: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Use of Boundary Characteristics for Histogram Improvementand Local Thresholding

Page 41: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 42: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 43: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 44: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.4 Region-Based Segmentation 61210.4.1 Basic Formulation 61210.4.2 Region Growing 61310.4.3 Region Splitting and Merging 615

Page 45: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Region Growing

Page 46: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 47: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Region Splitting and Merging

Page 48: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 49: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.5 Segmentation by Morphological Watersheds 61710.5.1 Basic Concepts 61710.5.2 Dam Construction 62010.5.3 Watershed Segmentation Algorithm 62210.5.4 The Use of Markers 624

Page 50: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 51: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 52: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 53: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 54: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 55: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 56: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

10.6 The Use of Motion in Segmentation Stationary camera

Background modelingHuman tracking & extraction

Moving camera3D ReconstructionMoving target detecting

Page 57: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 58: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 59: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 60: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 61: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

Page 62: DIP Image Segmentation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 10Image Segmentation

Chapter 10Image Segmentation

a

b c

Plane parameters in blue and motion in redcompression ratio is 10,000:1

Page 63: DIP Image Segmentation

Digital Image ProcessingDigital Image Processing(UST 2007 Fall(UST 2007 Fall))

Sang Chul Ahn

[email protected]

Image SegmentationImage Segmentation

Page 64: DIP Image Segmentation

Image SegmentationImage Segmentation

Goal: Segmentation subdivides an image into its constituent regions or objects that have similar features according to a set of predefined criteriafeatures?

intensityhistogrammean, varianceenergytexture….

It depends on applications or the problems to solve

Image Processing StepsImage Processing Steps

KnowledgeBase

Preprocessing

ImageAcquisition

ImageAnalysis

Recognition& Interpretation

enhancement restoration, etc

segmentation feature extraction, etc

Page 65: DIP Image Segmentation

Detection of DiscontinuitiesDetection of Discontinuities

3 basic types of gray-level discontinuities: points, lines, edgesWe segment the image along the discontinuitiesThe most common way to look for discontinuities is to run a mask through the imageSpatial filter(mask)

ex) R = w1 z1+ w2 z2+…+ w9 z9

w9w8w7

w6w5w4

w3w2w1

mask

Point DetectionPoint Detection

We say that a (isolated) point has been detected at the location on which the mask is centered if

|R| > T, R: spatial filtering result, T: nonnegative threshold

The formulation measures the weighted differences between the

center point and its neighbors

This filter is a highpass spatial filter(Laplacian)

The filter detects a point whose gray level is significantly different from its background

The result depends on the threshold T

-1-1-1

-18-1

-1-1-1

Page 66: DIP Image Segmentation

Point DetectionPoint Detection

(a) original image (b) highpass filtered image

Thresholding of (b), T=100 Thresholding of (b), T=200

Point DetectionPoint Detection

X-ray image of a jet-engine turbine blade with a porosity in the upper, right quadrant of the image

The threshold T is set to 90% of the highest absolute pixel value of the image in Fig. 10.2(c)

Page 67: DIP Image Segmentation

Line DetectionLine Detection

These filter masks would respond more strongly to linesNote that the coefficients in each mask sum to zero, indicating a zero response from the masks in areas of constant gray levelIf we are interested in detecting lines in a specified direction, we could use the mask associated with that direction and threshold its outputNote: these filters respond strongly to lines of one pixel thick

Line DetectionLine Detection

A binary image of a wire-bond mask for an electronic circuit

We are interested in finding all the lines that are one pixel thick and are oriented at -45°

The line in the top, left quadrant is not detected because it is not one pixel thick

Page 68: DIP Image Segmentation

Edge DetectionEdge Detection

Edge detection is the most common approach for detecting meaningful discontinuitiesEdge

An edge is a set of connected pixels that lie on the boundary between two regionsAn edge is a “local” concept whereas a region boundary is a more global ideaA reasonable definition of “edge” requires the ability to measure gray level(intensity) transitions in a meaningful way

An ideal edge has the properties of the model shown in Fig. 10.5(a)An ideal edge according to this model is a set of connected pixels, each of which is located at an orthogonal step transition in gray level

Edge DetectionEdge DetectionIn practice, optics, sampling, and other image acquisition imperfections yeild edges that are blurredAs a result, edges are more closely modeled as a “ramp”-like profileThe degree of blurring is determined by factors such as the quality of the image acquisition system, the sampling rate, and illumination conditionsAn edge point is any point contained in the ramp, and an edge would be a set of such points that are connectedThe “thickness” of the edge is determined by the length of the rampBlurred edges tend to be thick and sharp edges tend to be thin

Page 69: DIP Image Segmentation

Edge DetectionEdge DetectionThe magnitude of the first derivative can be used to detect the presence of an edge The sign of the second derivative can be used to determine whether an edge pixel lies on the dark or light side of an edgeAn imaginary straight line joining the extreme positive and negative values of the second derivative would cross zero near the midpoint of the edge (zero-crossing property)

Edge DetectionEdge Detection

Derivative is very sensitive to noise

Image smoothing is needed

Page 70: DIP Image Segmentation

Edge DetectionEdge Detection

We define a point in an image as being an edge point if its two-dimensional first-order derivative is greater than a specified thresholdA set of such points that are connected according to a predefined criterion of connectedness is defined as an edgeThe term edge segment generally is used if the edge is short in relation to the dimensions of the imageA key problem in segmentation is to assemble edge segments into longer edges

First-order derivatives of a digital image are based on various approximations of the 2-D gradient

The gradient is defined as the two-dimensional column vector

The magnitude of the gradient vector often is referred to as thegradient, too

We usually approximate the magnitude by absolute values instead of squares and square roots

Gradient OperatorsGradient Operators

⎥⎥⎥⎥

⎢⎢⎢⎢

∂∂∂∂

=⎥⎦

⎤⎢⎣

⎡=∇

y

fx

f

G

Gf

y

x

)( mag ff ∇=∇ 2/122 ][ Yx GG +=2/122

⎥⎥⎦

⎢⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+⎟⎠⎞

⎜⎝⎛∂∂

=y

f

x

f

yx GGf +≈∇

Page 71: DIP Image Segmentation

The direction of the gradient vector

The direction of an edge at (x,y) is perpendicular to the direction of the gradient vector at the point

Gradient OperatorsGradient Operators

⎟⎟⎠

⎞⎜⎜⎝

⎛= −

x

y

G

Gyx 1tan),(α

Robert cross-gradient operators

Sobel Operator

The GradientThe Gradient

)z (=)z (= 6859 zGandzG yx −−

[ ] 2/1268

259 )()( zzzzf −+−=∇

6859 zzzzf −+−≈∇

)2()2( 321987 zzzzzzf ++−++≈∇

)2()2( 741963 zzzzzz ++−+++

Page 72: DIP Image Segmentation

Gradient OperatorGradient Operator

⎥⎦

⎤⎢⎣

⎡−−

≅⎥⎦

⎤⎢⎣

⎡=∇

)(

)(

58

56

zz

zz

G

G

y

xf

z8

z5

z2

z9

z6

z3

z4

z7

z1

[ ] 2/1258

256 )()( zzzzf −+−≅∇

|||| 5856 zzzz −+−≅

Gradient OperatorGradient Operator

Roberts cross-gradient

⎥⎦

⎤⎢⎣

⎡−−

≅⎥⎦

⎤⎢⎣

⎡=∇

)(

)(

68

59

zz

zz

G

G

y

xf

z8

z5

z2

z9

z6

z3

z4

z7

z1

[ ] 2/1268

259 )()( zzzzf −+−≅∇

|||| 6859 zzzz −+−≅

Page 73: DIP Image Segmentation

Gradient OperatorGradient Operator

Robert cross-gradient filter masks

⎥⎦

⎤⎢⎣

⎡−−

≅⎥⎦

⎤⎢⎣

⎡=∇

)(

)(

68

59

zz

zz

G

G

y

xf

1

0

0

-1

[ ] 2/1268

259 )()( zzzzf −+−≅∇

|||| 6859 zzzz −+−≅0

-1

1

0

Prewitt OperatorPrewitt Operator

⎥⎦

⎤⎢⎣

⎡++−++++−++

≅⎥⎦

⎤⎢⎣

⎡=∇

)()(

)()(

321987

741963

zzzzzz

zzzzzz

G

G

y

xf

z8

z5

z2

z9

z6

z3

z4

z7

z1

|||| yx GGf +≅∇

1

0

-1

1

0

-1

0

1

-1

0

0

0

1

1

1

-1

-1

-1

xG yG

Page 74: DIP Image Segmentation

SobelSobel OperatorOperator

⎥⎦

⎤⎢⎣

⎡++−++++−++

≅⎥⎦

⎤⎢⎣

⎡=∇

)2()2(

)2()2(

321987

741963

zzzzzz

zzzzzz

G

G

y

xf

z8

z5

z2

z9

z6

z3

z4

z7

z1

|||| yx GGf +≅∇

2

0

-2

1

0

-1

0

1

-1

0

0

0

1

2

1

-2

-1

-1

xG yG

Various filter masksVarious filter masks

Page 75: DIP Image Segmentation

ExamplesExamples

edges by wall bricks, too detail !

ExamplesExamples

Note that averaging caused the response of all edges to be weaker

Page 76: DIP Image Segmentation

Diagonal Edge MasksDiagonal Edge Masks

Diagonal EdgeDiagonal Edge

Page 77: DIP Image Segmentation

LaplacianLaplacian

The Laplacian is a second-order derivative

Digital approximation

2

2

2

22

y

f

x

ff

∂∂

+∂∂

=∇

)(4 864252 zzzzzf +++−=∇

)(8 9876432152 zzzzzzzzzf +++++++−=∇

-1-1-1

-18-1

-1-1-1

0-10

-14-1

0-10

LaplacianLaplacian

The Laplacian generally is not used in its original form for edge detection for several reasons

It is unacceptably sensitive to noise

The magnitude of the Laplacian produces double edges

It is unable to detect edge direction

The role of the Laplacian in segmentationfinding the location of edge using its zero crossing property

judging whether a pixel is on the dark or light side of an edge

Page 78: DIP Image Segmentation

LaplacianLaplacian of Gaussianof Gaussian

The Laplacian is combined with smoothing to find edges

Gaussian function

LoG(Laplacian of Gaussian) : Mexican hat

⎟⎟⎠

⎞⎜⎜⎝

⎛−−=

2

2

2exp)(

σr

rh

⎟⎟⎠

⎞⎜⎜⎝

⎛−⎥

⎤⎢⎣

⎡ −−=∇

2

2

4

222

2exp)(

σσσ rr

rh

222 yxr +=

LoGLoG : : LaplacianLaplacian of Gaussianof Gaussian

Page 79: DIP Image Segmentation

LaplacianLaplacian of Gaussianof Gaussian

MeaningGaussian function : smoothing, lowpass filter, noise reduction

Laplacian : highpass filter, abrupt change (edge) detection

It is of interest to note that neurophysiologicalexperiments carried out in the early 1980s provide evidence that certain aspects of human vision can be modeled mathematically in the basic form of LoG function

LaplacianLaplacian of Gaussianof GaussianGaussian function with a standard deviation of five pixels

27x27 spatial smoothing maskThe mask was obtained by sampling the Gaussian function at equal intervalsAfter smoothing we apply the Laplacian maskComparison

The edges in the zero-crossing image are thinner than the gradient edgesThe edges determined by zero crossings form numerous closed loops (spaghetti effect: drawback)The computation of zero crossings presents a challenge

Page 80: DIP Image Segmentation

Edge LinkingEdge LinkingEdge detection edge linkingOne of the simplest approaches for linking edge points is to analyze the characteristics of pixels in a small neighborhoodAll points that are similar according to a set of predefined criteria are linkedTwo principal properties

The strength of the gradient The direction of the gradient vector

The direction of the edge at (x,y) is perpendicular to the direction of the gradient vector at that point

Eyxfyxf ≤∇−∇ ),(),( 00

Ayxyx ≤− ),(),( 00αα

Edge LinkingEdge Linking

Given n points in an image, suppose that we want to find subsets of these points that lie on straight linesOne possible solution is to first find all lines determined by ebery pair of points,then find all subsets of points that are close to particular linesIt involves finding n(n-1)/2 lines and then performing n x n(n-1)/2 comparisons !Hough transform[1962]

Page 81: DIP Image Segmentation

Hough Transform[1962]Hough Transform[1962]

Parameter space considerationInfinitely many lines pass through a point are represented a line in the parameter space(ab-plane)

When the line associated with intersects the line associated with at , is the slope and

the intercept of the line determined by the two points

baxy ii += ii yaxb +−=),( ii yx

),( jj yx )','( ba 'a

'b

Hough transformHough transformThe Hough transform subdivides the parameter space into so-called accumulator cellsThese cells are set to zeroFor every point (xk, yk) , we let the parameter a equal each of the allowed subdivision values on the a-axis and solve for the corresponding bThe resulting b’s are then rounded off to the nearest allowed value in the b-axisIf a choice of ap results in solution bq, we let A(p,q)=A(p,q)+1At the end, a value of Q in A(i,j) corresponds to Q points in the xy-plane lying on the line y=aix+bj

kikj yaxb +−=

Page 82: DIP Image Segmentation

Hough transformHough transform

If there are K increments in the a axis, K computation is needed for every point nK computation for n image points (linear)There is a problem when the slope approaches infinity (vertical line)

Hough transformHough transformOne solution: to use the following representation

The loci are sinusoidal curves in the -planeQ collinear points lying on a lineyield Q sinusoidal curves that intersect at

ρθθ =+ sincos yx

ijj yx ρθθ =+ sincos),( ji θρ

ρθ

Page 83: DIP Image Segmentation

Hough transformHough transformAerial infrared imageThresholded gradient image using Sobel operatorsPixels are linked

they belongs to one of the three accumulator cells with highest countNo gaps were longer than five pixels

ThresholdingThresholding

Global ThresholdingApply the same threshold to the whole image

Local ThresholdingThe threshold depends on local property such as local average

Dynamic(adaptive) thresholdingThe threshold depends on the spatial coordinates

The problem is how to select the threshold automatically!

Page 84: DIP Image Segmentation

Global Global ThresholdingThresholding

It is successful in highly controlled environmentOne of the areas is in industrial inspection application, where control of the illumination usually is feasible

Global Global ThresholdingThresholding

Automatic threshold selection

1. Select an initial estimate for T

2. Segment the image using T, which produce two groups, G1, G2

3. Compute the average gray level values and for the pixels in regions G1 and G2

4. Compute a new threshold value:

5. Repeat step 2 through 4 until the difference in T in successive iterations is smaller than a predefined parameter T0

1μ 2μ

)(2

121 μμ +=T

Page 85: DIP Image Segmentation

Basic Adaptive Basic Adaptive ThresholdingThresholding

divide the image into subimages, then thresholding

Basic Adaptive Basic Adaptive ThresholdingThresholding

Page 86: DIP Image Segmentation

Optimal Global and Adaptive Optimal Global and Adaptive ThresholdingThresholding

Method for estimating thresholds that produce the minimum average segmentation error Suppose that an image contains only two principal gray-level regionsThe histogram may be considered an estimate of the probability density function(PDF) of gray level valuesThis overall density function is the sum or mixture of two densities, one for the light and the other for the dark regionsThe mixture parameters are proportional to the relative areas of the dark and light regionsIf the form of the densities is known or assumed, it is possible to determine an optimal threshold

Optimal Global and Adaptive Optimal Global and Adaptive ThresholdingThresholding

The mixture probability density function is

and are the probabilities of occurrence of the two classes of pixels

is the probability (a number) that a random pixel with value Z is an object pixelAny given pixel belongs either to an object or to the background

The main objective is to select the value of T that minimizes the average error in making the decisions that a given pixel belongs to an object or to the background

)()()( 2211 zpPzpPzp +=

121 =+ PP

1P 2P

1P

Page 87: DIP Image Segmentation

Optimal Global and Adaptive Optimal Global and Adaptive ThresholdingThresholding

The probability of errorneously classifying a background point as an object point is

Similarly,

Then the overall probability of error is

To find the threshold value for minimal error requires differentiating E(T) with respect to T and equating the result to 0The result is

Note that if then the optimum threshold is where the curves for and intersect

)()()( 2112 TEPTEPTE +=

∫ ∞−=

TdzzpTE )()( 21

∫∞

=T

dzzpTE )()( 12

)()( 2211 TpPTpP =21 PP =

)(2 zp)(1 zp

Optimal Global and Adaptive Optimal Global and Adaptive ThresholdingThresholding

If the PDFs are Gaussians such as

and the variances are equal,

then the threshold is given

If , the optimal threshold is the average of the means

),,( 11 σμG

⎟⎟⎠

⎞⎜⎜⎝

⎛−

++

=1

2

21

221 ln

2 P

PT

μμσμμ

21 PP =

),( 22 σμG22

21

2 σσσ ==

Page 88: DIP Image Segmentation

Use of Boundary CharacteristicsUse of Boundary Characteristics

The chance of selecting a “good” threshold are enhanced considerably if the histogram peaks are tall, narrow, symmetric, and separated by deep valleysOne approach for improving the shape of histograms is to consider only those pixels that lie on or near the edges between objects and the backgroundSeparate an object and the background around a boundary usinggradient and Laplacian

(…) (-,+) (0 or +) (+,-) (…) structure

0

0

0

),(2

2

<∇≥∇≥∇≥∇

<∇

⎪⎩

⎪⎨

−+=

fandTff

fandTfif

Tfif

yxs

0 01 Labeling

Use of Boundary CharacteristicsUse of Boundary Characteristics

Page 89: DIP Image Segmentation

Gradient & Gradient & Laplacian(RevisitedLaplacian(Revisited))

Gradient & Gradient & Laplacian(RevisitedLaplacian(Revisited))

Gradient:

Laplacian:

⎥⎥⎥⎥

⎢⎢⎢⎢

∂∂∂∂

=⎥⎦

⎤⎢⎣

⎡=∇

y

fx

f

G

G

y

xf

||||)( yx GGmagf +≅∇=∇ f

2

2

2

22

y

f

x

ff

∂∂

+∂∂

=∇

Page 90: DIP Image Segmentation

Segmentation by local Segmentation by local thresholdingthresholding

RegionRegion--Based SegmentationBased Segmentation

Segmentation is a process that partitions R into nsubregions, R1, R2,..., Rn, such that

is a logical predicate which represents criterion that segments the regions

(complete))(1

RRa i

n

i=

=U

region connected a is)( iRb

(disjoint), and allfor )( jijiRRc ji ≠=φI

iRPd i allfor TRUE)()( =

jiRRPe ji ≠= for FALSE)()( U

)( iRP

Page 91: DIP Image Segmentation

Region GrowingRegion GrowingRegion growing is a procedure that groups pixels or subregions into larger regions based on predefined criteria

The basic approach is to start with a set of ‘Seed’ points and from these grow regions by appending to each seed those neighboring pixels that have properties similar to the seed

Selections of ‘Seed’ point and similarity criteria are the primary problem

Another problem in region growing is the formulation of a stopping rule

ex) P: diff<3 P: diff<8

66702

56510

77610

78511

76500

bbbaa

bbbaa

bbbaa

bbbaa

bbbaa

aaaaa

aaaaa

aaaaa

aaaaa

aaaaa

Region GrowingRegion Growing

Page 92: DIP Image Segmentation

Region Splitting and MergingRegion Splitting and Merging

An alternative is to subdivide an image initially into a set of arbitrary, disjointed regions and then merge and/or split the regions to satisfy the conditions

Algorithm(1) We start with the entire region R

(2) If P(Ri)=FALSE, split into four disjoint quadrants

(3) Merge any adjacent regions Rj , Rk for which P(Rj U Rk)=TRUE

(4) Stop when no further merging or splitting is possible

Region Splitting and MergingRegion Splitting and Merging

Page 93: DIP Image Segmentation

Region Splitting and MergingRegion Splitting and MergingP(Rj)=TRUE

if at least 80% of the pixels in Rj have the property

where is the gray level of the jth pixel, is the mean gray level of region Rj, and is the standard deviation of the gray levels

iij mz σ2≤−

jz imiσ

The Use of MotionThe Use of Motion

Motion is a powerful cue used by humans and many animals to extract objects of interest from a background

One of the simplest approaches for detecting changes between two image frames is to compare them pixel by pixel

A difference image

It resulted from object motion

This approach is applicable only if the two images are registered spatially and if the illumination is relatively constant within the bounds established by T

Practically 1-valued entries often arise as a result of noise

They are usually isolated points ignore small regions, accumulation, filtering

⎩⎨⎧ >−

=otherwise

Ttyxftyxfifyxd ji

ij0

),,(),,(1),(

Page 94: DIP Image Segmentation

Building a Static Reference ImageBuilding a Static Reference Image

Page 95: DIP Image Segmentation

Digital Image Processing

1-Segmentation (Cont.)

2-Color Image Processing

Page 96: DIP Image Segmentation

Region-Oriented Segmentation

• Basic formulation

is a connected region

Page 97: DIP Image Segmentation

Region Growing by Pixel Aggregation

• Region growing is a procedure that groups

pixels or sub-regions into larger regions.

• Simplest approach is pixel aggregation

• Pixel aggregation needs a seed point

Page 98: DIP Image Segmentation

Region Growing Problems

• Selecting initial seed

• Selecting suitable properties for including

points

– Example: In military applications using infra red

images, the target of interest is slightly hotter than

its environment

Page 99: DIP Image Segmentation

Example : Weld defects

Page 100: DIP Image Segmentation

Region Splitting and Merging

• Divide the image into a set arbitrary disjoint

regions.

• Merge/split the regions

Page 101: DIP Image Segmentation

Quad-Tree

Page 102: DIP Image Segmentation

The Use of Motion in Segmentation

• Compare two image taken at time t1 and t2

pixel by pixel (difference image)

• Non-zero parts of the difference image

corresponds to the non-stationary objects

• dij(x,y)= 1 if |f(x,y,t1) – f(x,y,t2)| > θ

0 otherwise

Page 103: DIP Image Segmentation

Accumulating Differences

• A difference image may contain isolated

entries that are the result of the noise

• Thresholded connectivity analysis can remove

these points

• Accumulating difference images can also

remove the isolated points

Page 104: DIP Image Segmentation

Color Image Processing

• Color fundamentals

Page 105: DIP Image Segmentation

Visible Wavelength

Page 106: DIP Image Segmentation

Absorption of light by human eye

Page 107: DIP Image Segmentation

Red, Green, Blue Color Cube

Page 108: DIP Image Segmentation

RGB Color Cube

Page 109: DIP Image Segmentation

Composing Color Components

Page 110: DIP Image Segmentation

YIQ Color Model

• YIQ is the color space used by the NTSC color TV

system

• The Y component represents the luma

information, and is the only component used by

black-and-white television receivers

• I and Q represent the chrominance information

• For example, applying a histogram equalization to

a color image is done by Y component only

Page 111: DIP Image Segmentation

YIQ Color Model

Page 112: DIP Image Segmentation

HSI Color Model

Page 113: DIP Image Segmentation

Conversion from RGB to HSI

Page 114: DIP Image Segmentation

Pseudo-Color Image Processing

Page 115: DIP Image Segmentation

Pseudo-Color Image Processing

Page 116: DIP Image Segmentation

Pseudo-Color Image Processing

Page 117: DIP Image Segmentation

Enhancement using HSI Model

Page 118: DIP Image Segmentation

Enhancement using HSI Model

Page 119: DIP Image Segmentation

Assignment

An image is composed of small non-overlapping

blobs of mean gray level m=150 and variance

σ2=400. All the blobs occupy approximately

20% of the image area. Propose a technique

based on thresholding fro segmenting the

blobs out of the image.

Page 120: DIP Image Segmentation

Potential Term Project Topics

• Segmentation using Watershed algorithm

Page 121: DIP Image Segmentation

Potential Term Project Topics

• Segmentation Using Level Sets

Page 122: DIP Image Segmentation

Image Processing : Feature

Extraction

CS-293

Guide: Prof G. Sivakumar

Compiled by:

Siddharth Dhakad

Chirag Sethi

Nisarg Shah

Page 123: DIP Image Segmentation

Problem Definition

• Image processing is a field of signal processing in which input and output signals are both images (2D matrices).

• Feature extraction involves simplifying the amount of resources required to describe a large set of data accurately.

• Our project studies and implements various algorithms on feature extractions.

Page 124: DIP Image Segmentation

The following Feature Extraction techniques were implemented

• Edge Detection:– Sobel’s algorithm

– Canny’s algorithm

• Circle Detection:– Hough Transform

• Line Detection:– Hough Transform

• Corner Detection:– Trajkovic’s 8-neighbour algorithm

Page 125: DIP Image Segmentation

Solution Design &

Implementation

Page 126: DIP Image Segmentation

Image

• The images we handle are RGB type.

• Each pixel is a 32 bit integer.

• We have implemented a new data type

for handling images called Picture.

Page 127: DIP Image Segmentation

Picture Class

• Constructors– From Picture

– From a 2D array

– From a filename

• Saving & Loading images

• Grayscale

• Crop

Page 128: DIP Image Segmentation

Picture Class

IMAGE

FILE

2D ARRAY

GRAYSCALE

CROP

EDIT PIXELS

SHOW IMAGE

Page 129: DIP Image Segmentation

Edge Detection

• Edge detection is a terminology which aim at identifying points in a digital image at which the image brightness changes sharply or more formally has discontinuities.

• Edge Detection algorithms are broadly classified as

– First order

– Higher order

Page 130: DIP Image Segmentation

Original (Input) Image

Page 131: DIP Image Segmentation

Sobel Edge Detector

Input Image

Gray-Scaled Image

Masking

Edge Detected

Threshold

Page 132: DIP Image Segmentation

Canny Edge Detector

Input Image Gray-Scaled Image

Noise Reduction

Edge DetectedThreshold

Masking

Non-maxima

Suppression

Page 133: DIP Image Segmentation

• For reducing noise, we used Gaussian Filter (Blurring Algorithm).

• On edge detected by first order detector, we used an algorithm called Non-maximal Suppression to have single/thin edges.

• After that, we used Stack data structure for path traversal for finding continuous edges.

Page 134: DIP Image Segmentation

Manual Threshold Automatic Threshold

Page 135: DIP Image Segmentation

Original Image Sobel

Canny Manual Canny Automatic

Page 136: DIP Image Segmentation

Canny v/s Sobel

• Thin Edges

• Noise reduction

• Complete path

• High adjustability

• Thick Edges

• No blurring

• Discrete pixels

• Low adjustability

Page 137: DIP Image Segmentation

Line & Circle Detection

Input Image Edge Detection Hough Transform

DetectedLines/Circles

ThresholdPath Traversal

In Circle Detection, we also included taking range of radius of circles

to be detected as input to make the algorithm run faster.

Page 138: DIP Image Segmentation

Original Image Line Hough Transform

Circle Hough TransformOriginal Image

Page 139: DIP Image Segmentation

Corner Detection

Input Image

Cornerness of each pixel

Corner Detected

Threshold

Original Image

Corner

Detected

Page 140: DIP Image Segmentation

Threshold Selection

• Manual:

– User can set high-low thresholds for each operation performed during the algorithm.

• Automatic:

– By experimentation, we have found a heuristic to select a suitable threshold for any input image.

Page 141: DIP Image Segmentation

The Hard Part

• Selecting suitable threshold for any input

image

• Deciding the proper class hierarchy for

modular implementation

• Implementing path traversal and non-

maximal suppression algorithms

Page 142: DIP Image Segmentation

Results & Analysis

(Applied to standard

test image)

Page 143: DIP Image Segmentation

Original Image Standard Canny Output Our Canny Output

Standard SobelOutput

Our SobelOutput

Page 144: DIP Image Segmentation

Original Image Standard Canny Output

Our Canny Output Automatic Canny Output Our Sobel Output

Page 145: DIP Image Segmentation

Original Image Standard Output

Our Output

Page 146: DIP Image Segmentation

Original Image Standard Output

Our Output

Page 147: DIP Image Segmentation

Original Image Standard Output

Our Output

Page 148: DIP Image Segmentation

Future Possibilities

• Generalized Curve Detection

• Higher Order Edge Detection

• Some more shape based feature

detection

• Optimizations in current algorithms

• Handling large size images

• Pattern recognition

• Face recognition

Page 149: DIP Image Segmentation

What we learnt

• Feature Extraction Algorithms

• Limitations of algorithms when applied to

real life problems

– Image Size

– Selecting Threshold

– Noise

• Handling Images

– Image types : RGB, ARGB, Raster, Vector

Page 150: DIP Image Segmentation

• Java/Swing

• Time Management

• Working as a team

Page 151: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide1/15

COMS30121 | Department of Computer Science | University

of Bristol

Lecturer: Dr Tilo Burghardt ( mailto: [email protected]

)

Image Processing

&

Web: http://www.cs.bris.ac.uk/Teaching/Resources/COMS30121

Computer Vision

LECTURE 3: EDGE DETECTION

AND BEYOND

Page 152: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide2/15

Recap –

Edge Detection

by Filtering

Detection of Edges by using Edge-like Filter Kernels

Roberts, Kirsch, Prewitt and

Sobel

Operators

Estimation of Gradients

Considering Noise…

Page 153: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide3/15

Second Derivative Methods

Derivative has

extremum

at the edge

Second derivative is zero there!

Easier and more precise to detect

• However, second derivative is extremely

sensitive to noise

Smooth image firstto reduce the noise

Page 154: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide4/15

Laplacian Operator

Pierre-Simon Laplace

Also known as Marr-Hildreth

operator

Locates edges by looking for zero-crossings

Big response to noise

Find zero crossings

Page 155: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide5/15

Example of Laplacian Filtering

original after Laplacian

filtering

Page 156: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide6/15

Laplacian of Gaussian (LoG)

Page 157: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide7/15

Difference of Gaussian (DoG)

Page 158: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide8/15

Scale

in Image Processing

Localised Processing Scale of the localisation is crucial!

Processing at multiple scales: Scale-space Filtering

Hierarchical Analysis Gaussian and Laplacian Pyramids

Page 159: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide9/15

Scale Space

Page 160: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide10/15

Diffusion as an Operator

Page 161: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide11/15

Scale Space Generation via Diffusion

Page 162: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide12/15

Advanced Diffusion Techniques

Page 163: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide13/15

Canny Edge Detection

Gaussian

Smoothing

Gradient Estimation

Non-maximal Suppression

Thresholding

with

Hysteresis

Feature Synthesis

Page 164: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide14/15

Approaches to

Thresholding Edges

Page 165: DIP Image Segmentation

Dr Tilo Burghardt | Image Processing & Computer Vision , COMS30121 | Dept of Computer Science, University of Bristol | L1 - Slide15/15

Outlook

Next time in Lecture 4 …

How can we segment images?


Recommended