Routines



DrawGrayLine routine


Draws a gray line on the input gray image object using the pen gray level defined.

required external library: image

void DrawGrayLine ( GrayImage img, Point p0, Point p1 );


Parameters
img [in] GrayImage variable that handles the gray scale image
p0 [in] the starting point of the line
p1 [in] the ending point of the line

Return values

The routine does not return anything

Example code

loadlib image;


GrayImage in;
Point p0,p1;
main()
{
LoadGrayImage(in,"anger.bmp");
DrawGrayLine(in,p0,p1);
}


Requirements

  • external dynamic link library: image.dll on the server


  • If interested in this project, please fell free to contact the personnel of our group. The project leader is dr.drs. L.J.M. Rothkrantz