Three-dimensional visual inspection based on structured light has been more and more widely used because of its high precision, easy to extract the image information, real-time and other characteristics. Structured light image processing is one key task of the entire detection process in structured light visual inspection system. It is difficult to deal with structured light image processing for two reasons. One is that the subject has a wide variety of geometric shapes and textures, and the other is that t...