Routines
|
ClipGrayImage routine
Get a region from an input gray image and put it on an output gray image object.
required external library: image
Parameters
in |
[in] GrayImage variable that handles the gray scale input image |
out |
[out] GrayImage variable that handles the gray scale 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;
- GrayImage in,out;
- Frame dimension;
- main()
- {
- LoadGrayImage(in,"anger.bmp");
- SetFrame(dimension,10,10,50,50);
- ClipGrayImage(in,out,dimension);
- SaveGrayImage(out,"out.bmp");
- }
Requirements
external dynamic link library: image.dll on the server
|
Last update : November 24, 2003
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