Chap 3 : Binary Image Analysis. Counting Foreground Objects.

42
Chap 3 : Binary Image Chap 3 : Binary Image Analysis Analysis

Transcript of Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Page 1: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Chap 3 : Binary Image Chap 3 : Binary Image AnalysisAnalysis

Page 2: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Counting Foreground Counting Foreground ObjectsObjects

Page 3: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

ExampleExample

Page 4: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Counting Object AlgorithmCounting Object Algorithm

Page 5: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Counting Background Counting Background ObjectsObjects

Page 6: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Connected Component Connected Component LabelingLabeling

Page 7: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

1. 1. Recursive Connected Recursive Connected Components AlgorithmComponents Algorithm

Page 8: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

ExamplExamplee

Page 9: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

2. 2. Classical Connected Classical Connected Components AlgorithmComponents Algorithm

Page 10: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Size FilterSize Filter

• To remove small size noise After connected component labeling, all components below T in size are removed by changing the corresponding pixels to 0.

Page 11: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Pepper & Salt Noise Pepper & Salt Noise ReductionReduction

• Change a pixel from 0 to 1 if all neighborhood pixels of the pixel is 1

• Change a pixel from 1 to 0 if all neighborhood pixels of the pixel is 0

Page 12: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Expanding & ShrinkingExpanding & Shrinking

Page 13: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Example 1Example 1

Page 14: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Example 2Example 2

Page 15: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

MorphologicMorphological Filteral Filter

Page 16: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

ExamplExamplee

Page 17: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Example Example

Page 18: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Closing & OpeningClosing & Opening

Page 19: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Opening ExampleOpening Example

Page 20: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

MorphologicMorphological Filter al Filter Example 1Example 1

Page 21: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Structure Element Structure Element Example 1Example 1

Page 22: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

MorphMorpho-o-logical logical Filter Filter ExamplExample 2e 2

Page 23: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Structure Element Structure Element Example 2Example 2

Page 24: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Conditional DilationConditional Dilation

Page 25: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Conditional Conditional Dilation Dilation ExampleExample

Page 26: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Area & CentroidArea & Centroid

Page 27: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

PerimeterPerimeter

Page 28: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

CircularityCircularity

Page 29: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Second Moment Second Moment

Page 30: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

OrientationOrientation

Page 31: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Bounding BoxBounding Box

Page 32: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

ThresholdingThresholding

Page 33: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

P-Tile MethodP-Tile Method

Page 34: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Mode MethodMode Method

Page 35: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Mode AlgorithmMode Algorithm

Page 36: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Iterative MethodIterative Method

221

T

Page 37: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Adaptive MethodAdaptive Method

Page 38: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Adaptive Method ExampleAdaptive Method Example

Page 39: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Variable Thresholding Variable Thresholding ExampleExample

Page 40: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Double Thresholding Double Thresholding MethodMethod

Page 41: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

Double Double Thresholding Thresholding ExampleExample

Page 42: Chap 3 : Binary Image Analysis. Counting Foreground Objects.

RecursivRecursive e HistograHistogram m ClusterinClusteringg