Professional Documents
Culture Documents
closing-opening and traditional median filter can all effectively define the internal mark as: (1)areas surrounded by larger pixel
suppress pepper and salt noise in the image, preserving the values; (2)the points of region has formed a connected
details of the image features. component; (3)all points of this connected component has the
same gray value. Using watershed algorithm on the smoothed
Definition: using theorem (1)~(2) to define a combination images, and limiting these internal markers only be to local
morphology filter h[ f ( x, y )] : minima, obtaining watershed as an external marker. External
h[ f ( x, y )] = T {OC[ f ( x, y )], CO[ f ( x, y )]} (3) markers segment images into different regions, each region
contains a unique internal mark and partial background.
Where h[ f ( x, y )] denotes the unit impulse response of the
combination morphology filter, L[⋅,⋅] denotes a linear C. Improved watershed segmentation algorithm
transformation operator, this article selects L[⋅,⋅] as: 1 Using nonlinear combination morphology filter for image
○
T {OC[ f ( x, y )], CO[ f ( x, y )]} = a ⋅ OC[ f ( x, y )] + b ⋅ CO[ f ( x, y )] denoising;
and selects a = 310 ; b = 7 10 . 2 Calculate the denoising image histogram to determine the
○
local extreme point as a mark within the region;
In this paper, selecting the combination morphology filter
3 Determine the Euclidean distance of the pixel in ○
○ 2 which
defined in (3) to filter the processing images.
is the nearest adjacent and non-zero, applying the distance
function to calculate the pixel distance;
III. IMPROVED WATERSHED SEGMENTATION ○4 Calculate the external constraints of the whole image,
and mark the external constraints;
A. Watershed algorithm 5 Apply the inside and outside constraints of the results to
○
Watershed algorithm views an image as a topology terrain reconstruct the gradient map, then segment the image.
map, which image gray values f ( x, y ) correspond to terrain
height values. Define N1 , N 2 , " , N R as the coordinates
IV. EXPERIMENTAL RESULTS AND DISCUSSION
collection of local minima in image f ( x, y ) ; C ( N i ) as the
Experiment with rice image, the results shown in figure 1,
coordinates collection of a point, these points are located in the figure 2 and table 1.
local minima N i associated with the catchment
basin. T (n) denotes the collection of coordinate ( s, t ) ,in A. Filtering performance
which f ( s, t ) < n ,namely: Filtering performance and image restoration to be measured
with Mean Square Error (MSE) and Peak Signal to Noise Ratio
{ }
T ( n) = ( s , t ) f ( s , t ) < n ( 4)
(PSNR):
Where T (n) denotes the midpoint of the set of coordinate 1 M −1N −1
B. Mark
The key of based on marking method is to find a set of seeds
associated with the region of the image, the article finds the
local minima as marker associated with the each region from
the low-frequency components of original gradient image, the (a) Original image (b) Noise image(α=0.2)
approach is to seek the histogram of the image which noise has
been removed first, then determine local extreme point as seed
point on the probability of histogram’s gray level. Meanwhile,
2027
Authorized licensed use limited to: Ming Chi University of Technology. Downloaded on July 27,2021 at 15:48:51 UTC from IEEE Xplore. Restrictions apply.
3
Table1. The filtering performance comparison of filtering algorithm Comparing figure 2(b) with figure 2(e), the external markers
segment the image into different regions effectively, each
region contains a unique internal mark and partial
Performance MSE PSNR(dB) background, so each region actually takes the unique
Comparison α=0.05 α=0.1 α=0.2 α=0.05 α=0.1 α=0.2
Opening-Closing 29.6619 42.4907 63.4969 35.1973 32.8900 30.1272
object and background into account. During the
Closing-Opening 29.6037 42.1422 62.1822 38.5718 36.5403 34.8109 watershed segmentation process, the gradient
Median filtering 28.8421 41.7137 60.0318 39.2113 37.9791 35.7619 information effects the segmentation results directly, the
This algorithm 28.4086 41.6226 59.7121 39.5037 38.0843 35.9459 impact of noise of the original image cause many false
Figure 1(b), image with pepper and salt noise, density α=0.2; local minima in the gradient image, resulting in
Figure 1(c), Figure 1(d), Figure 1(e) are opening-closing over-segmentation phenomenon; in this article, calculate the
operation filtering, closing-opening operation filtering and 3*3 gradient of image after composite morphology filtering, then
median filtering results comparison with the algorithm restraint method only processes the watershed which marks
proposed in this article shown in Figure 1(f), respectively. contained specific areas, segmentation algorithm proposed in
Table 1 shows the results of quantitative comparison. From the this article achieves a better performance compared to
results of filtering, the median filter closes to the algorithm traditional watershed algorithm.
proposed in this article, but image appears blurred after median
filtering, mainly due to loss of partial contour information, the V. CONCLUSIONS
loss of edge information is not conductive for image
This algorithm can effectively overcome noise and false
segmentation.
gradient information aroused by other conditions, so avoiding
over-segmentation, locating the boundaries of different regions
B. Segmentation performance of the image accurately, the effect of segmenting image is
Figure 2 shows the comparison of the segmentation better.
algorithm proposed in this article with traditional watershed
segmentation algorithm.
REFERENCES
[1] Vincent L, Soille P, Watersheds in digital spaces: an efficient algorithm
based on immersion simulations. IEEE Transactions on PAMI,
1991,13(6): 583-598.
[2] J.B.KIM,H.J.KIM, A Wavelet-based Watershed Image Segmentation for
VOP Generation. IEEE International Conference on Pattern Recognition
,2002,2(1):505-508.
[3] Hill P.R., Canagarajah C.N., Bull D.R, Image Segmentation Using a
Texture Gradient Based Watershed Transform . IEEE Transactions on
Image Processing, 2003,12(12): 1618-1633.
[4] O’Callaghan R. J., Bull D.R, Combined Morphological Spectral
(a) Watershed Image (b) Watershed segmentation Unsupervised Image Segmentation. IEEE Trans. on Image Processing,
2005,14(1):49-62.
[5] CHIEN Shao-yi, HUANG Yu-wen; CHEN Liang-ge, Predictive
watershed: a fast watershed algorithm for video segmentation . IEEE
2028
Authorized licensed use limited to: Ming Chi University of Technology. Downloaded on July 27,2021 at 15:48:51 UTC from IEEE Xplore. Restrictions apply.
4
2029
Authorized licensed use limited to: Ming Chi University of Technology. Downloaded on July 27,2021 at 15:48:51 UTC from IEEE Xplore. Restrictions apply.