DRAWLINE

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
EXAMPLE
AUTHORS
AVAILABILITY
SEE ALSO

NAME

drawline - draws line in a binary image

SYNOPSIS

imo = drawline(img, points)

PARAMETERS

img
Intensity image
points
n rows x 2 columns vector of n 2D (row,col) coordinates:
[ row1 col1; row2 col2; ... ; rowN colN ]

DESCRIPTION

Function drawline is used to draw a digital straight line or polyline into an image.

EXAMPLE

I = zeros(100,100);
J = drawline(I, [1 1; 20 50; 100 100]);
xbasc();
imshow(J,2);

AUTHORS

Ricardo Fabbri <rfabbri@if.sc.usp.br>

AVAILABILITY

The latest version of the Scilab Image Processing toolbox can be found at
http://siptoolbox.sourceforge.net

SEE ALSO

mogrify (its -draw parameter provides many shapes with antialiasing)