165
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 <[email protected]> Supervisor: Benedikt Fischer Institut f¨ ur medizinische Informatik, RWTH Aachen July 13th, 2006 Tim Niemueller Crack Detection and Segmentation 1 / 41

Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Seminar: Medical Image ProcessingA robust approach for automatic detection and segmentation of

cracks in underground pipeline images

Tim Niemueller <[email protected]>

Supervisor: Benedikt FischerInstitut fur medizinische Informatik, RWTH Aachen

July 13th, 2006

Tim Niemueller Crack Detection and Segmentation 1 / 41

Page 2: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 3: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

Discussed papers

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

Tim Niemueller Crack Detection and Segmentation 3 / 41

Page 4: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

Discussed papers

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

Frederic Zana and Jean-Claude Klein: Segmentation ofvessel-like patterns using mathematical morphology andcurvature evaluation. IEEE Transactions on Image Processing,10(7):1010-1019, July 2001.

Tim Niemueller Crack Detection and Segmentation 3 / 41

Page 5: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The situation

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

Tim Niemueller Crack Detection and Segmentation 4 / 41

Page 6: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The situation

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

Networks built 50-60 years ago

Tim Niemueller Crack Detection and Segmentation 4 / 41

Page 7: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The situation

Communal sewer networks often one of the biggestinfrastructures 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

Page 8: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The situation

Communal sewer networks often one of the biggestinfrastructures 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

Page 9: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The situation

Communal sewer networks often one of the biggestinfrastructures 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 bysemi-mobile robots

Tim Niemueller Crack Detection and Segmentation 4 / 41

Page 10: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The situation

Communal sewer networks often one of the biggestinfrastructures 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 bysemi-mobile robots

Large underground sewer networks need continuous checks.

Tim Niemueller Crack Detection and Segmentation 4 / 41

Page 11: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Motivation

The problem

Continuous check needed to guarantee fitness

Tim Niemueller Crack Detection and Segmentation 5 / 41

Page 12: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 13: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 14: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 15: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 systemdesirable to compensate these problems

Tim Niemueller Crack Detection and Segmentation 5 / 41

Page 16: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Domain

What are cracks?

Large linear portions

Tim Niemueller Crack Detection and Segmentation 6 / 41

Page 17: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 18: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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-sectionlooks like a specific gaussian curve

Tim Niemueller Crack Detection and Segmentation 6 / 41

Page 19: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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-sectionlooks like a specific gaussian curve

More or less constant width

Tim Niemueller Crack Detection and Segmentation 6 / 41

Page 20: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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-sectionlooks like a specific gaussian curve

More or less constant width

Retinal vessels: similar features ⇒ similar method works tosegment vessels

Tim Niemueller Crack Detection and Segmentation 6 / 41

Page 21: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Domain

Examples (cracks and retinal vessels)

Tim Niemueller Crack Detection and Segmentation 7 / 41

Page 22: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Domain

Examples (cracks and retinal vessels)

Tim Niemueller Crack Detection and Segmentation 7 / 41

Page 23: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Domain

Examples (cracks and retinal vessels)

Tim Niemueller Crack Detection and Segmentation 7 / 41

Page 24: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 25: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 26: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 27: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 28: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 29: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 30: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction

2 MorphologyWhat is mathematical morphology?Morphology operationsSpecific parameters for crack detection

3 Linear filters

4 Detection

5 Evaluation

6 Summary

Tim Niemueller Crack Detection and Segmentation 9 / 41

Page 31: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Introduction

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

Tim Niemueller Crack Detection and Segmentation 10 / 41

Page 32: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Introduction

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

Extract features based on a priori knowledgeabout object geometry

Tim Niemueller Crack Detection and Segmentation 10 / 41

Page 33: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Introduction

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

Extract features based on a priori knowledgeabout object geometry

Set-theoretic method providing a quantitative description ofgeometric structures

Tim Niemueller Crack Detection and Segmentation 10 / 41

Page 34: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Introduction

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

Extract features based on a priori knowledgeabout object geometry

Set-theoretic method providing a quantitative description ofgeometric structures

Based on expanding and shrinking operations with regard to agiven structuring element (knowledge about object)

Tim Niemueller Crack Detection and Segmentation 10 / 41

Page 35: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Introduction

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

Extract features based on a priori knowledgeabout object geometry

Set-theoretic method providing a quantitative description ofgeometric structures

Based on expanding and shrinking operations with regard to agiven 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

