Skip to content

Commit fa63e61

Browse files
authored
Merge pull request #15 from briend/patch-1
Correct DIM and DARK surround N_c values
2 parents 1b8fb58 + ef321d8 commit fa63e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colorspacious/ciecam02.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
# Dark 0.8 0.525 0.8
2424
CIECAM02Surround = namedtuple("CIECAM02Surround", ["F", "c", "N_c"])
2525
CIECAM02Surround.AVERAGE = CIECAM02Surround(1.0, 0.69, 1.0)
26-
CIECAM02Surround.DIM = CIECAM02Surround(0.9, 0.59, 1.95)
27-
CIECAM02Surround.DARK = CIECAM02Surround(0.8, 0.525, 1.8)
26+
CIECAM02Surround.DIM = CIECAM02Surround(0.9, 0.59, 0.95)
27+
CIECAM02Surround.DARK = CIECAM02Surround(0.8, 0.525, 0.8)
2828

2929
JChQMsH = namedtuple("JChQMsH", ["J", "C", "h", "Q", "M", "s", "H"])
3030

0 commit comments

Comments
 (0)