Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Metrics » ColorDistance_CIE76

ColorDistance_CIE76


Header: AVL.h
Namespace: avl
Module: FoundationPro

Compares two pixels using CIE76 delta E. Assumes RGB color space.

Syntax

C++
C#
 
void avl::ColorDistance_CIE76
(
	const avl::Pixel& inPixelA,
	const avl::Pixel& inPixelB,
	float& outDistance
)

Parameters

Name Type Default Description
Input value inPixelA const Pixel&
Input value inPixelB const Pixel&
Output value outDistance float&

Errors

List of possible exceptions:

Error type Description
RuntimeError Each pixel component must be nonnegative in ColorDistance_CIE76.