imgcat icon indicating copy to clipboard operation
imgcat copied to clipboard

Use L*A*B* colourspace for image quantization

Open eddieantonio opened this issue 7 years ago • 0 comments

This may result in perceivably more accurate colour quantization.

The nonlinear relations for L*, a*, and b* are intended to mimic the nonlinear response of the eye. Furthermore, uniform changes of components in the L*a*b* color space aim to correspond to uniform changes in perceived color, so the relative perceptual differences between any two colors in L*a*b* can be approximated by treating each color as a point in a three-dimensional space (with three components: L*, a*, b*) and taking the Euclidean distance between them. [^14] —From Wikipedia

[^14]: Jain, Anil K. (1989). Fundamentals of Digital Image Processing. New Jersey, United States of America: Prentice Hall. pp. 68, 71, 73. ISBN 0-13-336165-9.

eddieantonio avatar Apr 14 '17 16:04 eddieantonio