摘要 |
This invention addresses the problem of detecting line segments or arcs in an accurate manner using Hough transform. A Hough transform unit (14) performs an outline extraction process on brightness image data (102), and generates outline image data (103). Each of the pixels in the outline image data (103) has a pixel value of 0-255. The Hough transform unit (14) performs Hough transformation on each point in the outline image data (103). The pixel values of points in the outline image data (103), i.e., the outline intensity values, are aggregated as a total value in a Hough table (15). A detector (16) detects a line segment or an arc on the basis of the aggregated value. The Hough transform unit (14) also performs an outline extraction process on first through third component data (102A-102C), and generates first through third outline data (103A-103C). Each of the pixels in the first through third outline data (103A-103C) has a value of 0-255. The Hough transform unit (14) performs Hough transformation on each point in the first through third outline data (103A-103C). The pixel values of points in the first through third outline data (103A-103C), i.e., the outline intensity values, are aggregated as a total value in the Hough table (15). The detector (16) performs an overall evaluation on the aggregated value of each component, and detects a line segment or an arc. |