Description: C = CONTOUR_FOLLOWING(BW) takes BW as an input. BW is a binary array
containing the image of an object ( 1 : foreground, 0 : background). It
returns a circular list (N x 2, C(1,:)=C(end,:)) of the
(row,column)-coordinates of the object s contour, in the order of
appearence (This function was inspired from the freeman contour coding
algorithm).
To Search:
File list (Check if you may need any files):
contour_following.m
test1.bmp
test2.bmp
test3.bmp
test4.bmp
test5.bmp
TestScript.m