---
name: "im_dE_fromdisp"
section: "3"
platform: "linux"
package: "libvips-dev"
version: "7.20.7-1+b3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/im_dE_fromdisp"
---

# im\_dE\_fromdisp(3)

derived colour difference functions

## NAME

im\_dE\_fromdisp, im\_dE\_fromXYZ, im\_dECMC\_fromdisp - derived colour difference functions

## SYNOPSIS

\#include \<vips/vips.h\>

im\_dE\_fromdisp( in1, in2, out, display )\
 IMAGE \*in1, \*in2, \*out;\
 struct im\_col\_display \*display;

int im\_dE\_fromXYZ(in, out)\
 IMAGE \*in, \*out;

im\_dECMC\_fromdisp( in1, in2, out, display )\
 IMAGE \*in1, \*in2, \*out;\
 struct im\_col\_display \*display;

## DESCRIPTION

These functions are built on the basic VIPS colour difference measurements as a convenience for the programmer. See [im\_dE\_fromLab(3)](/im_dE_fromLab/3.md) for an explanation of the colour difference metrics and the basic comparision functions.

## RETURN VALUE

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

## SEE ALSO

[im\_col\_XYZ2rgb(3)](/im_col_XYZ2rgb/3.md), [im\_dE\_fromLab(3)](/im_dE_fromLab/3.md), [im\_LabQ2Lab(3)](/im_LabQ2Lab/3.md), [im\_Lab2disp(3)](/im_Lab2disp/3.md).

## COPYRIGHT

National Gallery and Birkbeck College, 1990 - 1993

## AUTHOR

K. Martinez - 2/12/1992\
 J. Cupitt - 21/7/93
