Seminar: Medical Image Processing A robust approach for automatic - - PowerPoint PPT Presentation

seminar medical image processing
SMART_READER_LITE
LIVE PREVIEW

Seminar: Medical Image Processing A robust approach for automatic - - PowerPoint PPT Presentation

Introduction Morphology Linear filters Detection Evaluation Summary Seminar: Medical Image Processing A robust approach for automatic detection and segmentation of cracks in underground pipeline images Tim Niemueller < tim@niemueller.de


slide-1
SLIDE 1

Introduction Morphology Linear filters Detection Evaluation Summary

Seminar: Medical Image Processing

A robust approach for automatic detection and segmentation of cracks in underground pipeline images Tim Niemueller <tim@niemueller.de>

Supervisor: Benedikt Fischer Institut f¨ ur medizinische Informatik, RWTH Aachen

July 13th, 2006

Tim Niemueller Crack Detection and Segmentation 1 / 41

slide-2
SLIDE 2

Introduction Morphology Linear filters Detection Evaluation Summary Roadmap

Roadmap

1 Introduction 2 Morphology 3 Linear filters 4 Detection 5 Evaluation 6 Summary

Tim Niemueller Crack Detection and Segmentation 2 / 41

slide-3
SLIDE 3

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

Discussed papers

Shivprakash Iyer and Sunil K. Sinha: A robust approach for automatic detection and segmentation of cracks in underground pipeline images. Image and Vision Computing, 23:921-933, 2005.

Tim Niemueller Crack Detection and Segmentation 3 / 41

slide-4
SLIDE 4

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

Discussed papers

Shivprakash Iyer and Sunil K. Sinha: A robust approach for automatic detection and segmentation of cracks in underground pipeline images. Image and Vision Computing, 23:921-933, 2005. Frederic Zana and Jean-Claude Klein: Segmentation of vessel-like patterns using mathematical morphology and curvature evaluation. IEEE Transactions on Image Processing, 10(7):1010-1019, July 2001.

Tim Niemueller Crack Detection and Segmentation 3 / 41

slide-5
SLIDE 5

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The situation

Communal sewer networks often one of the biggest infrastructures in an industrialized country (USA: approx. 1 million miles)

Tim Niemueller Crack Detection and Segmentation 4 / 41

slide-6
SLIDE 6

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The situation

Communal sewer networks often one of the biggest infrastructures in an industrialized country (USA: approx. 1 million miles) Networks built 50-60 years ago

Tim Niemueller Crack Detection and Segmentation 4 / 41

slide-7
SLIDE 7

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The situation

Communal sewer networks often one of the biggest infrastructures in an industrialized country (USA: approx. 1 million miles) Networks built 50-60 years ago Networks age and deteriorate until they fail

Tim Niemueller Crack Detection and Segmentation 4 / 41

slide-8
SLIDE 8

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The situation

Communal sewer networks often one of the biggest infrastructures in an industrialized country (USA: approx. 1 million miles) Networks built 50-60 years ago Networks age and deteriorate until they fail Pipes are in general too small for humans

Tim Niemueller Crack Detection and Segmentation 4 / 41

slide-9
SLIDE 9

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The situation

Communal sewer networks often one of the biggest infrastructures in an industrialized country (USA: approx. 1 million miles) Networks built 50-60 years ago Networks age and deteriorate until they fail Pipes are in general too small for humans Images can be taken via installed camera or by semi-mobile robots

Tim Niemueller Crack Detection and Segmentation 4 / 41

slide-10
SLIDE 10

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The situation

Communal sewer networks often one of the biggest infrastructures in an industrialized country (USA: approx. 1 million miles) Networks built 50-60 years ago Networks age and deteriorate until they fail Pipes are in general too small for humans Images can be taken via installed camera or by semi-mobile robots Large underground sewer networks need continuous checks.

Tim Niemueller Crack Detection and Segmentation 4 / 41

slide-11
SLIDE 11

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The problem

Continuous check needed to guarantee fitness

Tim Niemueller Crack Detection and Segmentation 5 / 41

slide-12
SLIDE 12

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The problem

Continuous check needed to guarantee fitness Currently these checks are done manually

Tim Niemueller Crack Detection and Segmentation 5 / 41

slide-13
SLIDE 13

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The problem

Continuous check needed to guarantee fitness Currently these checks are done manually Checks highly dependent on experience, concentration and skill level of operator

Tim Niemueller Crack Detection and Segmentation 5 / 41

slide-14
SLIDE 14

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The problem

Continuous check needed to guarantee fitness Currently these checks are done manually Checks highly dependent on experience, concentration and skill level of operator Human operators: subjectivity, fatigue, high costs

Tim Niemueller Crack Detection and Segmentation 5 / 41

slide-15
SLIDE 15

Introduction Morphology Linear filters Detection Evaluation Summary Motivation

The problem

Continuous check needed to guarantee fitness Currently these checks are done manually Checks highly dependent on experience, concentration and skill level of operator Human operators: subjectivity, fatigue, high costs Reliable automated defect detection and classification system desirable to compensate these problems

Tim Niemueller Crack Detection and Segmentation 5 / 41

slide-16
SLIDE 16

Introduction Morphology Linear filters Detection Evaluation Summary Domain

What are cracks?

Large linear portions

Tim Niemueller Crack Detection and Segmentation 6 / 41

slide-17
SLIDE 17

Introduction Morphology Linear filters Detection Evaluation Summary Domain

What are cracks?

Large linear portions Branch like a tree

Tim Niemueller Crack Detection and Segmentation 6 / 41

slide-18
SLIDE 18

Introduction Morphology Linear filters Detection Evaluation Summary Domain

What are cracks?

Large linear portions Branch like a tree Intensity distribution of a crack feature cross-section looks like a specific gaussian curve

Tim Niemueller Crack Detection and Segmentation 6 / 41

slide-19
SLIDE 19

