Professional Documents
Culture Documents
Abstract. We consider the problem of the automatic inspection of industrial metal pieces. The purpose of the work presented in this paper
is to derive a method for defect detection. For the rst time in this context we adapt level set method to distinguish hollow regions in the metal
pieces from the grinded surface. We compare this method with Canny
edge enhancement and with a thresholding method based on histogram
computation. The experiments performed on two industrial images show
that the proposed method retrieves correctly fuzzy contours and is robust
against noise.
Introduction
656
J. Marot et al.
edge detection methods are meant for free-form object segmentation. Among
those are parametric [11,12,13], and geometric [14,15] snakes methods.
The remainder of the paper is organized as follows: section 2 states the problem, section 3 presents the proposed method, section 4 presents the results
obtained by the proposed method and two comparative methods. Section 5 concludes the paper.
Problem Statement
(a)
(b)
(a)
657
(b)
658
J. Marot et al.
Proposed Method
v t
=
+
=
v + t
t
v t
t t
v
(1)
Generalizing this method, we do not only consider the value 0 for function but
a set of values which are called levels. For this application one level only is
enough to retrieve the expected contours, and it is the only required parameter.
We compare the results obtained by level set with the results obtained by
two comparative methods which are on the one hand a canny edge enhancement, on the other hand an adaptive thresholding method [9]. This thresholding
method is based on histogram computation, inspired by the well-known Otsu
method [8]. The main characteristic of adaptive thresholding method is to respect
659
Results
The proposed method and the two comparative methods are applied to the two
Adapterplatte industrial images presented in Fig. 1. Their size is 2000 682
pixels. In the following we provide the parameter values which are employed and
the required computational times. Experiments are performed on a 3.0 GHz PC
running Windows.
4.1
660
J. Marot et al.
200
200
400
400
600
600
800
800
1000
1000
1200
1200
1400
1400
1600
1600
1800
1800
2000
100
200
300
400
500
2000
600
100
200
300
(a)
400
500
600
(b)
Fig. 4. Image Adapterplatte, result obtained with Canny edge enhancement applied
on the two images of Fig. 1
690
620
670
600
640
700
680
710
690
660
680
650
700
720
700
710
720
730
700
740
720
740
760
730
750
750
780
740
800
760
750
820
800
240
260
280
300
320
340
360
380
400
420
220
240
260
(a)
280
300
320
340
360
380
400
275
280
285
290
(b)
295
300
305
310
315
275
(c)
280
285
290
295
300
305
310
315
(d)
Fig. 5. Details of image Adapterplatte, result obtained with Canny edge enhancement:
(a) and (c) Image of Fig. 1(a) without defect (b) and (d) Image of Fig. 1(b) with defect
20
20
40
40
60
60
80
80
100
100
120
120
140
140
160
160
180
180
20
40
60
80
100
(a)
120
140
160
180
20
40
60
80
100
(b)
120
140
160
180
Fig. 6. Detail of image Adapterplatte, result obtained with adaptive threshold : (a)
Image of Fig. 1(a) (b) Image of Fig. 1(b)
250
200
200
150
150
100
60
60
50
50
40
40
30
30
20
20
100
50
50
10
661
50
100
150
200
250
50
100
(a)
150
200
250
10
10
20
(b)
30
40
50
60
10
(c)
20
30
40
50
60
(d)
Fig. 7. Detail of image Adapterplatte, result obtained with level set : (a) and (c):
Image of Fig. 1(a); (b) and (d): Image of Fig. 1(b)
1800
1800
1800
1600
1600
1600
1400
1400
1400
1250
1200
1150
1200
1200
1200
1000
1000
1000
800
800
800
600
600
600
400
400
400
200
200
200
1100
1050
100
200
300
(a)
400
500
600
100
200
300
(b)
400
500
600
1000
950
900
100
200
300
400
500
600
300 310 320 330 340 350 360 370 380 390 400
(c)
(d)
Fig. 8. Detail of image Adapterplatte, result obtained with the proposed method : (a)
Image of Fig. 1(a) (b) Image of Fig. 1(b) (c) Defect detection (d) Zoom on the defect
As the proposed method provides the most valuable results in terms of contour
segmentation, it will be used to detect defects in the considered images. Fig. 8
662
J. Marot et al.
presents the segmentation results obtained with two similar images. Fig. 8(b)
only exhibits two defects. Fig. 8(c) is the dierence between the two segmentation
image results and Fig. 8(d) is a zoom on the detected defects. Figs. 8(c) and (d)
show that the two defects are correctly detected.
Conclusion
Acknowledgements
We gratefully acknowledge the french delegation generale de larmement
(DGA) and centre national de la recherche scientique (CNRS) for their
support.
References
1. Pal, N., Pal, S.: A review on image segmentation techniques. Pattern Recognition 26(9), 12771294 (1993)
2. Ayache, N., Faugeras, O.D.: HYPER: a new approach for the recognition and
positionning of two-dimensionnal objects. IEEE-PAMI 8(1), 4454 (1986)
3. Karoui, I., Fablet, R., Boucher, J.-M., Augustin, J.-M.: Region-based segmentation
using texture statistics and level-set methods. IEEE ICASSP 2(12), 693696 (2006)
4. Kiryati, N., Bruckstein, A.M.: Whats in a set of points? [straight line tting].
IEEE Trans. on Pattern Analysis and Machine Intelligence 14(4), 496500 (1992)
5. Aghajan, H.K., Kailath, T.: Sensor array processing techniques for super resolution
multi-line-tting and straight edge detection. IEEE IP 2(4), 454465 (1993)
6. Marot, J., Bourennane, S.: Subspace-Based and DIRECT Algorithms for Distorted
Circular Contour Estimation. IEEE-IP 16(9), 23692378 (2007)
7. Canny, J.: A computational approch to edge detection. IEEE Trans. Pattern Anal.
Machine Intell. 8, 679714 (1986)
663
8. Otsu, N.: A threshold selection method from gray level histogram. IEEE Trans.
Syst. Man Cybern. 9, 6266 (1979)
9. Kuleschow, A., Spinnler, K.: New Methods for Segmentation of Images Considering
the Human Vision Principles. In: Computer Vision and Graphics ICCVG, Warsaw
Proc, pp. 10371042 (2004)
10. Chi-Ho, C., Pang, G.K.H.: Fabric defect detection by Fourier analysis. IEEE Transactions on Industry Applications 36(5), 12671276 (2000)
11. Kass, M., Witkin, A., Terzopoulos, D.: Snakes: Active Contour Model. Int. J.
Computer Vision, 321331 (1988)
12. Xu, C., Prince, J.L.: Gradient vector ow: a new external force for snakes. In: IEEE
Comp. Soc. Conf. Comp. Vis., Pat. Rec., pp. 6671 (1997)
13. Xianghua, X., Mirmehdi, M.: RAGS: region-aided geometric snake. IEEE Trans.
on IP 13(5), 640652 (2004)
14. Aujol, J.F., Aubert, G., Blanc-Feraud, L.: Wavelet-based level set evolution for
classication of textured images. IEEE Trans. on Image Processing 12(12), 1634
1641 (2003)
15. Mitchell, I.M.: The Flexible, Extensible and Ecient Toolbox of Level Set Methods.
Journal of Scientic Computing (December 2007)