"""Real preview regression: background grain must not dominate the display.""" from pathlib import Path import struct,sys,json import numpy as np from PIL import Image path=Path(sys.argv[1] if len(sys.argv)>1 else 'docs/diagnostics/ngc7000-after.bin') data=path.read_bytes();w,h=struct.unpack('