class ColorDifference {

	public static double deltaE(float[] lab1, float[] lab2, int type) {
		if (type == CIE76) {
			return de_CIE76(lab1, lab2);
		}
		if (type == CIE94) {
			return de_CIE94(lab1, lab2);
		}
		if (type == CIE2000) {
			return de_CIE2000(lab1, lab2);
		}
		return Double.NaN;
	}

}