mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-01 00:00:02 -04:00
Implemented to/from CIEXYZ (via sRGB conversio) for completeness.
This commit is contained in:
+2
-2
@@ -103,10 +103,10 @@ Easier to calculate if K' is calculated first, because K' = min(C,M,Y):
|
|||||||
}
|
}
|
||||||
|
|
||||||
public float[] toCIEXYZ(float[] colorvalue) {
|
public float[] toCIEXYZ(float[] colorvalue) {
|
||||||
throw new UnsupportedOperationException("Method toCIEXYZ not implemented"); // TODO: Implement
|
return sRGB.toCIEXYZ(toRGB(colorvalue));
|
||||||
}
|
}
|
||||||
|
|
||||||
public float[] fromCIEXYZ(float[] colorvalue) {
|
public float[] fromCIEXYZ(float[] colorvalue) {
|
||||||
throw new UnsupportedOperationException("Method fromCIEXYZ not implemented"); // TODO: Implement
|
return sRGB.fromCIEXYZ(fromRGB(colorvalue));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user