OSA's Digital Library

Journal of the Optical Society of America A

Journal of the Optical Society of America A


  • Editor: Franco Gori
  • Vol. 31, Iss. 1 — Jan. 1, 2014
  • pp: 196–205

Defect detection of castings in radiography images using a robust statistical feature

Xinyue Zhao, Zaixing He, and Shuyou Zhang  »View Author Affiliations

JOSA A, Vol. 31, Issue 1, pp. 196-205 (2014)

View Full Text Article

Enhanced HTML    Acrobat PDF (4028 KB)

Browse Journals / Lookup Meetings

Browse by Journal and Year


Lookup Conference Papers

Close Browse Journals / Lookup Meetings

Article Tools



One of the most commonly used optical methods for defect detection is radiographic inspection. Compared with methods that extract defects directly from the radiography image, model-based methods deal with the case of an object with complex structure well. However, detection of small low-contrast defects in nonuniformly illuminated images is still a major challenge for them. In this paper, we present a new method based on the grayscale arranging pairs (GAP) feature to detect casting defects in radiography images automatically. First, a model is built using pixel pairs with a stable intensity relationship based on the GAP feature from previously acquired images. Second, defects can be extracted by comparing the difference of intensity-difference signs between the input image and the model statistically. The robustness of the proposed method to noise and illumination variations has been verified on casting radioscopic images with defects. The experimental results showed that the average computation time of the proposed method in the testing stage is 28 ms per image on a computer with a Pentium Core 2 Duo 3.00 GHz processor. For the comparison, we also evaluated the performance of the proposed method as well as that of the mixture-of-Gaussian-based and crossing line profile methods. The proposed method achieved 2.7% and 2.0% false negative rates in the noise and illumination variation experiments, respectively.

© 2013 Optical Society of America

OCIS Codes
(100.2960) Image processing : Image analysis
(150.1835) Machine vision : Defect understanding

ToC Category:
Machine Vision

Original Manuscript: June 28, 2013
Revised Manuscript: October 25, 2013
Manuscript Accepted: November 27, 2013
Published: December 24, 2013

Xinyue Zhao, Zaixing He, and Shuyou Zhang, "Defect detection of castings in radiography images using a robust statistical feature," J. Opt. Soc. Am. A 31, 196-205 (2014)

Sort:  Author  |  Year  |  Journal  |  Reset  


  1. X. Li, S. K. Tso, X. P. Guan, and Q. Huang, “Improving automatic detection of defects in castings by applying wavelet technique,” IEEE Trans. Ind. Electron. 53, 1927–1934 (2006). [CrossRef]
  2. D. Mery and D. Filbert, “Automated flaw detection in aluminum castings based on the tracking of potential defects in a radioscopic image sequence,” IEEE Trans. Robot. Autom. 18, 890–901 (2002). [CrossRef]
  3. D. Mery, R. da Silva, L. P. Caloba, and J. M. A. Rebello, “Pattern recognition in the automatic inspection of aluminium castings,” Insight 45, 475–483 (2003).
  4. V. Rebuffel, S. Sood, and B. Blakeley, “Defect detection method in digital radiography for porosity in magnesium castings,” in European Conference on Non-destructive Testing (ECNDT), Berlin, 2006.
  5. I. G. Kazantseva, I. Lemahieub, G. I. Salova, and R. Denysc, “Statistical detection of defects in radiographic images in nondestructive testing,” Signal Process. 82, 791–801 (2002). [CrossRef]
  6. Alaknanda, R. S. Anand, and P. Kumar, “Flaw detection in radiographic weld images using morphological approach,” NDT&E International 39, 29–33 (2006). [CrossRef]
  7. J. Shao, D. Dua, B. Chang, and H. Shi, “Automatic weld defect detection based on potential defect tracking in real-time radiographic image sequence,” NDT&E International 46, 14–21 (2012). [CrossRef]
  8. H. F. Ng, “Automatic thresholding for defect detection,” Pattern Recogn. Lett. 27, 1644–1649 (2006). [CrossRef]
  9. J. C. Liu and G. Pok, “Texture edge detection by feature encoding and predictive model,” in Proceedings of the International Conference on Acoustics, Speech, and Signal Processing (1999), pp. 1105–1108.
  10. J. M. Kosanetzky and H. Putzbach, “Modern x-ray inspection in the automotive industry,” in Proceedings of the 14th World Conference of NDT (Ashgate Publishing Company, 1996), Vol. 3, pp. 1325–1328.
  11. V. Kaftandjian, A. Joly, T. Odievre, M. Courbiere, and C. Hantrais, “Automatic detection and characterization of aluminum weld defects: comparison between radiography, radioscopy and human interpretation,” in Proceedings of the Seventh European Conference on Nondestructive Testing (1998), pp. 1179–1186.
  12. D. Mery, T. Jaeger, and D. Filbert, “A review of methods for automated recognition of casting defects,” Insight 44, 428–436 (2002).
  13. G. Wang and T. Liao, “Automatic identification of different types of welding defects in radiographic images,” NDT&E International 35, 519–528 (2002). [CrossRef]
  14. D. H. Shi, T. Gang, S. Y. Yang, and Y. Yuan, “Research on segmentation and distribution features of small defects in precision weldments with complex structure,” NDT&E International 40, 397–404 (2007). [CrossRef]
  15. V. Lashkiam, “Defect detection in x-ray images using fuzzy reasoning,” Image Vis. Comput. 19, 261–269 (2001). [CrossRef]
  16. X. Zhao, Y. Satoh, H. Takauji, S. Kaneko, K. Iwata, and R. Ozaki, “Object detection based on a robust and accurate statistical multi-point-pair model,” Pattern Recogn. 44, 1296–1311 (2011). [CrossRef]
  17. X. Zhao, Y. Satoh, H. Takauji, and S. Kaneko, “Robust tracking using particle filter with a hybrid feature,” IEICE Trans. 95, 646–657 (2012).
  18. D. Mery, “Crossing line profile: a new approach to detecting defects in aluminium castings,” in Proceedings of the Scandinavian Conference on Image Analysis (SCIA) (Springer-Verlag, 2003), pp. 725–732.
  19. Balu toolbox MATLAB, http://dmery.ing.puc.cl/index.php/balu/ .
  20. C. Stauffer and W. E. L. Grimson, “Learning patterns of activity using realtime tracking,” IEEE Trans. Pattern Anal. Mach. Intell. 22, 747–757 (2000). [CrossRef]

Cited By

Alert me when this paper is cited

OSA is able to provide readers links to articles that cite this paper by participating in CrossRef's Cited-By Linking service. CrossRef includes content from more than 3000 publishers and societies. In addition to listing OSA journal articles that cite this paper, citing articles from other participating publishers will also be listed.

« Previous Article  |  Next Article »

OSA is a member of CrossRef.

CrossCheck Deposited