Introduction Morphology Linear filters Detection Evaluation Summary Domain

What are cracks?

Large linear portions Branch like a tree Intensity distribution of a crack feature cross-section looks like a specific gaussian curve More or less constant width

Tim Niemueller Crack Detection and Segmentation 6 / 41

slide-20
SLIDE 20

Introduction Morphology Linear filters Detection Evaluation Summary Domain

What are cracks?

Large linear portions Branch like a tree Intensity distribution of a crack feature cross-section looks like a specific gaussian curve More or less constant width Retinal vessels: similar features ⇒ similar method works to segment vessels

Tim Niemueller Crack Detection and Segmentation 6 / 41

slide-21
SLIDE 21

Introduction Morphology Linear filters Detection Evaluation Summary Domain

Examples (cracks and retinal vessels)

Tim Niemueller Crack Detection and Segmentation 7 / 41

slide-22
SLIDE 22

Introduction Morphology Linear filters Detection Evaluation Summary Domain

Examples (cracks and retinal vessels)

Tim Niemueller Crack Detection and Segmentation 7 / 41

slide-23
SLIDE 23

Introduction Morphology Linear filters Detection Evaluation Summary Domain

Examples (cracks and retinal vessels)

Tim Niemueller Crack Detection and Segmentation 7 / 41

slide-24
SLIDE 24

Introduction Morphology Linear filters Detection Evaluation Summary Image Processing Pipeline

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF)

Tim Niemueller Crack Detection and Segmentation 8 / 41

slide-25
SLIDE 25

Introduction Morphology Linear filters Detection Evaluation Summary Image Processing Pipeline

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF) Results in binary crack map

Tim Niemueller Crack Detection and Segmentation 8 / 41

slide-26
SLIDE 26

Introduction Morphology Linear filters Detection Evaluation Summary Image Processing Pipeline

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF) Results in binary crack map Basic 3-step processing pipeline

Tim Niemueller Crack Detection and Segmentation 8 / 41

slide-27
SLIDE 27

Introduction Morphology Linear filters Detection Evaluation Summary Image Processing Pipeline

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF) Results in binary crack map Basic 3-step processing pipeline

1 Preprocessing (contrast enhancement)

Tim Niemueller Crack Detection and Segmentation 8 / 41

slide-28
SLIDE 28

Introduction Morphology Linear filters Detection Evaluation Summary Image Processing Pipeline

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF) Results in binary crack map Basic 3-step processing pipeline

1 Preprocessing (contrast enhancement) 2 Enhancement of cracks (MM and LF)

Tim Niemueller Crack Detection and Segmentation 8 / 41

slide-29
SLIDE 29

Introduction Morphology Linear filters Detection Evaluation Summary Image Processing Pipeline

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF) Results in binary crack map Basic 3-step processing pipeline

1 Preprocessing (contrast enhancement) 2 Enhancement of cracks (MM and LF) 3 Segmentation of cracks (MM alternating filters)

Tim Niemueller Crack Detection and Segmentation 8 / 41

slide-30
SLIDE 30

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction 2 Morphology

What is mathematical morphology? Morphology operations Specific parameters for crack detection

3 Linear filters 4 Detection 5 Evaluation 6 Summary

Tim Niemueller Crack Detection and Segmentation 9 / 41

slide-31
SLIDE 31

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Introduction

Mathematical morphology (MM) developed by Matheron and Serra at the Ecole des Mines in Paris

Tim Niemueller Crack Detection and Segmentation 10 / 41

slide-32
SLIDE 32

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Introduction

Mathematical morphology (MM) developed by Matheron and Serra at the Ecole des Mines in Paris Extract features based on a priori knowledge about object geometry

Tim Niemueller Crack Detection and Segmentation 10 / 41

slide-33
SLIDE 33

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Introduction

Mathematical morphology (MM) developed by Matheron and Serra at the Ecole des Mines in Paris Extract features based on a priori knowledge about object geometry Set-theoretic method providing a quantitative description of geometric structures

Tim Niemueller Crack Detection and Segmentation 10 / 41

slide-34
SLIDE 34

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Introduction

Mathematical morphology (MM) developed by Matheron and Serra at the Ecole des Mines in Paris Extract features based on a priori knowledge about object geometry Set-theoretic method providing a quantitative description of geometric structures Based on expanding and shrinking operations with regard to a given structuring element (knowledge about object)

Tim Niemueller Crack Detection and Segmentation 10 / 41

slide-35
SLIDE 35

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Introduction

Mathematical morphology (MM) developed by Matheron and Serra at the Ecole des Mines in Paris Extract features based on a priori knowledge about object geometry Set-theoretic method providing a quantitative description of geometric structures Based on expanding and shrinking operations with regard to a given structuring element (knowledge about object) Originally for B/W images, extended for gray images (interesting case here)

Tim Niemueller Crack Detection and Segmentation 10 / 41

slide-36
SLIDE 36

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Definitions

Images are defined as a function mapping from points to intensity values (here: grayscale, Imin = 0 and Imax = 255): F : Z2 → [Imin, Imax]

Tim Niemueller Crack Detection and Segmentation 11 / 41

slide-37
SLIDE 37

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Definitions

Images are defined as a function mapping from points to intensity values (here: grayscale, Imin = 0 and Imax = 255): F : Z2 → [Imin, Imax] Binary structuring elements (SE) are defined as a function: B : Z2 → [0, 1]

Tim Niemueller Crack Detection and Segmentation 11 / 41

slide-38
SLIDE 38

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Definitions

Images are defined as a function mapping from points to intensity values (here: grayscale, Imin = 0 and Imax = 255): F : Z2 → [Imin, Imax] Binary structuring elements (SE) are defined as a function: B : Z2 → [0, 1]

Tim Niemueller Crack Detection and Segmentation 11 / 41

slide-39
SLIDE 39

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Important notation specialties for crack detection

