aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-08-31 22:44:34 -0700
committerDanny Lin <danny@kdrag0n.dev>2021-08-31 22:44:34 -0700
commita9975eaa65fcfa60b1c413616dca5294fe4d81e5 (patch)
tree0e8ac51b8180ffb71e1ca4b4750c781c1b766b15
parent346d4f4f63805fd36d7aef861679368c5420ea52 (diff)
cam: Zcam: Fix equation number in comment
-rw-r--r--src/commonMain/kotlin/dev/kdrag0n/colorkt/cam/Zcam.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonMain/kotlin/dev/kdrag0n/colorkt/cam/Zcam.kt b/src/commonMain/kotlin/dev/kdrag0n/colorkt/cam/Zcam.kt
index 5c120ab..e6e8d1a 100644
--- a/src/commonMain/kotlin/dev/kdrag0n/colorkt/cam/Zcam.kt
+++ b/src/commonMain/kotlin/dev/kdrag0n/colorkt/cam/Zcam.kt
@@ -285,7 +285,7 @@ public data class Zcam(
// Intermediate conversion, also used in ViewingConditions
private fun xyzToIzazbz(xyz: CieXyzAbs): DoubleArray {
- // This equation (#9) is wrong in the paper; below is the correct version.
+ // This equation (#4) is wrong in the paper; below is the correct version.
// It can be derived from the inverse model (supplementary paper) or the original Jzazbz paper.
val xp = B*xyz.x - (B-1)*xyz.z
val yp = G*xyz.y - (G-1)*xyz.x