摘要 |
An objective is to detect a line segment or arc accurately using the Hough transform. The Hough transform unit 14 performs contour extraction on brightness image data 102 to generate contour image data 103. Each pixel of the contour image data 103 has a pixel value of 0 to 255. The Hough transform unit 14 performs the Hough transform on points in the contour image data 103. Additional values represented by the pixel values of points in the contour image data 103, i.e. the values of contour intensity, are counted in the Hough table 15. Based on the counts, the detection unit 16 detects a line segment or arc. The Hough transform unit 14 performs contour extraction on the first to third component data 102A to 102C to generate first to third contour data 103A to 103C. Each pixel of the first to third contour data 103A to 103C has a pixel value of 0 to 255. The Hough transform unit 14 performs the Hough transform on points in the first to third contour data 103A to 103C. Additional values represented by the pixel values of points in the first to third contour data 103A to 103C, i.e. the values of contour intensity, are counted in the Hough table 15. The detection unit 16 comprehensively evaluates the counts of the components to detect a line segment or arc. |