Routines
|
ToColorImage routine
Converts the input gray scale image to a new color image. The result is put into the output Image parameter.
required external library: image
Parameters
in |
[in] GrayImage variable that handles the gray scale input image |
out |
[out] Image variable that handles the color 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;
- GrayImage in;
- Image out;
- main()
- {
- LoadGrayImage(in,"anger.bmp");
- ToColorImage(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