im_dE_fromLab(3)

im_dE_fromLab3

Calculate colour differences

Usage

#include <vips/vips.h>

int im_dE_fromLab(in1, in2, out)
IMAGE *in1, *in2, *out;

int im_dECMC_fromLab(in1, in2, out)
IMAGE *in1, *in2, *out;

int im_dE00_fromLab(in1, in2, out)
IMAGE *in1, *in2, *out;

Overview

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 im_dE_fromXYZ(3), are provided as a convenience to the programmer.

See im_Lab2XYZ(3) for an explanation of the various colour spaces VIPS supports and how to convert between them.

Return value

The functions return 0 on success and -1 on error.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

J.Ph. Laurent - 2/12/1992
J. Cupitt - 21/7/93

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.