Figure 13: Experimental results to test the robustness of
the proposed algorithm, the top row, from left to right: The
original image, corrupted images with additive Gaussian
noise of variances 1, 2, 3 respectively, the bottom row,
from left to right: The corresponding results,
superimposed closed contours with the real defects inside
the original images.
3.3 Phase-3: Robustness Test and
Computing Burden
To test the robustness of the proposed algorithm, we
added Gaussian noise to the X-ray images with three
levels of variance and repeated the experiments.
Figure 13 illustrates a sample of such test results, in
which the original image and its corrupted versions
with variances of 1, 2 and 3 are shown from left to
right on the top row, and the results are shown in the
bottom rows. As seen, the proposed algorithm is
able to produce acceptable detection results with a
noisy environment until the variance level is
increased to 3. This result illustrates a high level of
robustness achieved by the proposed algorithm,
although, for the case of noisy environment with
variance of 3, the proposed algorithm failed to
achieve right detection of the closed contours. This
is reasonable due to the fact that, under this
circumstance, it is difficult to see the real defect
even with our naked eyes as shown in the right-most
column. It should also be noted that, during the
entire experiments, no extra de-noise technique has
been applied to the proposed algorithm.
On a PC with Intel Core i7-2600 3.4GHz CPU
and 8GB RAM, the average processing time of our
method in MATLAB implementation is around 0.45
seconds per image. The image resolution is 140*140
pixels.
4 CONCLUSIONS
In this paper, we described a structural model based
approach for closed contour detection, which is
prompted by our recent research on developing
image-based algorithms for casting defect detection.
In comparison with the existing techniques, the
proposed algorithm has the following features: (i)
closed contour detection and extraction is carried out
in terms of structural models rather than individual
pixels; (ii) removal of non-closed contour candidates
is guided via likelihood analysis. Extensive
experiments were carried out to evaluate the
proposed algorithm, and all the results show that the
proposed algorithm is capable of achieving excellent
results for closed contour detections, providing a
robust tool for casting defect detection in practical
applications.
REFERENCES
Wang, S., Kubota, T., Siskind, J. M., & Wang, J. 2005.
Salient closed boundary extraction with ratio
contour. IEEE transactions on pattern analysis and
machine intelligence, 27(4), 546-561.
Kawulok, M. 2010. Energy-based blob analysis for
improving precision of skin segmentation. Multimedia
Tools and Applications, 49(3), 463-481.
Diciotti, S., Lombardo, S., Coppini, G., Grassi, L.,
Falchini, M., & Mascalchi, M. 2010. The LoG
Characteristic Scale: A Consistent Measurement of
Lung Nodule Size in CT Imaging. IEEE transactions
on medical imaging, 29(2), 397-409.
Sappa, A. D., & Vintimilla, B. X. 2007. Cost-based
closed-contour representations. Journal of Electronic
Imaging, 16(2), 023009-023009.
Pavlidis, T. 2012. Algorithms for graphics and image
processing. Springer Science & Business Media.
Ren, M., Yang, J., & Sun, H. 2002. Tracing boundary
contours in a binary image. Image and vision
computing, 20(2), 125-131.
Chang, F., Chen, C. J., & Lu, C. J. 2004. A linear-time
component-labeling algorithm using contour tracing
technique. Computer Vision and Image
Understanding, 93(2), 206-220.
Nabout, A., Su, B., & Eldin, H. 1995. A novel closed
contour extractor, principle and algorithm. In Circuits
and Systems, 1995. ISCAS'95., 1995 IEEE
International Symposium on (Vol. 1, pp. 445-448).
IEEE.
Kass, M., Witkin, A., & Terzopoulos, D. 1988. Snakes:
Active contour models. International journal of
computer vision, 1(4), 321-331.
Xu, C., & Prince, J. L. 1998. Snakes, shapes, and gradient
vector flow. IEEE Transactions on image
processing, 7(3), 359-369.
Elder, J. H., & Zucker, S. W. 1998. Local scale control for
edge detection and blur estimation. IEEE Transactions
on Pattern Analysis and machine intelligence, 20(7),
699-716.
Dehmeshki, J., Amin, H., Valdivieso, M., & Ye, X. 2008.
Segmentation of pulmonary nodules in thoracic CT