General MM: Foreground: white Background: black Crack detection MM: Foreground: black Background: white

Tim Niemueller Crack Detection and Segmentation 12 / 41

slide-40
SLIDE 40

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Important notation specialties for crack detection

General MM: Foreground: white Background: black Crack detection MM: Foreground: black Background: white Some items change meaning: Hole Object Object Hole

Tim Niemueller Crack Detection and Segmentation 12 / 41

slide-41
SLIDE 41

Introduction Morphology Linear filters Detection Evaluation Summary What is mathematical morphology?

Important notation specialties for crack detection

General MM: Foreground: white Background: black Crack detection MM: Foreground: black Background: white Some items change meaning: Hole Object Object Hole Some operations change meaning: Expanding Shrinking Shrinking Expanding

Tim Niemueller Crack Detection and Segmentation 12 / 41

slide-42
SLIDE 42

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Dilation

δe

B(F)(P0) = maxP∈P0∪e·B(P0)(F(P))

Basic expanding operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point) Tim Niemueller Crack Detection and Segmentation 13 / 41

slide-43
SLIDE 43

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Dilation

δe

B(F)(P0) = maxP∈P0∪e·B(P0)(F(P))

Basic expanding operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point)

B

A A ⊕ B

Tim Niemueller Crack Detection and Segmentation 13 / 41

slide-44
SLIDE 44

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Dilation

δe

B(F)(P0) = maxP∈P0∪e·B(P0)(F(P))

Basic expanding operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point)

(general, black background, white foreground)

Tim Niemueller Crack Detection and Segmentation 13 / 41

slide-45
SLIDE 45

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Dilation

δe

B(F)(P0) = maxP∈P0∪e·B(P0)(F(P))

Basic expanding operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point)

(crack detection, white background, black foreground)

Tim Niemueller Crack Detection and Segmentation 13 / 41

slide-46
SLIDE 46

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Erosion

εe

B(F)(P0) = minP∈P0∪e·B(P0)(F(P))

Basic shrinking operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point) Tim Niemueller Crack Detection and Segmentation 14 / 41

slide-47
SLIDE 47

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Erosion

εe

B(F)(P0) = minP∈P0∪e·B(P0)(F(P))

Basic shrinking operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point)

B

A A ⊖ B

Tim Niemueller Crack Detection and Segmentation 14 / 41

slide-48
SLIDE 48

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Erosion

εe

B(F)(P0) = minP∈P0∪e·B(P0)(F(P))

Basic shrinking operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point)

(general, black background, white foreground)

Tim Niemueller Crack Detection and Segmentation 14 / 41

slide-49
SLIDE 49

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Erosion

εe

B(F)(P0) = minP∈P0∪e·B(P0)(F(P))

Basic shrinking operation.

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image P0 Point in image (repeat for every point)

(crack detection, white background, black foreground)

Tim Niemueller Crack Detection and Segmentation 14 / 41

slide-50
SLIDE 50

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Opening

γe

