Some Basic Morphological Algorithms... Some Basic Morphological Algorithms... Erosion and Dilation❖Erosion ➢ For image: I is a rectangular array of foreground and background... Opening a
Trang 1XỬ LÝ ẢNH TRONG CƠ ĐIỆN
Machine Vision
TRƯỜNG ĐẠI HỌC BÁCH KHOA
Giảng viên: TS Nguyễn Thành Hùn
Đơn vị : Bộ môn Cơ điện tử , Viện Cơ
Hà Nội, 2021
Trang 2Chapter 5 Morphological Image P
1 Preliminaries
2 Erosion and Dilation
3 Opening and Closing
4 Some Basic Morphological Algorithms
Trang 31 Preliminaries
➢ Morphological operations are defined in terms of sets.
➢ In image processing, we use morphology with two types of sets of pixels: ob elements (SE’s).
Trang 41 Preliminaries
❖Reflection
Trang 51 Preliminaries
❖Translation
(a) A binary image containing one object (set), (b) A structuring elemen A (c) Image resulting from a morphological operation.
Trang 6Chapter 5 Morphological Image P
1 Preliminaries
2 Erosion and Dilation
3 Opening and Closing
4 Some Basic Morphological Algorithms
Trang 72 Erosion and Dilation
❖Erosion
➢ For image:
I is a rectangular array of foreground and background
Trang 82 Erosion and Dilation
❖Erosion
Trang 92 Erosion and Dilation
❖Erosion
➢ Example
Us co wi pix Im str ele
Trang 102 Erosion and Dilation
❖Dilation
(a) Image , I background origin) (c) D (d) Elongate element The boundary of
Trang 112 Erosion and Dilation
❖Dilation
➢ Example
(a) Low-resolution text showing broken characters (see magnified view) (b) S (c) Dilation of (a) by (b) Broken segments were joined.
Trang 123 Opening and Closing
❖Erosion vs Dilation
Dilation Erosion
Trang 13Chapter 5 Morphological Image P
1 Preliminaries
2 Erosion and Dilation
3 Opening and Closing
4 Some Basic Morphological Algorithms
Trang 143 Opening and Closing
❖Opening
❖Closing
Trang 153 Opening and Closing
(a) Image , composed of set (object) and background (b) Structuring element, I A B
of while being contained in ( is shown dark for clarity.) (d) Opening of by B A A A
Trang 163 Opening and Closing
Trang 173 Opening and Closing
❖Morphological opening and closing
Trang 183 Opening and Closing
❖Using opening and closing for morphological filtering
(a) Noi (c) Erod erosion opening
Trang 193 Opening and Closing
❖Using opening and closing for morphological filtering
Trang 20Chapter 5 Morphological Image P
1 Preliminaries
2 Erosion and Dilation
3 Opening and Closing
4 Some Basic Morphological Algorithms
Trang 214 Some Basic Morphological Alg
❖Boundary Extraction
Trang 224 Some Basic Morphological Alg
❖Boundary Extraction
Trang 234 Some Basic Morphological Alg
❖Hole Filling
Hole filli containe
of (c) S I the foreg computa hole, set
Eq (9-1
(a) and (h
Trang 244 Some Basic Morphological Alg
❖Hole Filling
Trang 254 Some Basic Morphological Alg
❖Extraction of Connected Components
(a) S cont com
a 1 i com the i
Trang 264 Some Basic Morphological Alg
❖Extraction of Connected Components
(a) bone f image clarity
X-SE of conne
Trang 274 Some Basic Morphological Alg
❖Convex Hull
(a) Structuring elemen convergence with the s (a) (g) Convex hull (h contribution of each st
Trang 284 Some Basic Morphological Alg
❖Convex Hull
(a) con line
Trang 294 Some Basic Morphological Alg
❖Thinning
Trang 304 Some Basic Morphological Alg
❖Thinning
(a) Struct Result of Result of
of thinnin was no ch Result of again (l)
Trang 314 Some Basic Morphological Alg
❖Skeletons
(a) ma par (c) cen
of ske
Trang 324 Some Basic Morphological Alg
❖Skeletons
Trang 334 Some Basic Morphological Alg
❖Skeletons
Imp thr
at t ske fou set col