Method

VipsImagedECMC

Declaration [src]

int
vips_dECMC (
  VipsImage* left,
  VipsImage* right,
  VipsImage** out,
  ...
)

Description [src]

Calculate dE CMC. The input images are transformed to CMC colour space and the euclidean distance between corresponding pixels calculated.

To calculate a colour difference with values for (l:c) other than (1:1), transform the two source images to CMC yourself, scale the channels appropriately, and call this function.

See also: vips_colourspace()

This method is not directly available to language bindings.

Parameters

right VipsImage
 

Second input image.

 The data is owned by the caller of the function.
out VipsImage
 

Output image.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
...
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.