ECC registration
cc 0.948–0.988 · ≤ 1.07 px · Lanczos4
01 / The problem
1122 × 1402 px across 147 inches — an 11× enlargement.
Blind outpainting invented lakes and a 400 m bridge. The rebuild puts back the real Diyawanna.
02 / Survey geometry
Bridged 3D OSM proxy (1.32M vertices)
Rendered night plate — sub-pixel agreement on water, bridges & towers
03 / Generative super-resolution
04 / Computer vision & print physics
cc 0.948–0.988 · ≤ 1.07 px · Lanczos4
Frequency-domain σ = 48 low-frequency lock
76.2 DPI ground · 11,201 × 11,887 px
Unsharp mask + anti-banding grain (σ = 2.62)
Inspect the press file — move pointer or touch to magnify
1:1 at 100 DPI press crops
05 / Mechanical pre-press
06 / Why it’s unusual
A reproducible Python/HTML/CSS build where every bridge, shoreline, balcony slab, millimetre margin and contrast ratio is computed and verified before press.
07 / Beyond the hoardings
True vector PDFs + 3600 × 9600 px plates with clamp-band margin checks.
Singapore salon main LED wall, speaker sidebars & lobby guidance screens with sha256 manifest checks.
Deep dive
When Baili selected two SILK social boards (3-horizon-golden and 4b-elevation-night) for 12.25 × 13 ft (147″ × 156″) and 9 × 6 ft (108″ × 72″) roadside hoardings, two physical limits collided: native resolution was 8.99 DPI (an 11× linear enlargement to 100 DPI, where Real-ESRGAN invented wavy balconies and melted mullions), and blind outpainting fabricated fake oceans and 400-metre highway causeways over real Rajagiriya and Kotte land.
The project maintains a 3D WebGL2 town model (drone-scene-bridged.bin, 1,320,831 vertices) around 6.909389° N, 79.902333° E: OpenStreetMap waterbodies, canals, marshes, roads and lifted bridge decks on piers, 10,370 OSM + 19,117 Microsoft building footprints, and the digitised 6-tower SILK massing (T1–T3 at 38–40 storeys, T4–T6 at 22–24 storeys, central podium garden & pool, single curved glazed entrance atrium).
Computing the exact shifted-lens camera projection matrix (eye, R, fx, cx, cy) kept SILK pixel-locked to silk_box_mm and placed every visible bridge span and distant Parliament (3,603 m) before generating both scenes cleanly on the first attempt.
cv2.findTransformECC affine registration warped with cv2.INTER_LANCZOS4 (cc = 0.9484–0.9882, max shift ≤ 1.07 px, scale drift ≤ 0.16%), followed by frequency-domain colour-drift matching (GaussianBlur(sigma=48)), direct-to-ground single-resample compositing at 76.2 DPI (11,201 × 11,887 px and 8,230 × 5,486 px), sky-masked unsharp masking, and print-pitch anti-banding grain.| Metric | 2-golden-147x156 | 3b-night-108x72-split |
|---|---|---|
| Trim size (PDF box) | 3733.8 × 3962.4 mm | 2743.2 × 1828.8 mm |
| Embedded ground raster | 11,201 × 11,887 px (76.2 DPI) | 8,230 × 5,486 px (76.2 DPI) |
| Screen-vs-print drift | 0.41 mm (< 1.5 mm) | 0.85 mm (< 1.5 mm) |
| Wordmark optical error | -0.10 / +0.07 mm | -0.25 / -0.13 mm |
| Headline / Hotline WCAG | 10.60 / 17.37 | 13.60 / 15.64 |
| 1/8-scale hotline strength | 0.98 | 1.00 |
| Sky anti-banding sigma | 2.62 (≥ 1.5) | 2.61 (≥ 1.5) |
| Rasterised images | 0 | 0 |
| Press deliverables | 53.6 MB PDF + 53.8 MB JPG | 19.2 MB PDF + 18.6 MB JPG |
There is no InDesign file, no Illustrator document and no binary artwork to lose or mis-drag. Every board, spread and stage frame is HTML and CSS under version control. Screen proofs and vector press PDFs share one layout by changing a single root value inside @media print.
Before export, the audit walks text nodes with Range.getClientRects() to enforce 48 mm side margins, 32 mm X-stand clamp bands, 86–97% headline column fill, pHYs physical DPI chunks on PNG plates, and true vector glyph streams inside every PDF.
AI-assisted, human-accountable. AI tools contributed significantly to the implementation described here. The specification, the review of every change, the production operation and the accountability are mine.