distance

package
v0.0.0-...-9ff1ae5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package distance implements the CMC(l:c) algorithm for finding the distance between two colours

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Distance

func Distance(a, b color.Color) float64

Implements the "Delta E (CMC)" colour distance algorithm. Uses two parameters l and c, typically expressed as CMC(l:c). This, then, implements CMC(2:1).

See http://www.brucelindbloom.com/index.html?Eqn_DeltaE_CMC.html

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL