Patent ID: 7035466

Claim:
A device for detection of straight line segments of an image, comprising: a storage module configured to store a stream of data representing a plurality of successive lines of pixels of the image; a calculation module configured to: compare data representing first, second, third, and fourth pixels of the image; determine, from the compared data, whether any of the first, second, third, and fourth pixels are contour point pixels of the image; and in a case where there are two contour point pixels among the first, second, third, and fourth pixels, determine whether the two contour point pixels conform to selected parameters, relative to each other; and a sequencer module configured, in a case where the two contour point pixels conform to the selected parameters, to store location coordinates of the one of the two contour point pixels that occurs earlier in the stream of data to a position in the stream of data representing the other of the two contour point pixels.