摘要 |
PURPOSE:To accurately detect a deformed part such as a projection or defect generated in a lead and a lead terminal, etc. CONSTITUTION:An operator 17 consisting of two wire patterns intersecting orthogonally to each other and of X-shape is used as the operator used when the deformed part such as the defect and the projection at the edge of the lead formed in lengthy shape and that at the terminal part, etc., are detected by pattern recognition. A neighborhood logical operation of reduction or magnification is executed sequentially on each pixel of an original pattern 30 as scanning the original pattern in which the lead is patternized by the operator 17 in a state where the directions of the two wire patterns of the operator 17 can intersect in the longitudinal direction. An output pattern 32 obtained from the final computing result is compared with the original pattern 30, and a deformation pattern 33 and a terminal part pattern 34 can be extracted. |