1IM_FALSECOLOUR(3) Library Functions Manual IM_FALSECOLOUR(3)
2
3
4
6 im_falsecolour - colour a mono image
7
9 #include <vips/vips.h>
10
11 int im_falsecolour(in, out)
12 IMAGE *in, *out;
13
14
16 Turns a one-band unsigned char image into a three band unsigned char
17 image. Changes in luminance in the one-band image become changes in
18 hue in the three-band image. You may wish to modulate the luminance of
19 the output image to increase visibility.
20
22 0 on success and -1 on error.
23
25 im_disp2XYZ(3), etc.
26
28 National Gallery
29
31 J. Cupitt
32
33
34
35 30 October 1992 IM_FALSECOLOUR(3)