Page 36: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Definitions

Images are defined as a function mapping from points to intensityvalues (here: grayscale, Imin = 0 and Imax = 255):

F : Z2 7→ [Imin, Imax ]

Tim Niemueller Crack Detection and Segmentation 11 / 41

Page 37: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Definitions

Images are defined as a function mapping from points to intensityvalues (here: grayscale, Imin = 0 and Imax = 255):

F : Z2 7→ [Imin, Imax ]

Binary structuring elements (SE) are defined as a function:

B : Z2 7→ [0, 1]

Tim Niemueller Crack Detection and Segmentation 11 / 41

Page 38: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What is mathematical morphology?

Definitions

Images are defined as a function mapping from points to intensityvalues (here: grayscale, Imin = 0 and Imax = 255):

F : Z2 7→ [Imin, Imax ]

Binary structuring elements (SE) are defined as a function:

B : Z2 7→ [0, 1]

Tim Niemueller Crack Detection and Segmentation 11 / 41

Page 39: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 40: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 41: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 42: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Dilation

δeB(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 ImageP0 Point in image

(repeat for every point)

Tim Niemueller Crack Detection and Segmentation 13 / 41

Page 43: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Dilation

δeB(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 ImageP0 Point in image

(repeat for every point)

B

A

A ⊕ B

Tim Niemueller Crack Detection and Segmentation 13 / 41

Page 44: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Dilation

δeB(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 ImageP0 Point in image

(repeat for every point)

(general, black background, white foreground)

Tim Niemueller Crack Detection and Segmentation 13 / 41

Page 45: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Dilation

δeB(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 ImageP0 Point in image

(repeat for every point)

(crack detection, white background, black foreground)

Tim Niemueller Crack Detection and Segmentation 13 / 41

Page 46: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Erosion

εeB(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 ImageP0 Point in image

(repeat for every point)

Tim Niemueller Crack Detection and Segmentation 14 / 41

Page 47: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Erosion

εeB(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 ImageP0 Point in image

(repeat for every point)

B

A

A ⊖ B

Tim Niemueller Crack Detection and Segmentation 14 / 41

Page 48: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Erosion

εeB(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 ImageP0 Point in image

(repeat for every point)

(general, black background, white foreground)

Tim Niemueller Crack Detection and Segmentation 14 / 41

Page 49: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Erosion

εeB(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 ImageP0 Point in image

(repeat for every point)

(crack detection, white background, black foreground)

Tim Niemueller Crack Detection and Segmentation 14 / 41

Page 50: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Opening

γeB(F ) = δe

B(εeB (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

Page 51: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Opening

γeB(F ) = δe

B(εeB (F ))

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

Dilation of the erosionRemoves small objects

Tim Niemueller Crack Detection and Segmentation 15 / 41

Page 52: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Opening

γeB(F ) = δe

B(εeB (F ))

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

Dilation of the erosionRemoves small objects

(basic opening by 3 × 3 square SE: original image)

Tim Niemueller Crack Detection and Segmentation 15 / 41

Page 53: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Opening

γeB(F ) = δe

B(εeB (F ))

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

Dilation of the erosionRemoves small objects

(basic opening by 3 × 3 square SE: eroded)

Tim Niemueller Crack Detection and Segmentation 15 / 41

Page 54: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Opening

γeB(F ) = δe

B(εeB (F ))

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

Dilation of the erosionRemoves small objects

(basic opening by 3 × 3 square SE: eroded and dilated)

Tim Niemueller Crack Detection and Segmentation 15 / 41

Page 55: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Closing

φeB(F ) = εe

B(δeB(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

Page 56: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Closing

φeB(F ) = εe

B(δeB(F ))

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

Erosion of the dilationRemoves small holes

Tim Niemueller Crack Detection and Segmentation 16 / 41

Page 57: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Closing

φeB(F ) = εe

B(δeB(F ))

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

Erosion of the dilationRemoves small holes

(basic closing by 3 × 3 square SE: original image)

Tim Niemueller Crack Detection and Segmentation 16 / 41

Page 58: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Closing

φeB(F ) = εe

B(δeB(F ))

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

Erosion of the dilationRemoves small holes

(basic closing by 3 × 3 square SE: dilated)

Tim Niemueller Crack Detection and Segmentation 16 / 41

Page 59: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Closing

φeB(F ) = εe

B(δeB(F ))

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

Erosion of the dilationRemoves small holes

(basic closing by 3 × 3 square SE: dilated and eroded)

Tim Niemueller Crack Detection and Segmentation 16 / 41

Page 60: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Top-hat

τ eB(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

Page 61: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Top-hat

τ eB(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 imageExample: edge detection using top-hat filter

(edge detection by top-hat: original image)

Tim Niemueller Crack Detection and Segmentation 17 / 41

Page 62: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Top-hat

τ eB(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 imageExample: edge detection using top-hat filter

(edge detection by top-hat: erosion by 3 × 3 square)

Tim Niemueller Crack Detection and Segmentation 17 / 41

Page 63: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Top-hat

τ eB(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 imageExample: edge detection using top-hat filter

(edge detection by top-hat: opening by 3 × 3 square)

Tim Niemueller Crack Detection and Segmentation 17 / 41

Page 64: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Top-hat

τ eB(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 imageExample: edge detection using top-hat filter

(edge detection by top-hat: top-hat with original image)

Tim Niemueller Crack Detection and Segmentation 17 / 41

Page 65: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Morphology operations

Top-hat

τ eB(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 imageExample: edge detection using top-hat filter

(edge detection by top-hat: inverted result)

Tim Niemueller Crack Detection and Segmentation 17 / 41

Page 66: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 67: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 68: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 69: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 70: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 71: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability has been reached

(ε(n)B,G

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

(F ) holds)

Tim Niemueller Crack Detection and Segmentation 19 / 41

Page 72: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 73: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 74: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 75: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 76: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 77: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 78: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 79: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 80: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)ε Erosion

ε(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 81: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 elementF Image (Marker)G Image (Mask)δ Dilation

δ(0)B,G

(F ) = F

n number of iterations untilstability 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

Page 82: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 83: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 84: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 85: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 86: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 87: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 88: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction

2 Morphology

3 Linear filtersWhat are linear filters?Filters used for crack detection

4 Detection

5 Evaluation

6 Summary

Tim Niemueller Crack Detection and Segmentation 22 / 41

Page 89: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

Tim Niemueller Crack Detection and Segmentation 23 / 41

Page 90: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

They appear in about the same amount

Tim Niemueller Crack Detection and Segmentation 23 / 41

Page 91: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

They appear in about the same amount

Difference in order and characteristic appearance of groups

Tim Niemueller Crack Detection and Segmentation 23 / 41

Page 92: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

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

Page 93: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

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

Page 94: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

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

Page 95: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

What are linear filters?

Linear filters

Pictures of zebras and dalmatians both have black and whitepixels

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

Page 96: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Filters used for crack detection

Gaussian

Smoothing an image

Gaussian kernel

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

-4-2

0 2

4-4

-2

0

2

4 0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

Gσ(x, y) = 12πσ2 exp

−(x2+y2)

2σ2

«

Tim Niemueller Crack Detection and Segmentation 24 / 41

Page 97: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Filters used for crack detection

Gaussian

Smoothing an image

Discrete Gaussian kernel fromGaussian function

Gaussian kernel

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

-4-2

0 2

4-4

-2

0

2

4 0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

Gσ(x, y) = 12πσ2 exp

−(x2+y2)

2σ2

«

G1 =

2

6

4

116

216

116

216

416

216

116

216

116

3

7

5

Tim Niemueller Crack Detection and Segmentation 24 / 41

Page 98: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Filters used for crack detection

Gaussian

Smoothing an image

Discrete Gaussian kernel fromGaussian function

(a) Original (b) Gaussian

Gaussian kernel

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

-4-2

0 2

4-4

-2

0

2

4 0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

Gσ(x, y) = 12πσ2 exp

−(x2+y2)

2σ2

«

G1 =

2

6

4

116

216

116

216

416

216

116

216

116

3

7

5

Tim Niemueller Crack Detection and Segmentation 24 / 41

Page 99: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Filters used for crack detection

Laplacian of Gaussian

Classic method for edge detectionLaplacian of Gaussian kernel

Tim Niemueller Crack Detection and Segmentation 25 / 41

Page 100: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 101: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 applyinglaplacian ⇒ Gaussian as function

Laplacian of Gaussian kernel

-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

-4-2

0 2

4-4

-2

0

2

4-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

Lσ =(x2+y2

−2σ2)

σ4 exp

−(x2+y2)

(2σ2)

«

Tim Niemueller Crack Detection and Segmentation 25 / 41

Page 102: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 applyinglaplacian ⇒ Gaussian as function

LoGwσ (F ) = F ◦ Lw

σ

(F convolved with L)

Laplacian of Gaussian kernel

-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

-4-2

0 2

4-4

-2

0

2

4-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

Lσ =(x2+y2

−2σ2)

σ4 exp

−(x2+y2)

(2σ2)

«

L51 =

2

6

6

6

4

−1 −3 −3 −3 −1−3 0 6 0 −3−3 6 21 6 −3−3 0 6 0 −3−1 −3 −3 −3 −1

3

7

7

7

5

Tim Niemueller Crack Detection and Segmentation 25 / 41

Page 103: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 applyinglaplacian ⇒ Gaussian as function

LoGwσ (F ) = F ◦ Lw

σ

(F convolved with L)

Laplacian of Gaussian kernel

-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

-4-2

0 2

4-4

-2

0

2

4-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

Lσ =(x2+y2

−2σ2)

σ4 exp

−(x2+y2)

(2σ2)

«

L51 =

2

6

6

6

4

−1 −3 −3 −3 −1−3 0 6 0 −3−3 6 21 6 −3−3 0 6 0 −3−1 −3 −3 −3 −1

3

7

7

7

5

Tim Niemueller Crack Detection and Segmentation 25 / 41

Page 104: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction

2 Morphology

3 Linear filters

4 DetectionDetection procedure

5 Evaluation

6 Summary

Tim Niemueller Crack Detection and Segmentation 26 / 41

Page 105: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 106: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Preprocessing

Goal: Enhance contrast between cracksand background

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

Page 107: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Preprocessing

Goal: Enhance contrast between cracksand background

0 Original grayscale image

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

Page 108: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Preprocessing

Goal: Enhance contrast between cracksand background

0 Original grayscale image

1 Median (15 × 15)

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

Page 109: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Preprocessing

Goal: Enhance contrast between cracksand background

0 Original grayscale image

1 Median (15 × 15)

2 Compare foreground (original) andbackground (median) image,take minimum

Preprocessing pipeline

Tim Niemueller Crack Detection and Segmentation 28 / 41

Page 110: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack enhancement

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

Page 111: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack enhancement

1 Closing by ReconstructionFCl = Φ (mini=1,...,18{φBi

(F0)})

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

Page 112: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack enhancement

1 Closing by ReconstructionFCl = Φ (mini=1,...,18{φBi

(F0)})

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

Page 113: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack enhancement

1 Closing by ReconstructionFCl = Φ (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

Page 114: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack enhancement

1 Closing by ReconstructionFCl = Φ (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

Page 115: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack enhancement

1 Closing by ReconstructionFCl = Φ (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 122 (FCl)

Enhancement pipeline

Tim Niemueller Crack Detection and Segmentation 29 / 41

Page 116: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 117: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 118: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack detection and segmentation

Final segmentation of cracks

Alternating MM filters

1 Closing by ReconstructionF1 = Φ (mini=1,...,18{φBi

(Flap)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

Page 119: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack detection and segmentation

Final segmentation of cracks

Alternating MM filters

1 Closing by ReconstructionF1 = Φ (mini=1,...,18{φBi

(Flap)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

Page 120: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack detection and segmentation

Final segmentation of cracks

Alternating MM filters

1 Closing by ReconstructionF1 = Φ (mini=1,...,18{φBi

(Flap)})

2 Opening by ReconstructionF2 = Γ (maxi=1,...,18{γBi

(F1)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

Page 121: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Detection procedure

Crack detection and segmentation

Final segmentation of cracks

Alternating MM filters

1 Closing by ReconstructionF1 = Φ (mini=1,...,18{φBi

(Flap)})

2 Opening by ReconstructionF2 = Γ (maxi=1,...,18{γBi

(F1)})

3 Large closing with double scale

Ffinal =(

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

(F2)})

Segmentation pipeline

Tim Niemueller Crack Detection and Segmentation 30 / 41

Page 122: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction

2 Morphology

3 Linear filters

4 Detection

5 EvaluationEvaluation results from the paperExperimentsEvaluation of the paper

6 Summary

Tim Niemueller Crack Detection and Segmentation 31 / 41

Page 123: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 124: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 below2%

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 125: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 below2%

Probability of detection

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 126: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 below2%

Probability of false positive (crack detected where is none)

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 127: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 below2%

Probability of false negative (crack not detected)

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 128: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation results from the paper

Criteria for parameter selection

Probability of detection

Probability of falsepositive

Probability of falsenegative

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 129: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation results from the paper

Criteria for parameter selection

Probability of detection

Probability of falsepositive

Probability of falsenegative

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 130: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation results from the paper

Criteria for parameter selection

Probability of detection

Probability of falsepositive

Probability of falsenegative

Best parameters in paper:SE length S = 12 pixeland a degree of rotationsD = every 10◦

Tim Niemueller Crack Detection and Segmentation 32 / 41

Page 131: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 132: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 133: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 134: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 135: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 136: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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·corrcompl−compl·corr+corr

(optimal: 1)

Tim Niemueller Crack Detection and Segmentation 33 / 41

Page 137: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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·corrcompl−compl·corr+corr

(optimal: 1)

Parameters for other approaches not mentioned in paper

Tim Niemueller Crack Detection and Segmentation 33 / 41

Page 138: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aclass and at the same time maximize the variancebetween the classes

Tim Niemueller Crack Detection and Segmentation 34 / 41

Page 139: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aclass and at the same time maximize the variancebetween the classes

Canny’s edge detection

Detect edges in the image between crack andbackground

Uses linear filters (Gaussian and Sobel)

Apply Gaussian, then apply a series of gradientfilters to detect edges in different directions

Tim Niemueller Crack Detection and Segmentation 34 / 41

Page 140: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aboutparameters in paper

Tim Niemueller Crack Detection and Segmentation 35 / 41

Page 141: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aboutparameters in paper

Paper approachClass Cracks Background ColorCompleteness 0.95 0.88 0.90Correctness 0.98 0.94 0.91Quality 0.93 0.83 0.83Redundancy 0.00 -0.01 0.00

Tim Niemueller Crack Detection and Segmentation 35 / 41

Page 142: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aboutparameters in paper

Paper approachClass Cracks Background ColorCompleteness 0.95 0.88 0.90Correctness 0.98 0.94 0.91Quality 0.93 0.83 0.83Redundancy 0.00 -0.01 0.00

Otsu’s thresholdingClass Cracks Background ColorCompleteness 0.98 0.61 0.62Correctness 0.37 0.45 0.08Quality 0.37 0.35 0.08Redundancy 0.22 0.23 0.24

Tim Niemueller Crack Detection and Segmentation 35 / 41

Page 143: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aboutparameters in paper

Paper approachClass Cracks Background ColorCompleteness 0.95 0.88 0.90Correctness 0.98 0.94 0.91Quality 0.93 0.83 0.83Redundancy 0.00 -0.01 0.00

Otsu’s thresholdingClass Cracks Background ColorCompleteness 0.98 0.61 0.62Correctness 0.37 0.45 0.08Quality 0.37 0.35 0.08Redundancy 0.22 0.23 0.24

Canny’s edge detectorClass Cracks Background ColorCompleteness 0.92 0.61 0.62Correctness 0.20 0.44 0.07Quality 0.20 0.34 0.07Redundancy 0.15 0.17 0.14

Tim Niemueller Crack Detection and Segmentation 35 / 41

Page 144: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 aboutparameters in paper

Very good evaluation resultsfor proposed method inpaper (not verified)

Paper approachClass Cracks Background ColorCompleteness 0.95 0.88 0.90Correctness 0.98 0.94 0.91Quality 0.93 0.83 0.83Redundancy 0.00 -0.01 0.00

Otsu’s thresholdingClass Cracks Background ColorCompleteness 0.98 0.61 0.62Correctness 0.37 0.45 0.08Quality 0.37 0.35 0.08Redundancy 0.22 0.23 0.24

Canny’s edge detectorClass Cracks Background ColorCompleteness 0.92 0.61 0.62Correctness 0.20 0.44 0.07Quality 0.20 0.34 0.07Redundancy 0.15 0.17 0.14

Tim Niemueller Crack Detection and Segmentation 35 / 41

Page 145: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Experiments

FireVision Crack Detection and Morphology Sandbox

Tim Niemueller Crack Detection and Segmentation 36 / 41

Page 146: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Experiments

FireVision Crack Detection and Morphology Sandbox

Implemented inFireVision RoboCup vision frameworkfrom AllemaniACs RoboCup team

Tim Niemueller Crack Detection and Segmentation 36 / 41

Page 147: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Experiments

FireVision Crack Detection and Morphology Sandbox

Implemented inFireVision RoboCup vision frameworkfrom AllemaniACs RoboCup team

Parameters adapted to sample imagessupplied byInstitut fur medizinische Informatik

Tim Niemueller Crack Detection and Segmentation 36 / 41

Page 148: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Experiments

FireVision Crack Detection and Morphology Sandbox

Implemented inFireVision RoboCup vision frameworkfrom AllemaniACs RoboCup team

Parameters adapted to sample imagessupplied byInstitut fur medizinische Informatik

Revealed several pieces of missinginformation and errors

Tim Niemueller Crack Detection and Segmentation 36 / 41

Page 149: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-likepatterns using mathematical morphology and curvature evaluation.IEEE Transactions on Image Processing, 10(7):1010-1019, July2001.

Basically the template of the discussed paper

Tim Niemueller Crack Detection and Segmentation 37 / 41

Page 150: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-likepatterns using mathematical morphology and curvature evaluation.IEEE Transactions on Image Processing, 10(7):1010-1019, July2001.

Basically the template of the discussed paper

Proposed algorithm the same, just extracts brightest part ofimage

Tim Niemueller Crack Detection and Segmentation 37 / 41

Page 151: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-likepatterns using mathematical morphology and curvature evaluation.IEEE Transactions on Image Processing, 10(7):1010-1019, July2001.

Basically the template of the discussed paper

Proposed algorithm the same, just extracts brightest part ofimage

More evaluation in discussed paper

Tim Niemueller Crack Detection and Segmentation 37 / 41

Page 152: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Evaluation of the paper

Zana and Klein

Frederic Zana and Jean-Claude Klein: Segmentation of vessel-likepatterns using mathematical morphology and curvature evaluation.IEEE Transactions on Image Processing, 10(7):1010-1019, July2001.

Basically the template of the discussed paper

Proposed algorithm the same, just extracts brightest part ofimage

More evaluation in discussed paper

Discussed paper very similar

Tim Niemueller Crack Detection and Segmentation 37 / 41

Page 153: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 154: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 155: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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

Page 156: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 errorrates

Tim Niemueller Crack Detection and Segmentation 38 / 41

Page 157: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 errorrates

+ Many pointers to interesting literature

Tim Niemueller Crack Detection and Segmentation 38 / 41

Page 158: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 errorrates

+ Many pointers to interesting literature

+ Basics easy to reproduce

Tim Niemueller Crack Detection and Segmentation 38 / 41

Page 159: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

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 errorrates

+ Many pointers to interesting literature

+ Basics easy to reproduce

+ Detailed evaluation section

Tim Niemueller Crack Detection and Segmentation 38 / 41

Page 160: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

1 Introduction

2 Morphology

3 Linear filters

4 Detection

5 Evaluation

6 SummaryConclusionEnd of Talk

Tim Niemueller Crack Detection and Segmentation 39 / 41

Page 161: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Conclusion

Paper Resume

Method to detect and segment cracks in underground pipelineimages

Tim Niemueller Crack Detection and Segmentation 40 / 41

Page 162: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Conclusion

Paper Resume

Method to detect and segment cracks in underground pipelineimages

Presented approach uses mathematical morphology andcurvature evaluation and makes use of a priori knowledgeabout crack structures

Tim Niemueller Crack Detection and Segmentation 40 / 41

Page 163: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Conclusion

Paper Resume

Method to detect and segment cracks in underground pipelineimages

Presented approach uses mathematical morphology andcurvature evaluation and makes use of a priori knowledgeabout crack structures

Evaluation has shown that the presented approach has gooddetection rates and low error rates (not verified)

Tim Niemueller Crack Detection and Segmentation 40 / 41

Page 164: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

Conclusion

Paper Resume

Method to detect and segment cracks in underground pipelineimages

Presented approach uses mathematical morphology andcurvature evaluation and makes use of a priori knowledgeabout crack structures

Evaluation has shown that the presented approach has gooddetection rates and low error rates (not verified)

Paper is derived from another paper and very similar

Tim Niemueller Crack Detection and Segmentation 40 / 41

Page 165: Seminar: Medical Image Processing - Tim Niemueller · Introduction Morphology Linear filters Detection Evaluation Summary Motivation Discussed papers Shivprakash Iyer and Sunil K

Introduction Morphology Linear filters Detection Evaluation Summary

End of Talk

Questions?

Information compiled athttp://www.niemueller.de/uni/crackdet/

Tim Niemueller Crack Detection and Segmentation 41 / 41