Implemented to/from CIEXYZ (via sRGB conversio) for completeness.

This commit is contained in:
Harald Kuhr 2009-12-27 16:34:13 +01:00
parent ef09b599f6
commit 261c6f8038

View File

@ -103,10 +103,10 @@ Easier to calculate if K' is calculated first, because K' = min(C,M,Y):
}
public float[] toCIEXYZ(float[] colorvalue) {
throw new UnsupportedOperationException("Method toCIEXYZ not implemented"); // TODO: Implement
return sRGB.toCIEXYZ(toRGB(colorvalue));
}
public float[] fromCIEXYZ(float[] colorvalue) {
throw new UnsupportedOperationException("Method fromCIEXYZ not implemented"); // TODO: Implement
return sRGB.fromCIEXYZ(fromRGB(colorvalue));
}
}