Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CIELabModel color.Model = color.ModelFunc(cieLabModel)
View Source
var CIEXYZModel color.Model = color.ModelFunc(cieXYZModel)
View Source
var HSVModel color.Model = color.ModelFunc(hsvModel)
Functions ¶
func DeltaECIE2000 ¶
Get the CIE 2000 ΔE between 2 CIELab colors. A return value < 2.3 indicates a human probably would not notice any difference in the two colors.
func DeltaESqrCIE2000 ¶
func RGBToCIELab ¶
Types ¶
type CIELab ¶
type CIELab struct {
L, A, B float64
}
CIELab represents the CIE L*a*b* colorspace, 2° observer, D65 illuminant. See https://en.wikipedia.org/wiki/CIELAB_color_space#Forward_transformation Apologies for the uppercase member names ;)
Click to show internal directories.
Click to hide internal directories.