Routines
|
ToGrayImage routine
Converts the input color image to a new gray scale image. The result is put into the output GrayImage parameter.
required external library: image
Parameters
in |
[in] Image variable that handles the color input image |
out |
[out] GrayImage variable that handles the gray scale result image |
Return values
If the routine succeeds in converting to color image object, the return value is 1.
Otherwise the value is 0.
Example code
- loadlib image;
- Image in;
- GrayImage out;
- main()
- {
- LoadImage(in,"anger.bmp");
- ToGrayImage(in,out);
- }
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