Routines



ClipImage routine


Get a region from an input color image and put it on an output color image object.

required external library: image

void ClipImage( Image in, Image out, Frame dim );


Parameters
in [in] Image variable that handles the color input image
out [out] Image variable that handles the color output/result image
dim [in] the Frame object that contains the dimension of the area.

Return values

The routine does not return anything.

Example code

loadlib image;


Image in,out;
Frame dimension;
main()
{
LoadImage(in,"anger.bmp");
SetFrame(dimension,10,10,50,50);
ClipImage(in,out,dimension);
SaveImage(out,"out.bmp");
}


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