1im_dE_fromLab(3) Library Functions Manual im_dE_fromLab(3)
2
3
4
6 im_dE_fromLab, im_dECMC_fromLab, im_dE00_fromLab - calculate colour
7 differences
8
10 #include <vips/vips.h>
11 #include <vips/colour.h>
12
13 int im_dE_fromLab(in1, in2, out)
14 IMAGE *in1, *in2, *out;
15
16 int im_dECMC_fromLab(in1, in2, out)
17 IMAGE *in1, *in2, *out;
18
19 int im_dE00_fromLab(in1, in2, out)
20 IMAGE *in1, *in2, *out;
21
22
24 Given a pair of images in Lab format, these functions calculate CIE76,
25 CMC(1:1) and CIEDE2000 colour difference images. These are the basic
26 colour difference calculators in VIPS --- other colour difference func‐
27 tions, such as im_dE_fromXYZ(3), are provided as a convenience to the
28 programmer.
29
30 See im_Lab2XYZ(3) for an explanation of the various colour spaces VIPS
31 supports and how to convert between them.
32
33
35 The functions return 0 on success and -1 on error.
36
38 im_col_XYZ2rgb(3), im_XYZ2rgb(3), im_dE_fromXYZ(3).
39
41 National Gallery, 1990 - 1993
42
44 J.Ph. Laurent - 2/12/1992
45 J. Cupitt - 21/7/93
46
47
48
49
50 2 December 1992 im_dE_fromLab(3)