摘要 |
PURPOSE:To discriminate the classification and the front/rear face of parts whose area, peripheral length, number of holes, moment, variable density histogram, or the like should be discriminated, by providing an outline tracing circuit, angle and valley point detecting circuit, an angle and valley point labeling circuit, and a side length arrangement circuit. CONSTITUTION:An outline tracing circuit 303 traces the outline of parts in a certain direction and calculates and stores coordinate values of individual outline points and the code indicating the direction from one outline point to the adjacent outline point. These data are inputted to an angle and valley point detecting circuit 304, and points representing angles (projections) and valleys (recesses) are detected, and coordinates of these points are obtained and are labeled by an angle and valley point labeling circuit 305. An overall discriminating circuit 308 compares individual side lengths of parts to be discriminated from a side length arrangement circuit 306 with standard values and allowable values of corresponding side lengths in a memory 307 to collate parts to be discriminated with registered parts, and the classification of registered parts and the front/rear face are dicriminated. Thus, the classification and the front/rear face of parts whose area, peripheral length, number of holes, moment, variable density histogram, or the like should be discriminated are discriminated. |