Draws line in a binary image
imo = drawline(img, points)
[ row1 col1; row2 col2; ... ; rowN colN ]
Function drawline is used to draw a digital straight line or polyline into an image.
I = zeros(100,100); J = drawline(I, [1 1; 20 50; 100 100]); clf; imshow(J,2);
http://siptoolbox.sourceforge.net