<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>im_dE_fromLab(3) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <h2><a name='sect0' href='#toc0'>Name</a></h2> im_dE_fromLab, im_dECMC_fromLab, im_dE00_fromLab - calculate colour differences <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> #include <vips/vips.h> <p> int im_dE_fromLab(in1, in2, out) <br> IMAGE *in1, *in2, *out; <p> int im_dECMC_fromLab(in1, in2, out) <br> IMAGE *in1, *in2, *out; <p> int im_dE00_fromLab(in1, in2, out) <br> IMAGE *in1, *in2, *out; <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> Given a pair of images in Lab format, these functions calculate CIE76, CMC(1:1) and CIEDE2000 colour difference images. These are the basic colour difference calculators in VIPS --- other colour difference functions, such as <a href='im_dE_fromXYZ.3.html'><b>im_dE_fromXYZ(3)</a> , </b> are provided as a convenience to the programmer. <p> See <a href='im_Lab2XYZ.3.html'><b>im_Lab2XYZ(3)</b></a> for an explanation of the various colour spaces VIPS supports and how to convert between them. <p> <h2><a name='sect3' href='#toc3'>Return Value</a></h2> The functions return 0 on success and -1 on error. <h2><a name='sect4' href='#toc4'>See Also</a></h2> <a href='im_col_XYZ2rgb.3.html'>im_col_XYZ2rgb(3)</a> , <a href='im_XYZ2rgb.3.html'>im_XYZ2rgb(3)</a> , <a href='im_dE_fromXYZ.3.html'>im_dE_fromXYZ(3)</a> . <h2><a name='sect5' href='#toc5'>Copyright</a></h2> National Gallery, 1990 - 1993 <h2><a name='sect6' href='#toc6'>Author</a></h2> J.Ph. Laurent - 2/12/1992 <br> J. Cupitt - 21/7/93 <p> <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>Return Value</a></li> <li><a name='toc4' href='#sect4'>See Also</a></li> <li><a name='toc5' href='#sect5'>Copyright</a></li> <li><a name='toc6' href='#sect6'>Author</a></li> </ul> </body> </html>