Download presentation
Published byDorthy Weaver Modified over 9 years ago
1
图像处理技术讲座(10) Digital Image Processing (10) 灰度的数学形态学(2) Mathematical morphology in gray scale (2)
顾 力栩 上海交通大学 计算机系 2006.6
2
Lixu Gu @ 2005 copyright reserved
Grayscale Operations Lixu 2005 copyright reserved
3
Lixu Gu @ 2005 copyright reserved
Grayscale Operations Dilated by a 7X7 box Eroded by a 7X7 box Source Lixu 2005 copyright reserved
4
Lixu Gu @ 2005 copyright reserved
Grayscale Operations Opened by a disk 3 Closed by a disk 3 Source Lixu 2005 copyright reserved
5
Lixu Gu @ 2005 copyright reserved
Edge Detection Morphological Edge Detection is based on Binary Dilation, Binary Erosion and Image Subtraction. Morphological Edge Detection Algorithms: Standard: External: Internal: Lixu 2005 copyright reserved
6
Lixu Gu @ 2005 copyright reserved
Edge Detection F K F F K K Lixu 2005 copyright reserved
7
Lixu Gu @ 2005 copyright reserved
Edge Detection Lixu 2005 copyright reserved
8
Lixu Gu @ 2005 copyright reserved
Edge Detection F Lixu 2005 copyright reserved
9
Lixu Gu @ 2005 copyright reserved
Edge Detection F Lixu 2005 copyright reserved
10
Morphological Gradient
Morphological Gradient is calculated by grayscale dilation and grayscale Erosion. It is quite similar to the standard edge detection We also have external and internal gradient Lixu 2005 copyright reserved
11
Morphological Gradient
External Gradient: Internal Gradient: Lixu 2005 copyright reserved
12
Morphological Gradient
EG(F) DG(F) Gradient(F)S Lixu 2005 copyright reserved
13
Morphological Gradient
Standard External Internal Lixu 2005 copyright reserved
14
Morphological Smoothing
Morphological Smoothing is based on the observation that a grayscale opening smoothes a grayscale image from above the brightness surface and the grayscale closing smoothes from below. So we could get both smooth like: Lixu 2005 copyright reserved
15
Morphological Smoothing
OG(F) Source CG(F) Result Lixu 2005 copyright reserved
16
Morphological Smoothing
Lixu 2005 copyright reserved
17
Morphological Smoothing
Morphological Smoothing can also based on the average of gray scale dilation and erosion, which is so called dynamic smooth: Lixu 2005 copyright reserved
18
Morphological Smoothing
EG(F) DG(F) Source Result Lixu 2005 copyright reserved
19
Lixu Gu @ 2005 copyright reserved
Top-hat Transform Top-hat Transform (TT): An efficient segmentation tool for extracting bright (respectively dark) objects from uneven background. White Top-hat Transform (WTT): (ri is the scalar of SE) Black Top-hat Transform (BTT): Lixu 2005 copyright reserved
20
Top-hat Transform tophat + opened = original
tophat: original - opening Lixu 2005 copyright reserved
21
Lixu Gu @ 2005 copyright reserved
Top-hat Transform Lixu 2005 copyright reserved
22
Lixu Gu @ 2005 copyright reserved
Top-hat Transform Lixu 2005 copyright reserved
23
Lixu Gu @ 2005 copyright reserved
Top-hat Transform BTT WTT Lixu 2005 copyright reserved
24
Lixu Gu @ 2005 copyright reserved
Top-hat Transform Inspection of a maximal thermometer capillary Lixu 2005 copyright reserved
25
Lixu Gu @ 2005 copyright reserved
Top-hat Transform BTT WTT Lixu 2005 copyright reserved
26
Application 1 Detecting runways in satellite airport imagery
Source WTT Threshold Detect long feature Final result Reconstruction Lixu 2005 copyright reserved
27
Application 2 Detect Filarial Worms
Source BTT Remove Noises Threshold Skeleton Eliminate short structures Reconstruction Final result Lixu 2005 copyright reserved
28
Lixu Gu @ 2005 copyright reserved
Differential TT Difficulties of TT: Difficult to distinguish ROI for more complicated cases. Difficult to define the sizes of SE. Differential Top-hat Transformation (DTT): employ a series of SE (same shape, different sizes) into TT application to find out the difference between Ti and Ti-1: ( | T |B stands for a threshold operation) Lixu 2005 copyright reserved
29
Lixu Gu @ 2005 copyright reserved
DTT: The Principle How it works: Find a series of TT: Ti Calculate the subtraction between Ti and Ti-1 Threshold the results of 2. by same threshold level. Put them together by OR What’s better: Differentiate the signal slopes in steepness and only pick up the objects with high gradient Sort the objects by sizes. Lixu 2005 copyright reserved
30
DTT: A Model Testing Source testing image and its cross section view
TT result DTT result Lixu 2005 copyright reserved
31
DTT: A Real Image Testing
Lixu 2005 copyright reserved
32
Lixu Gu @ 2005 copyright reserved
Application Character Extraction From Cover Image Lixu 2005 copyright reserved
33
Lixu Gu @ 2005 copyright reserved
Application Lixu 2005 copyright reserved
34
Lixu Gu @ 2005 copyright reserved
Ultimate Erosion Ultimate Erosion (UE) is based on Recursive Erosion operation. “Keep aside each connected components just before it is removed throughout the recursive erosion process”. Lixu 2005 copyright reserved
35
Lixu Gu @ 2005 copyright reserved
Ultimate Erosion Lixu 2005 copyright reserved
36
Lixu Gu @ 2005 copyright reserved
Geodesic Influence Geodesic Influence (GI) is based on Recursive Dilation operation with mask which also called conditional dilation. Reconstruct the seeds by the restriction of the mask, and distribute the pixels on the interface by means of “first come first serve”. Lixu 2005 copyright reserved
37
Lixu Gu @ 2005 copyright reserved
UE and GI UE: split a connected region (have to be convex) gradually and record the iteration number. GI: Reconstruct the split regions and get the segments. Lixu 2005 copyright reserved
38
Lixu Gu @ 2005 copyright reserved
Application Segment connected organs: RE: region shrinking to generate all the candidate seeds GI: region reconstruction to recover separated organs Lixu 2005 copyright reserved
39
Lixu Gu @ 2005 copyright reserved
Discussion Lixu 2005 copyright reserved
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.