The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Lab.perceptualDistance
std
experimental
color
lab
Lab
Returns the perceptual distance between the specifies colors.
struct
Lab
(F = float, alias whitePoint_ = (WhitePoint!F.D50))
@
safe
pure nothrow @
nogc
const
F
perceptualDistance
(
G
)
(
Lab
!
G
c
)
if
(
isFloatingPoint
!
F
)
Meta
Source
See Implementation
std
experimental
color
lab
Lab
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
perceptualDistance
manifest constants
whitePoint
variables
L
a
b
Returns the perceptual distance between the specifies colors.