Open Access Paper
16 August 2017 Research of fiber optical faceplate defects segmentation based on improved watershed algorithm
Bingqian Yang, Mingquan Wang, Junsheng Zhang, Jinkai Gao
Author Affiliations +
Proceedings Volume 10452, 14th Conference on Education and Training in Optics and Photonics: ETOP 2017; 104526H (2017) https://doi.org/10.1117/12.2269951
Event: 14th Conference on Education and Training in Optics and Photonics, ETOP 2017, 2017, Hangzhou, China
Abstract
In this paper, an improved adaptive watershed segmentation method is proposed based on the characteristics of the optical fiber faceplate. Firstly, median filtering and morphological contrast enhancement are performed on the defect images, and then the gradient of the image is obtained by multi-scale morphology. In the improved watershed algorithm, the local minimum is first removed which the depth is lower than H. Then, the local minimum of the depth larger than H as the seed point are extended. Finally, the gradient image is modified by the forced minimum method. The modified gradient image is used to make the watershed Segmentation to get the final segmentation result .The experimental results show that the method can effectively suppress the over-segmentation, and the defects can be extracted well.

1

INTRODUCTION

In the manufacture of fiber optic panels, Process parameters fluctuate slightly or affect by other external factors Regularly arranged optical fibers are pressed against each other, Causing that some local area of the fiber can not transmit light or transmittance greatly reduced, producing defective and scrap products[1]. At present, the Fiber Optical Faceplate of the automatic detection of defects indomestic research is very limited. However, The image segmentation as an important stage, the segmentation results directly affect the results of the detection. So it is very important to make a good segmentation result[2]. At present, there are many techniques of image segmentation, which can be divided into basic segmentation technology and advanced segmentation technology.[3] The basic segmentation technology mainly has the threshold segmentation based on histogram and the edge detection technology based on the differential operator Advanced segmentation techniques are based on the segmentation technique combined with the theory of certain fields(E.g mathematical morphology[4] neural network Statistical pattern recognition [5] and so on). In the field of image segmentation, there is no general segmentation method because of the complexity of the image. In many segmentation methods, The segmentation method based on watershed theory is intuitive[, fast and always produces a complete boundary[6], Having a good response to the weak edge. It provides the possibility to obtain the closed edge of the defect image[7]. Based on the above advantages. we use the improved watershed segmentation algorithm to segment the defect of the optical fiber face plate. Experimental results show that The method of this paper has a good detection effect on the defects of uneven illumination, low contrast and small area. Improve the effect and efficiency of the detection of the optical fiber Faceplate.

2

WATERSHED SEGMENTATION METHOD AND ITS SHORTCOMINGS

Watershed [8] is a classical concept in geomorphology, In the field of image processing, Gray images can be viewed as terrain surface, The gray value of each pixel in the image represents the height of the point, Every local minimum area and its influence called the catchment basin, stabbing a hole in the bottom of each area, Water from the bottom begin to swell, and slowly drowned the entire area of the image when the water from different bottom is converging, build a hypothetical dam to stop it. When the immersion process is over, each area is flooded and completely surrounded by the dam. These built dams is the watershed of the area, that is, the outline of the image. This method is not only fast, shorten the execution time, and the results are more accurate, with high practical value. But the shortcomings of the traditional watershed algorithm is over segmentation, That is, the image is divided into too many small areas, and the target of interest is submerged. In order to eliminate the over segmentation of the watershed algorithm, it can usually be improved from three aspects.(1)Preprocessing filter(2)sign(3)Region merging. In this paper, based on the characteristics of the surface defects of the optical fiber panel, A new algorithm for defect segmentation of optical fiber face plate is presented from the aspects of preprocessing filter and marking.

3

WATERSHED SEGMENTATION ALGORITHM BASED ON ADAPTIVE MARKER

3.1

Image preprocessing

In view of the traditional watershed segmentation algorithm is sensitive to noise, easy to produce over segmentation. Filtering is performed before the watershed segmentation to reduced the impact of pseudo local minimum on the segmentation results. The median filter is a nonlinear signal processing method, which has a certain protective effect on the edge the median filter with a window size of 3 * 3 is used to smooth the image to eliminate the influence of noise while suppressing the number of local pseudo-minimums.

3.2

Contrast enhancement

After median filtering, the image noise can be suppressed, but the edge of the small defect becomes weak. In mathematical morphology, The high-hat[9] transform is defined as the difference between the original image and the open operation. The high-hat transform has some properties of high-pass filtering, emphasizing the gray-scale peak of the object, enhancing the edge information of the image. Its definition is as follows:

00173_PSISDG10452_104526H_page_2_1.jpg

f is a gray image, b is a structural element.

The bottom-hat[10] transform is defined as the difference between the closed operation of the image and the original image. The bottom-hat transform can find the valley in the image and highlight the boundary between the connected objects. Its definition is as follows:

00173_PSISDG10452_104526H_page_3_1.jpg

The combination of high-hat transform and bottom-hat transform can make the image foreground and background gray level be stretched, highlight the relevant targets and details, and play the role of image enhancement. we use difference between high-hat and bottom-hat transform to realize image contrast enhancement. the structural elements selected 4 * 4 size of the circular structure. Its expression is as follows:

00173_PSISDG10452_104526H_page_3_2.jpg

f is a gray image, b is a structural element, ⊕is Morphological dilation operation, Θis morphological erosion operation.

3.3

Multi-scale morphological gradient

The gradient image is usually used as the direct object to deal with the watershed transform, which can well reflect the change of the gray level of the image pixel. We want to extract the edge of the target is often the gradient of the obvious changes in the region. Therefore, the watershed segmentation of the gradient image can be better than the original image segmentation.

The traditional morphological gradient operator is as follows:

00173_PSISDG10452_104526H_page_3_3.jpg

f is a gray image, b is a structural element, ⊕is Morphological dilation operation, Θis morphological erosion operation. The traditional morphological gradient use a single structural element to obtain gradient image. When the selected structural elements are over an hour, the details of the image are protected, but the ability to eliminate noise is weak. When the selection of the structural elements is too large, can remove most of the noise, but also damage the image of the details of the information, and ultimately lead to the defect can not be completely separated out. In view of the above characteristics, the paper uses the multi-scale morphological gradient operator to calculate the gradient of the image. The mathematical expression of the multi-scale gradient operator is as follows[11]:

00173_PSISDG10452_104526H_page_3_4.jpg

N is the scale factor, Structural element Bi is expanded Itimesby B0, Bi=B0 ⊕ B0 ⊕ B0 ⊕… ⊕B0[12]ₒ After many simulation experiments, it is concluded that the circular structure elements with a diameter of 4 are selected in the multi-scale morphological gradient, and the size of the n=2 is suitable for the defect segmentation of the optical fiber Faceplate.

3.4

Adaptive marker extraction

After more than two steps to obtain the gradient image, there are still a lot of pseudo area minimum. Directly to the gradient image watershed segmentation, there will be a serious over segmentation phenomenon. In order to further eliminate the local pseudo-minimum region, the local minimum region only appears in the target region. In this paper, an improved method of adaptive label extraction is propose. First, all the local minimums of the image are compared with H, Mark local minimum with depth less than H as 0 and 1 with depth greater than H, Eliminate the local minimum where the depth is less than H, Next, the remaining local minimum region is expanded as a seed point, And all the points within 8 neighborhoods which are less than H in the seed point are included in the seed region. The local minimum value region generated by this method is used as the mark image, and the gradient image is modified by the method of the minimum imposition. The modified gradient image is divided into watershed segmentation. The selection of threshold H is the key point in this method. If H is chosen too large, the edges of the details of the image become blurred, resulting in defective extraction is incomplete. If H is chosen too small, the pseudo-local minimum can not be well suppressed, and over-segmentation is easy to occur [11]. Aiming at this feature, a large number of simulation experiments were carried out on the defect image of the fiber optic Face plate In this paper, we adopt the adaptive method to select the parameter H. The formula is as follows:

00173_PSISDG10452_104526H_page_4_1.jpg

4

EXPERIMENTAL RESULTS AND ANALYSIS

4.1

Analysis of important parameters of the algorithm

This algorithm mainly involves the choice of two parameters, The Selection of Median Filter Window Size and The Selection of Morphological Structure Elements. In this paper, the effect of the segmentation results of the two parameters is illustrated by the example of the spot defect.

(1) Effect of median filter window size. Median filtering can filter out some noise, but if the window is too large, it is the edge of the defect becomes blurred, some small defects can not be identified. If the window is too small, it can not effectively reduce the influence of the local minimum. Figure 1 shows the effect of different filtering windows on the segmentation results. Fig. 1 (b) can be seen that the filter window is too small can not effectively suppress the local pseudo-minimum value resulting in over-segmentation. From Fig. 1 (d), it can be seen that the middle filter window is too large. Although the noise and pseudo local minimum are suppressed, some of the smaller defects are not segmented. After a large number of experiments, we use 3 * 3 filter operator to filter the spot image.

Fig.1

Influence of Different Size Filter Operators on Segmentation

00173_PSISDG10452_104526H_page_5_1.jpg

(2) Morphological structure elements

First of all, in order to maintain good isotropic should select the circular structure elements. Structural element is too large or too small can not be very good to achieve the final defective element segmentation.Fig. 2 (b) shows the result of segmentation using 2*2 size structural elements. Fig.2 (c) shows the segmentation result of 8*8 structure elements. The background image is clearly misinterpreted as a defect in both images.

Fig.2

The Effect of Different Size Structural Elements on Segmentation

00173_PSISDG10452_104526H_page_5_2.jpg

4.2

Algorithm validity detection

In order to verify the effectiveness of the algorithm, This paper uses the CPU for the Intel Celeron2.60GHz, memory 4GB computer as a hardware platform, Fiber panel spot and chickenwire image were used as test images, In the MATLAB2014a programming environment to achieve the above algorithm. The segmentation process shown in Fig. 3. Fig. 3 (a) is the local minimum position of original image after contrast enhanced we can see that a large number of local minimum appear in the background, Fig. 3 (b) is the traditional watershed segmentation results, we can see a large number of over segmentation phenomenon,Fig. 3(c) is the local minimum marked by this algorithm, we can find that the local minimum local only appeared in the target defect, a large number of local pseudo-minimum is removed, Fig. 3 (d) is the segmentation result of the algorithm in this paper, and the defects are basically segmented.

Fig.3

Comparison the results of the spot segmentation

00173_PSISDG10452_104526H_page_6_1.jpg

Fig.4

Comparison the results of the chickenwire segmentation

00173_PSISDG10452_104526H_page_6_2.jpg

5

SUMMARY

In this paper, an adaptive watershed segmentation method is proposed, which can effectively avoid the problem of over-segmentation of traditional watershed method. The experimental results show that the proposed method is suitable for the segmentation of defect images in fiber optic Faceplate, Which effectively solves the problem of over-segmentation in watershed segmentation and can produce better segmentation results. Can be used in machine vision based optical fiber Faceplate, defect detection system.

REFERENCES

[1] 

Edmund Industrial Optics, Electronic Imaging Resource Guide: report of Edmund Industrial Optics, Edmund Industrial Optics, Barrington (2001). Google Scholar

[2] 

Okanai, F; Sakurai, H, “Characteristics of optical imaging capillary plate gas detector with fiber optic plate[J],” Nuclear Instruments & Methods in Physics Research. Section A, Accelerators, Spectrometers, Detectors and Associated Equipment, 571 (1–2), 289 –293 (2007). Google Scholar

[3] 

Masaru NISHIGUCH, Michisato TOYODA, “Development of a Miniature Double Focusing Mass Spectrograph Using a Focal Plane Detector[J],” Journal of the Mass Spectrometry Society of Japan, 54 (1), 1 –9 (2006). https://doi.org/10.5702/massspec.54.1 Google Scholar

[4] 

V. Grau, A.U.J. Mewes, M. Alcaniz, R. Kikinis, S.K. Warfield, “Improved watershed transform for medical image segmentation using prior information,” IEEE Transactions on Medical Imaging, 23 (4), 447 –458 (2004). https://doi.org/10.1109/TMI.2004.824224 Google Scholar

[5] 

L. Vincent, P. Soille, “Watersheds in digital spaces: anefficient algorithm based on immersion simulations,” IEEETransactions on Pattern Analysis and Machine Intelligence, 13 (6), 583 –59 https://doi.org/10.1109/34.87344 Google Scholar

[6] 

C.W. Chen, J. Luo, K.J. Parker, “Image segmentationvia adaptive K-mean clustering and knowledge basedmorphological operations with biomedical applications,” IEEE Transactions on Image Processing, 7 (12), 1673 –1683 (1998). https://doi.org/10.1109/83.730379 Google Scholar

[7]. 

Indah Soesanti, Adhi Susanto, Thomas Sri Widodo and Maesadji Tjokronagoro, “Optimized Fuzzy Logic Application For MRI Brain Images Segmentation,” International Journal of Computer Science and Information Technology (IJCSIT), 3 (5), 137 –146 (2011). https://doi.org/10.5121/ijcsit Google Scholar

[8] 

Herman van Dyk; Perry Peralta, in International Conference on Woodfiber-Plastic Composites (and other natural fibers); 20050523–25, 435 (2007). Google Scholar

[9] 

Lakshmi, S. and V. Sankaranarayanan, “A Study of edge detection techniques for segmentation computing approaches,” Computer Aided Soft Computing Techniques for Imaging and Biomedical Applications, 35 –41 (2010). Google Scholar

[10] 

Ji, Y, J. Zhang, J. Meng, X. Zhang, “A new CFAR shiptarget detection method in SAR Imagery,” Acta Oceanol. Sin, 29 (1), 12 –16 (2010). https://doi.org/10.1007/s13131-010-0002-6 Google Scholar

[11] 

Longadge, R., S.S. Dongre, L. Malik, “Class Imbalance Problem in Data Mining: Review,” Int. J. Comp. Sci. and Netw, 2 (1), (2013). Google Scholar

[12] 

Brekke, C., A.H.S. Solberg, “Oil spill detection bysatellite remote sensing,” Remote Sensing of Environment, 95 1 –13 (2005). https://doi.org/10.1016/j.rse.2004.11.015 Google Scholar
© (2017) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Bingqian Yang, Mingquan Wang, Junsheng Zhang, and Jinkai Gao "Research of fiber optical faceplate defects segmentation based on improved watershed algorithm", Proc. SPIE 10452, 14th Conference on Education and Training in Optics and Photonics: ETOP 2017, 104526H (16 August 2017); https://doi.org/10.1117/12.2269951
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Image segmentation

Fiber optics

Image processing algorithms and systems

Digital filtering

Image filtering

Optical fibers

Optical filters

Back to Top