distance abstract method

double distance(
  1. T a,
  2. T b
)

Squared distance between two colors. Distance is defined by scientific color spaces and referred to as delta E.

Implementation

double distance(T a, T b);