diff --git a/assets/_crowdpass.py b/assets/_crowdpass.py
index 97833ae..a746b25 100644
--- a/assets/_crowdpass.py
+++ b/assets/_crowdpass.py
@@ -55,7 +55,12 @@ PAL = 128 # colours a sheet is quantised to on save
# HEAD, so re-running the tool after installing its own output cannot drift the palettes.
GRADE_REF = '76ea1d0'
-COURTS = [('x_crowd', 'x_crowd2'), ('x_crowd_c', 'x_crowd_c2'), ('x_crowd_h', 'x_crowd_h2')]
+# sheet -> how much its grade TARGET is lifted before the histogram match (a gamma; 1.0 is the old
+# sheet as it was). Centre court's old crowd sat at a mean luminance of 39 against clay's 96 — dark
+# enough that the detail in the new roll was being thrown away, and then dimmed on top of that:
+# Oliver, "it is too dim to see anything on the centre court and the dark court". The night court
+# borrows the hard-court sheet and does its own dimming in `COURTS.dim`, so it is fixed there.
+COURTS = [('x_crowd', 0.72), ('x_crowd_c', 1.0), ('x_crowd_h', 1.0)]
MIN_AREA, MAX_AREA = 150, 3000 # an arm blob: one pair of raised arms, or one arm
ARM_H, ARM_W = (10, 70), (8, 90) # ...and its shape, in px of the 1408x768 sheet
@@ -199,8 +204,11 @@ def main(review):
print(f'{len(rows)} spectators can move, {both} of them with both poses (a real clap)')
stack = np.concatenate(frames, 0)
- for a_name, _ in COURTS:
- lut = grade(A, old_sheet(a_name)) # the LOOK is judged on the seated frame...
+ for a_name, lift in COURTS:
+ ref = old_sheet(a_name)
+ if lift != 1.0:
+ ref = (255 * (ref / 255.0) ** lift).astype(np.uint8)
+ lut = grade(A, ref) # the LOOK is judged on the seated frame...
pa = os.path.join(REFCHECK if review else HERE, a_name + ('_new.png' if review else '.png'))
# ...and applied to the whole stack at once, so the frames cannot drift apart in colour
Image.fromarray(lut(stack)).quantize(colors=PAL, method=Image.MEDIANCUT).save(pa, optimize=True)
diff --git a/assets/x_crowd.png b/assets/x_crowd.png
index f3bddce..4525db7 100644
Binary files a/assets/x_crowd.png and b/assets/x_crowd.png differ
diff --git a/index.html b/index.html
index b299884..741a4c9 100644
--- a/index.html
+++ b/index.html
@@ -661,6 +661,6 @@ if (location.hostname !== 'splatter-tennis.wuwi.one' && !window.Capacitor?.isNat
-
+