B(F) = δe B(εe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Dilation of the erosion

Tim Niemueller Crack Detection and Segmentation 15 / 41

slide-51
SLIDE 51

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Opening

γe

B(F) = δe B(εe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Dilation of the erosion Removes small objects

Tim Niemueller Crack Detection and Segmentation 15 / 41

slide-52
SLIDE 52

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Opening

γe

B(F) = δe B(εe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Dilation of the erosion Removes small objects (basic opening by 3 × 3 square SE: original image)

Tim Niemueller Crack Detection and Segmentation 15 / 41

slide-53
SLIDE 53

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Opening

γe

B(F) = δe B(εe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Dilation of the erosion Removes small objects (basic opening by 3 × 3 square SE: eroded)

Tim Niemueller Crack Detection and Segmentation 15 / 41

slide-54
SLIDE 54

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Opening

γe

B(F) = δe B(εe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Dilation of the erosion Removes small objects (basic opening by 3 × 3 square SE: eroded and dilated)

Tim Niemueller Crack Detection and Segmentation 15 / 41

slide-55
SLIDE 55

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Closing

φe

B(F) = εe B(δe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Erosion of the dilation

Tim Niemueller Crack Detection and Segmentation 16 / 41

slide-56
SLIDE 56

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Closing

φe

B(F) = εe B(δe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Erosion of the dilation Removes small holes

Tim Niemueller Crack Detection and Segmentation 16 / 41

slide-57
SLIDE 57

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Closing

φe

B(F) = εe B(δe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Erosion of the dilation Removes small holes (basic closing by 3 × 3 square SE: original image)

Tim Niemueller Crack Detection and Segmentation 16 / 41

slide-58
SLIDE 58

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Closing

φe

B(F) = εe B(δe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Erosion of the dilation Removes small holes (basic closing by 3 × 3 square SE: dilated)

Tim Niemueller Crack Detection and Segmentation 16 / 41

slide-59
SLIDE 59

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Closing

φe

B(F) = εe B(δe B(F))

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Erosion of the dilation Removes small holes (basic closing by 3 × 3 square SE: dilated and eroded)

Tim Niemueller Crack Detection and Segmentation 16 / 41

slide-60
SLIDE 60

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Top-hat

τ e

B(F) = F − γe B(F)

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Removes a particular feature from the image

Tim Niemueller Crack Detection and Segmentation 17 / 41

slide-61
SLIDE 61

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Top-hat

τ e

B(F) = F − γe B(F)

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Removes a particular feature from the image Example: edge detection using top-hat filter (edge detection by top-hat: original image)

Tim Niemueller Crack Detection and Segmentation 17 / 41

slide-62
SLIDE 62

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Top-hat

τ e

B(F) = F − γe B(F)

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Removes a particular feature from the image Example: edge detection using top-hat filter (edge detection by top-hat: erosion by 3 × 3 square)

Tim Niemueller Crack Detection and Segmentation 17 / 41

slide-63
SLIDE 63

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Top-hat

τ e

B(F) = F − γe B(F)

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Removes a particular feature from the image Example: edge detection using top-hat filter (edge detection by top-hat: opening by 3 × 3 square)

Tim Niemueller Crack Detection and Segmentation 17 / 41

slide-64
SLIDE 64

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Top-hat

τ e

B(F) = F − γe B(F)

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Removes a particular feature from the image Example: edge detection using top-hat filter (edge detection by top-hat: top-hat with original image)

Tim Niemueller Crack Detection and Segmentation 17 / 41

slide-65
SLIDE 65

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Top-hat

τ e

B(F) = F − γe B(F)

B Structuring element (SE) e SE dimension scaling factor (default: e = 1) F Image

Removes a particular feature from the image Example: edge detection using top-hat filter (edge detection by top-hat: inverted result)

Tim Niemueller Crack Detection and Segmentation 17 / 41

slide-66
SLIDE 66

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction

One of the most common MM techniques

Tim Niemueller Crack Detection and Segmentation 18 / 41

slide-67
SLIDE 67

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction

One of the most common MM techniques Instead of one image and a SE now two images are used

Tim Niemueller Crack Detection and Segmentation 18 / 41

slide-68
SLIDE 68

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction

One of the most common MM techniques Instead of one image and a SE now two images are used Marker image is source image, mask image is max. or min. image (depending on operation)

Tim Niemueller Crack Detection and Segmentation 18 / 41

slide-69
SLIDE 69

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction

One of the most common MM techniques Instead of one image and a SE now two images are used Marker image is source image, mask image is max. or min. image (depending on operation) Geodesic: Extracts connected components based on distance

Tim Niemueller Crack Detection and Segmentation 18 / 41

slide-70
SLIDE 70

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction

One of the most common MM techniques Instead of one image and a SE now two images are used Marker image is source image, mask image is max. or min. image (depending on operation) Geodesic: Extracts connected components based on distance Can be used with different morphological operations

Tim Niemueller Crack Detection and Segmentation 18 / 41

slide-71
SLIDE 71

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-72
SLIDE 72

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

1 Erode marker image

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-73
SLIDE 73

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

1 Erode marker image 2 Take maximum of eroded image and mask image

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-74
SLIDE 74

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

1 Erode marker image 2 Take maximum of eroded image and mask image 3 If image has been changed in this iteration goto 1

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-75
SLIDE 75

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

(segment 1 and 4: original image)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-76
SLIDE 76

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

(segment 1 and 4: dilation by linear SE, length = 45 pixel, vertical)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-77
SLIDE 77

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

(segment 1 and 4: marked dilation result)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-78
SLIDE 78

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

(segment 1 and 4: dilation by linear SE, length = 7, horizontal)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-79
SLIDE 79

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

(segment 1 and 4: un-marked dilation result)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-80
SLIDE 80

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by erosion (geodesic closing)

Φ(F, G) = ε(n)

G (F) = max

  • G, ε(n−1)

G

(εB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) ε Erosion ε(0)

B,G (F) = F

n number of iterations until stability has been reached (ε(n)

B,G (F) = ε(n+1) B,G (F) holds)

(segment 1 and 4: geodesic reconstruction with original as mask)

Tim Niemueller Crack Detection and Segmentation 19 / 41

slide-81
SLIDE 81

Introduction Morphology Linear filters Detection Evaluation Summary Morphology operations

Geodesic reconstruction by dilation (geodesic opening)

Γ(F, G) = δ(n)

G (F) = min

  • G, δ(n−1)

G

(δB(F))

  • B

Isotropic structuring element F Image (Marker) G Image (Mask) δ Dilation δ(0)

B,G (F) = F

n number of iterations until stability has been reached (δ(n)

B,G (F) = δ(n+1) B,G (F) holds)

1 Dilate marker image 2 Take minimum of dilated image and mask image 3 If image has been changed in this iteration goto 1

Tim Niemueller Crack Detection and Segmentation 20 / 41

slide-82
SLIDE 82

Introduction Morphology Linear filters Detection Evaluation Summary Specific parameters for crack detection

Structuring elements

Based on observation of cracks specific SEs are chosen

Tim Niemueller Crack Detection and Segmentation 21 / 41

slide-83
SLIDE 83

Introduction Morphology Linear filters Detection Evaluation Summary Specific parameters for crack detection

Structuring elements

Based on observation of cracks specific SEs are chosen Linear SE

Tim Niemueller Crack Detection and Segmentation 21 / 41

slide-84
SLIDE 84

Introduction Morphology Linear filters Detection Evaluation Summary Specific parameters for crack detection

Structuring elements

Based on observation of cracks specific SEs are chosen Linear SE SE length: 12 pixel

Tim Niemueller Crack Detection and Segmentation 21 / 41

slide-85
SLIDE 85

Introduction Morphology Linear filters Detection Evaluation Summary Specific parameters for crack detection

Structuring elements

Based on observation of cracks specific SEs are chosen Linear SE SE length: 12 pixel Degree of rotation: every 10◦ from 0◦ to 180◦

Tim Niemueller Crack Detection and Segmentation 21 / 41

slide-86
SLIDE 86

Introduction Morphology Linear filters Detection Evaluation Summary Specific parameters for crack detection

Structuring elements

Based on observation of cracks specific SEs are chosen Linear SE SE length: 12 pixel Degree of rotation: every 10◦ from 0◦ to 180◦

Tim Niemueller Crack Detection and Segmentation 21 / 41

slide-87
SLIDE 87

Introduction Morphology Linear filters Detection Evaluation Summary Specific parameters for crack detection

Structuring elements

Based on observation of cracks specific SEs are chosen Linear SE SE length: 12 pixel Degree of rotation: every 10◦ from 0◦ to 180◦ Filters have been chosen for dark features

Tim Niemueller Crack Detection and Segmentation 21 / 41

slide-88
SLIDE 88

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction 2 Morphology 3 Linear filters

What are linear filters? Filters used for crack detection

4 Detection 5 Evaluation 6 Summary

Tim Niemueller Crack Detection and Segmentation 22 / 41

slide-89
SLIDE 89

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-90
SLIDE 90

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels They appear in about the same amount

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-91
SLIDE 91

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels They appear in about the same amount Difference in order and characteristic appearance of groups

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-92
SLIDE 92

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels They appear in about the same amount Difference in order and characteristic appearance of groups Linear filters are means to detect these specific characteristics

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-93
SLIDE 93

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels They appear in about the same amount Difference in order and characteristic appearance of groups Linear filters are means to detect these specific characteristics Each pixel is set to a weighted sum of its and its neighbours’ values (convolution)

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-94
SLIDE 94

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels They appear in about the same amount Difference in order and characteristic appearance of groups Linear filters are means to detect these specific characteristics Each pixel is set to a weighted sum of its and its neighbours’ values (convolution) Weights defined as matrix (kernel)

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-95
SLIDE 95

Introduction Morphology Linear filters Detection Evaluation Summary What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and white pixels They appear in about the same amount Difference in order and characteristic appearance of groups Linear filters are means to detect these specific characteristics Each pixel is set to a weighted sum of its and its neighbours’ values (convolution) Weights defined as matrix (kernel) Here: edge detection

Tim Niemueller Crack Detection and Segmentation 23 / 41

slide-96
SLIDE 96

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Gaussian

Smoothing an image

Gaussian kernel

0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16

  • 4
  • 2

2 4

  • 4
  • 2

2 4 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16

Gσ(x, y) =

1 2πσ2 exp

„ − (x2+y2)

2σ2

« Tim Niemueller Crack Detection and Segmentation 24 / 41

slide-97
SLIDE 97

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Gaussian

Smoothing an image Discrete Gaussian kernel from Gaussian function

Gaussian kernel

0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16

  • 4
  • 2

2 4

  • 4
  • 2

2 4 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16

Gσ(x, y) =

1 2πσ2 exp

„ − (x2+y2)

2σ2

« G1 = 2 6 4

1 16 2 16 1 16 2 16 4 16 2 16 1 16 2 16 1 16

3 7 5 Tim Niemueller Crack Detection and Segmentation 24 / 41

slide-98
SLIDE 98

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Gaussian

Smoothing an image Discrete Gaussian kernel from Gaussian function

(a) Original (b) Gaussian

Gaussian kernel

0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16

  • 4
  • 2

2 4

  • 4
  • 2

2 4 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16

Gσ(x, y) =

1 2πσ2 exp

„ − (x2+y2)

2σ2

« G1 = 2 6 4

1 16 2 16 1 16 2 16 4 16 2 16 1 16 2 16 1 16

3 7 5 Tim Niemueller Crack Detection and Segmentation 24 / 41

slide-99
SLIDE 99

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Laplacian of Gaussian

Classic method for edge detection

Laplacian of Gaussian kernel Tim Niemueller Crack Detection and Segmentation 25 / 41

slide-100
SLIDE 100

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Laplacian of Gaussian

Classic method for edge detection Laplacian operator: (∇2f )(x, y) = ∂2f

∂x2 + ∂2f ∂y2

Laplacian of Gaussian kernel Tim Niemueller Crack Detection and Segmentation 25 / 41

slide-101
SLIDE 101

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Laplacian of Gaussian

Classic method for edge detection Laplacian operator: (∇2f )(x, y) = ∂2f

∂x2 + ∂2f ∂y2

Natural to smooth before applying laplacian ⇒ Gaussian as function

Laplacian of Gaussian kernel

  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2

  • 4
  • 2

2 4

  • 4
  • 2

2 4

  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2

Lσ = (x2+y2−2σ2)

σ4

exp „ − (x2+y2)

(2σ2)

« Tim Niemueller Crack Detection and Segmentation 25 / 41

slide-102
SLIDE 102

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Laplacian of Gaussian

Classic method for edge detection Laplacian operator: (∇2f )(x, y) = ∂2f

∂x2 + ∂2f ∂y2

Natural to smooth before applying laplacian ⇒ Gaussian as function LoG w

σ (F) = F ◦ Lw σ

(F convolved with L)

Laplacian of Gaussian kernel

  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2

  • 4
  • 2

2 4

  • 4
  • 2

2 4

  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2

Lσ = (x2+y2−2σ2)

σ4

exp „ − (x2+y2)

(2σ2)

« L5

1 =

2 6 6 6 4 −1 −3 −3 −3 −1 −3 6 −3 −3 6 21 6 −3 −3 6 −3 −1 −3 −3 −3 −1 3 7 7 7 5 Tim Niemueller Crack Detection and Segmentation 25 / 41

slide-103
SLIDE 103

Introduction Morphology Linear filters Detection Evaluation Summary Filters used for crack detection

Laplacian of Gaussian

Classic method for edge detection Laplacian operator: (∇2f )(x, y) = ∂2f

∂x2 + ∂2f ∂y2

Natural to smooth before applying laplacian ⇒ Gaussian as function LoG w

σ (F) = F ◦ Lw σ

(F convolved with L)

Laplacian of Gaussian kernel

  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2

  • 4
  • 2

2 4

  • 4
  • 2

2 4

  • 1.2
  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2

Lσ = (x2+y2−2σ2)

σ4

exp „ − (x2+y2)

(2σ2)

« L5

1 =

2 6 6 6 4 −1 −3 −3 −3 −1 −3 6 −3 −3 6 21 6 −3 −3 6 −3 −1 −3 −3 −3 −1 3 7 7 7 5 Tim Niemueller Crack Detection and Segmentation 25 / 41

slide-104
SLIDE 104

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction 2 Morphology 3 Linear filters 4 Detection

Detection procedure

5 Evaluation 6 Summary

Tim Niemueller Crack Detection and Segmentation 26 / 41

slide-105
SLIDE 105

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Processing pipeline structure

Usage of mathematical morphology (MM) and linear filters (LF) Results in binary crack map Basic 3-step processing pipeline

1 Preprocessing (contrast enhancement) 2 Enhancement of cracks (MM and LF) 3 Segmentation of cracks (MM alternating filters)

Tim Niemueller Crack Detection and Segmentation 27 / 41

slide-106
SLIDE 106

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Preprocessing

Goal: Enhance contrast between cracks and background

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

slide-107
SLIDE 107

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Preprocessing

Goal: Enhance contrast between cracks and background

0 Original grayscale image

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

slide-108
SLIDE 108

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Preprocessing

Goal: Enhance contrast between cracks and background

0 Original grayscale image 1 Median (15 × 15)

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

slide-109
SLIDE 109

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Preprocessing

Goal: Enhance contrast between cracks and background

0 Original grayscale image 1 Median (15 × 15) 2 Compare foreground (original) and

background (median) image, take minimum

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

slide-110
SLIDE 110

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack enhancement

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

slide-111
SLIDE 111

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack enhancement

1 Closing by Reconstruction

FCl = Φ (mini=1,...,18{φBi (F0)})

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

slide-112
SLIDE 112

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack enhancement

1 Closing by Reconstruction

FCl = Φ (mini=1,...,18{φBi (F0)})

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

slide-113
SLIDE 113

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack enhancement

1 Closing by Reconstruction

FCl = Φ (mini=1,...,18{φBi (F0)})

2 Sum of top-hats

Fth =

17

  • i=0

τBi (FCl) =

17

  • i=0

(FCl − γBi(F)) Wrong formula (white objects)!

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

slide-114
SLIDE 114

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack enhancement

1 Closing by Reconstruction

FCl = Φ (mini=1,...,18{φBi (F0)})

2 Sum of top-hats

Fth = 17

  • i=0

(φBi(F) − FCl) −1 Very noisy results, omitted.

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

slide-115
SLIDE 115

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack enhancement

1 Closing by Reconstruction

FCl = Φ (mini=1,...,18{φBi (F0)})

2 Sum of top-hats

Fth = 17

  • i=0

(φBi(F) − FCl) −1 Very noisy results, omitted.

3 Laplacian of Gaussian Flap = LoG 12 2 (FCl)

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

slide-116
SLIDE 116

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack detection and segmentation

Final segmentation of cracks

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

slide-117
SLIDE 117

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack detection and segmentation

Final segmentation of cracks Alternating MM filters

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

slide-118
SLIDE 118

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack detection and segmentation

Final segmentation of cracks Alternating MM filters

1 Closing by Reconstruction

F1 = Φ (mini=1,...,18{φBi (Flap)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

slide-119
SLIDE 119

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack detection and segmentation

Final segmentation of cracks Alternating MM filters

1 Closing by Reconstruction

F1 = Φ (mini=1,...,18{φBi (Flap)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

slide-120
SLIDE 120

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack detection and segmentation

Final segmentation of cracks Alternating MM filters

1 Closing by Reconstruction

F1 = Φ (mini=1,...,18{φBi (Flap)})

2 Opening by Reconstruction

F2 = Γ (maxi=1,...,18{γBi(F1)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

slide-121
SLIDE 121

Introduction Morphology Linear filters Detection Evaluation Summary Detection procedure

Crack detection and segmentation

Final segmentation of cracks Alternating MM filters

1 Closing by Reconstruction

F1 = Φ (mini=1,...,18{φBi (Flap)})

2 Opening by Reconstruction

F2 = Γ (maxi=1,...,18{γBi(F1)})

3 Large closing with double scale

Ffinal =

  • mini=1,...,18{φ2

Bi (F2)}

  • Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

slide-122
SLIDE 122

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction 2 Morphology 3 Linear filters 4 Detection 5 Evaluation

Evaluation results from the paper Experiments Evaluation of the paper

6 Summary

Tim Niemueller Crack Detection and Segmentation 31 / 41

slide-123
SLIDE 123

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Parameters: S length of SE in pixels, D degree of rotations

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-124
SLIDE 124

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Parameters: S length of SE in pixels, D degree of rotations Goal: false positive rate below 7%, false negative rate below 2%

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-125
SLIDE 125

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Parameters: S length of SE in pixels, D degree of rotations Goal: false positive rate below 7%, false negative rate below 2% Probability of detection

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-126
SLIDE 126

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Parameters: S length of SE in pixels, D degree of rotations Goal: false positive rate below 7%, false negative rate below 2% Probability of false positive (crack detected where is none)

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-127
SLIDE 127

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Parameters: S length of SE in pixels, D degree of rotations Goal: false positive rate below 7%, false negative rate below 2% Probability of false negative (crack not detected)

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-128
SLIDE 128

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Probability of detection Probability of false positive Probability of false negative

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-129
SLIDE 129

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Probability of detection Probability of false positive Probability of false negative

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-130
SLIDE 130

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for parameter selection

Probability of detection Probability of false positive Probability of false negative Best parameters in paper: SE length S = 12 pixel and a degree of rotations D = every 10◦

Tim Niemueller Crack Detection and Segmentation 32 / 41

slide-131
SLIDE 131

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-132
SLIDE 132

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches Ground truth by manually segmenting test images (reference)

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-133
SLIDE 133

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches Ground truth by manually segmenting test images (reference) Completeness ≈ # matched crack pixels of ref.

# crack pixels of reference

(optimal: 1)

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-134
SLIDE 134

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches Ground truth by manually segmenting test images (reference) Completeness ≈ # matched crack pixels of ref.

# crack pixels of reference

(optimal: 1) Correctness ≈ # matched crack pixels of extraction

# crack pixels of extraction

(optimal: 1)

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-135
SLIDE 135

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches Ground truth by manually segmenting test images (reference) Completeness ≈ # matched crack pixels of ref.

# crack pixels of reference

(optimal: 1) Correctness ≈ # matched crack pixels of extraction

# crack pixels of extraction

(optimal: 1) Redundancy ≈ # matched crack pixels of extr.−# matched pixels of ref.

# crack pixels of extraction

(optimal: 0)

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-136
SLIDE 136

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches Ground truth by manually segmenting test images (reference) Completeness ≈ # matched crack pixels of ref.

# crack pixels of reference

(optimal: 1) Correctness ≈ # matched crack pixels of extraction

# crack pixels of extraction

(optimal: 1) Redundancy ≈ # matched crack pixels of extr.−# matched pixels of ref.

# crack pixels of extraction

(optimal: 0) Quality ≈

compl·corr compl−compl·corr+corr (optimal: 1)

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-137
SLIDE 137

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Criteria for comparison to different approaches

Comparison based on individual evaluation of approaches Ground truth by manually segmenting test images (reference) Completeness ≈ # matched crack pixels of ref.

# crack pixels of reference

(optimal: 1) Correctness ≈ # matched crack pixels of extraction

# crack pixels of extraction

(optimal: 1) Redundancy ≈ # matched crack pixels of extr.−# matched pixels of ref.

# crack pixels of extraction

(optimal: 0) Quality ≈

compl·corr compl−compl·corr+corr (optimal: 1)

Parameters for other approaches not mentioned in paper

Tim Niemueller Crack Detection and Segmentation 33 / 41

slide-138
SLIDE 138

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Different approaches

Otsu’s thresholding Apply thresholds to detect cracks Separates a number of intensity classes Uses statistical methods to minimize variance in a class and at the same time maximize the variance between the classes Tim Niemueller Crack Detection and Segmentation 34 / 41

slide-139
SLIDE 139

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Different approaches

Otsu’s thresholding Apply thresholds to detect cracks Separates a number of intensity classes Uses statistical methods to minimize variance in a class and at the same time maximize the variance between the classes Canny’s edge detection Detect edges in the image between crack and background Uses linear filters (Gaussian and Sobel) Apply Gaussian, then apply a series of gradient filters to detect edges in different directions Tim Niemueller Crack Detection and Segmentation 34 / 41

slide-140
SLIDE 140

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Comparison to different approaches

Otsu’s thresholding Canny’s edge detector No information about parameters in paper

Tim Niemueller Crack Detection and Segmentation 35 / 41

slide-141
SLIDE 141

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Comparison to different approaches

Otsu’s thresholding Canny’s edge detector No information about parameters in paper

Paper approach Class Cracks Background Color Completeness 0.95 0.88 0.90 Correctness 0.98 0.94 0.91 Quality 0.93 0.83 0.83 Redundancy 0.00

  • 0.01

0.00 Tim Niemueller Crack Detection and Segmentation 35 / 41

slide-142
SLIDE 142

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Comparison to different approaches

Otsu’s thresholding Canny’s edge detector No information about parameters in paper

Paper approach Class Cracks Background Color Completeness 0.95 0.88 0.90 Correctness 0.98 0.94 0.91 Quality 0.93 0.83 0.83 Redundancy 0.00

  • 0.01

0.00 Otsu’s thresholding Class Cracks Background Color Completeness 0.98 0.61 0.62 Correctness 0.37 0.45 0.08 Quality 0.37 0.35 0.08 Redundancy 0.22 0.23 0.24 Tim Niemueller Crack Detection and Segmentation 35 / 41

slide-143
SLIDE 143

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Comparison to different approaches

Otsu’s thresholding Canny’s edge detector No information about parameters in paper

Paper approach Class Cracks Background Color Completeness 0.95 0.88 0.90 Correctness 0.98 0.94 0.91 Quality 0.93 0.83 0.83 Redundancy 0.00

  • 0.01

0.00 Otsu’s thresholding Class Cracks Background Color Completeness 0.98 0.61 0.62 Correctness 0.37 0.45 0.08 Quality 0.37 0.35 0.08 Redundancy 0.22 0.23 0.24 Canny’s edge detector Class Cracks Background Color Completeness 0.92 0.61 0.62 Correctness 0.20 0.44 0.07 Quality 0.20 0.34 0.07 Redundancy 0.15 0.17 0.14 Tim Niemueller Crack Detection and Segmentation 35 / 41

slide-144
SLIDE 144

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation results from the paper

Comparison to different approaches

Otsu’s thresholding Canny’s edge detector No information about parameters in paper Very good evaluation results for proposed method in paper (not verified)

Paper approach Class Cracks Background Color Completeness 0.95 0.88 0.90 Correctness 0.98 0.94 0.91 Quality 0.93 0.83 0.83 Redundancy 0.00

  • 0.01

0.00 Otsu’s thresholding Class Cracks Background Color Completeness 0.98 0.61 0.62 Correctness 0.37 0.45 0.08 Quality 0.37 0.35 0.08 Redundancy 0.22 0.23 0.24 Canny’s edge detector Class Cracks Background Color Completeness 0.92 0.61 0.62 Correctness 0.20 0.44 0.07 Quality 0.20 0.34 0.07 Redundancy 0.15 0.17 0.14 Tim Niemueller Crack Detection and Segmentation 35 / 41

slide-145
SLIDE 145

Introduction Morphology Linear filters Detection Evaluation Summary Experiments

FireVision Crack Detection and Morphology Sandbox

Tim Niemueller Crack Detection and Segmentation 36 / 41

slide-146
SLIDE 146

Introduction Morphology Linear filters Detection Evaluation Summary Experiments

FireVision Crack Detection and Morphology Sandbox

Implemented in FireVision RoboCup vision framework from AllemaniACs RoboCup team

Tim Niemueller Crack Detection and Segmentation 36 / 41

slide-147
SLIDE 147

Introduction Morphology Linear filters Detection Evaluation Summary Experiments

FireVision Crack Detection and Morphology Sandbox

Implemented in FireVision RoboCup vision framework from AllemaniACs RoboCup team Parameters adapted to sample images supplied by Institut f¨ ur medizinische Informatik

Tim Niemueller Crack Detection and Segmentation 36 / 41

slide-148
SLIDE 148

Introduction Morphology Linear filters Detection Evaluation Summary Experiments

FireVision Crack Detection and Morphology Sandbox

Implemented in FireVision RoboCup vision framework from AllemaniACs RoboCup team Parameters adapted to sample images supplied by Institut f¨ ur medizinische Informatik Revealed several pieces of missing information and errors

Tim Niemueller Crack Detection and Segmentation 36 / 41

slide-149
SLIDE 149

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-like patterns using mathematical morphology and curvature evaluation. IEEE Transactions on Image Processing, 10(7):1010-1019, July 2001. Basically the template of the discussed paper

Tim Niemueller Crack Detection and Segmentation 37 / 41

slide-150
SLIDE 150

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-like patterns using mathematical morphology and curvature evaluation. IEEE Transactions on Image Processing, 10(7):1010-1019, July 2001. Basically the template of the discussed paper Proposed algorithm the same, just extracts brightest part of image

Tim Niemueller Crack Detection and Segmentation 37 / 41

slide-151
SLIDE 151

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-like patterns using mathematical morphology and curvature evaluation. IEEE Transactions on Image Processing, 10(7):1010-1019, July 2001. Basically the template of the discussed paper Proposed algorithm the same, just extracts brightest part of image More evaluation in discussed paper

Tim Niemueller Crack Detection and Segmentation 37 / 41

slide-152
SLIDE 152

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-like patterns using mathematical morphology and curvature evaluation. IEEE Transactions on Image Processing, 10(7):1010-1019, July 2001. Basically the template of the discussed paper Proposed algorithm the same, just extracts brightest part of image More evaluation in discussed paper Discussed paper very similar

Tim Niemueller Crack Detection and Segmentation 37 / 41

slide-153
SLIDE 153

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-154
SLIDE 154

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper
  • Wrong formulas (i.e. sum of top-hats)

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-155
SLIDE 155

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper
  • Wrong formulas (i.e. sum of top-hats)
  • Missing information: image sizes, typical crack length/width,

parameters of other algorithms in evaluation, ...

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-156
SLIDE 156

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper
  • Wrong formulas (i.e. sum of top-hats)
  • Missing information: image sizes, typical crack length/width,

parameters of other algorithms in evaluation, ...

  • No quantitative data about typical human detection and error

rates

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-157
SLIDE 157

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper
  • Wrong formulas (i.e. sum of top-hats)
  • Missing information: image sizes, typical crack length/width,

parameters of other algorithms in evaluation, ...

  • No quantitative data about typical human detection and error

rates

+ Many pointers to interesting literature

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-158
SLIDE 158

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper
  • Wrong formulas (i.e. sum of top-hats)
  • Missing information: image sizes, typical crack length/width,

parameters of other algorithms in evaluation, ...

  • No quantitative data about typical human detection and error

rates

+ Many pointers to interesting literature + Basics easy to reproduce

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-159
SLIDE 159

Introduction Morphology Linear filters Detection Evaluation Summary Evaluation of the paper

Pros and Cons

  • Some information not copied over from ZK paper
  • Wrong formulas (i.e. sum of top-hats)
  • Missing information: image sizes, typical crack length/width,

parameters of other algorithms in evaluation, ...

  • No quantitative data about typical human detection and error

rates

+ Many pointers to interesting literature + Basics easy to reproduce + Detailed evaluation section

Tim Niemueller Crack Detection and Segmentation 38 / 41

slide-160
SLIDE 160

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction 2 Morphology 3 Linear filters 4 Detection 5 Evaluation 6 Summary

Conclusion End of Talk

Tim Niemueller Crack Detection and Segmentation 39 / 41

slide-161
SLIDE 161

Introduction Morphology Linear filters Detection Evaluation Summary Conclusion

Paper Resume

Method to detect and segment cracks in underground pipeline images

Tim Niemueller Crack Detection and Segmentation 40 / 41

slide-162
SLIDE 162

Introduction Morphology Linear filters Detection Evaluation Summary Conclusion

Paper Resume

Method to detect and segment cracks in underground pipeline images Presented approach uses mathematical morphology and curvature evaluation and makes use of a priori knowledge about crack structures

Tim Niemueller Crack Detection and Segmentation 40 / 41

slide-163
SLIDE 163

Introduction Morphology Linear filters Detection Evaluation Summary Conclusion

Paper Resume

Method to detect and segment cracks in underground pipeline images Presented approach uses mathematical morphology and curvature evaluation and makes use of a priori knowledge about crack structures Evaluation has shown that the presented approach has good detection rates and low error rates (not verified)

Tim Niemueller Crack Detection and Segmentation 40 / 41

slide-164
SLIDE 164

Introduction Morphology Linear filters Detection Evaluation Summary Conclusion

Paper Resume

Method to detect and segment cracks in underground pipeline images Presented approach uses mathematical morphology and curvature evaluation and makes use of a priori knowledge about crack structures Evaluation has shown that the presented approach has good detection rates and low error rates (not verified) Paper is derived from another paper and very similar

Tim Niemueller Crack Detection and Segmentation 40 / 41

slide-165
SLIDE 165

Introduction Morphology Linear filters Detection Evaluation Summary End of Talk

Questions?

Information compiled at http://www.niemueller.de/uni/crackdet/

Tim Niemueller Crack Detection and Segmentation 41 / 41