Interface PointProvider
- All Known Implementing Classes:
PointProviderLab
public interface PointProvider
An interface to allow use of different color spaces by quantizers.
-
Method Summary
-
Method Details
-
fromInt
double[] fromInt(int argb) The four components in the color space of an sRGB color. -
toInt
int toInt(double[] point) The ARGB (i.e. hex code) representation of this color. -
distance
double distance(double[] a, double[] b) Squared distance between two colors. Distance is defined by scientific color spaces and referred to as delta E.
-