Surface defect detection is one of the essential steps of quality control. However, it is hard to illuminate defects on curved surface, as the surface properties and geometrical shapes lead to uneven background light distribution on the captured image. In this paper, all the devices used by machine vision including the sample are regarded as part of the whole illuminating scene. Models for each component of the illuminating scene are established separately and Monte Carlo ray tracing is used for generating the image. At last, a specific illuminating scene is designed for illuminating a part of curved cylinder surface. the entire surface is lightened and the non-uniform image caused by background light is greatly improved. The paper analyses how the components of illuminating scene, such as light source placement, surface properties, influence the grayscale distribution on image background and provides method to design illuminating scene for real-time accurate curved surface defect detection.
[1]
J. Arvo.
Stratified Sampling of 2-Manifolds
,
2001
.
[2]
Peter Shirley,et al.
Physically based lighting calculations for computer graphics
,
1991
.
[3]
Robert L. Cook,et al.
A Reflectance Model for Computer Graphics
,
1987,
TOGS.
[4]
Bui Tuong Phong.
Illumination for computer generated pictures
,
1975,
Commun. ACM.
[5]
Wojciech Matusik,et al.
Progressively-Refined Reflectance Functions from Natural Illumination
,
2004
.
[6]
K. Torrance,et al.
Theory for off-specular reflection from roughened surfaces
,
1967
.