Routines



GetPenGrayLevel routine


Get the gray level attribute of the pen that is associated to a gray image.

required external library: image

unsigned char GetPenGrayLevel ( GrayImage img );


Parameters
img [in] GrayImage variable that handles the gray scale image

Return values

The return value is the gray level of the pen associated with input gray image.

Example code

loadlib image;


GrayImage in;
unsigned char c;
main()
{
LoadGrayImage(in,"anger.bmp");
c=GetPenGrayLevel(in);
}


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