Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 33 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
33
Dung lượng
9,59 MB
Nội dung
TRƯỜNG ĐẠI HỌC BÁCH KHOA XỬ LÝ ẢNH TRONG CƠ ĐIỆN Machine Vision 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 Chapter Morphological Image P Preliminaries Erosion and Dilation Opening and Closing Some Basic Morphological Algorithms Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) 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) Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Preliminaries ❖Reflection Structuring elements and their reflections about the origin (the x’s are don’t care e of an SE about its o the dots denote the origin) Reflection is rotation by 180 Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Preliminaries ❖Translation (a) A binary image containing one object (set), A (b) A structuring elemen (c) Image resulting from a morphological operation Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Chapter Morphological Image P Preliminaries Erosion and Dilation Opening and Closing Some Basic Morphological Algorithms Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Erosion and Dilation ❖Erosion ➢ For image: I is a rectangular array of foreground and background Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Erosion and Dilation ❖Erosion Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Erosion and Dilation ❖Erosion ➢ Example Us co wi pix Im str ele Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Erosion and Dilation ❖Dilation (a) Image I, background origin) (c) D (d) Elongate element The boundary of Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Opening and Closing ❖Using opening and closing for morphological filtering Opening vs Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Chapter Morphological Image P Preliminaries Erosion and Dilation Opening and Closing Some Basic Morphological Algorithms Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Boundary Extraction Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Boundary Extraction (a) A binary image (b) Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Hole Filling Hole filli containe of I (c) S the foreg computa hole, set Eq (9-1 (a) and (h Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Hole Filling (a) Binary image The white dots inside the regions (shown enlarge the starting points for the hole-filling algorithm (b) Result of fillin Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Extraction of Connected Components (a) S cont com a1i com the i Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Extraction of Connected Components (a) Xbone f image clarity SE of conne Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Convex Hull (a) Structuring elemen convergence with the s (a) (g) Convex hull (h contribution of each st Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Convex Hull (a) line sho Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Thinning Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Thinning (a) Struct Result of Result of of thinnin was no ch Result of again (l) Result co Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Skeletons (a) ma par (c) cen of ske Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Skeletons Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Some Basic Morphological Alg ❖Skeletons Imp thr at t ske fou set col Rafael C Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) .. .Chapter Morphological Image P Preliminaries Erosion and Dilation Opening and Closing Some Basic Morphological Algorithms Rafael C Gonzalez, Richard E Woods, “Digital image processing,”... Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Chapter Morphological Image P Preliminaries Erosion and Dilation Opening and Closing Some Basic Morphological Algorithms Rafael... Gonzalez, Richard E Woods, “Digital image processing,” Pearson (2018) Chapter Morphological Image P Preliminaries Erosion and Dilation Opening and Closing Some Basic Morphological Algorithms Rafael