| drawline - draws line in a binary image |
imo = drawline(img, points) |
| img |
| Intensity image |
| points |
| n rows x 2 columns vector of n 2D (row,col) coordinates: |
[ 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]); xbasc(); imshow(J,2); |
| Ricardo Fabbri <rfabbri@if.sc.usp.br> |
| The latest version of the Scilab Image Processing toolbox can be found at |
| http://siptoolbox.sourceforge.net |
| mogrify (its -draw parameter provides many shapes with antialiasing) |