Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Canny detects edges of things in an image, returning a black and white version of the image, where white pixels indicate part of an edge. The returned object is still an image (in effect a bitmap, if not a Bitmap).

Hough Lines takes the results from the Canny process and looks for straight sections among the highlighted edges and returns the end points of those straight lines, giving you a set of vector lines to play with.

click to hide/show revision 2
teeny weeny improvement.

Canny detects edges of things in an image, returning a black and white version of the image, where white pixels indicate part of an edge. edge - the contours. The returned object is still an image (in effect a bitmap, if not a Bitmap).

Hough Lines takes the results from the Canny process and looks for straight sections among the highlighted edges and returns the end points of those straight lines, giving you a set of vector lines to play with.