CH6 Open standards and accessibility · 2026 – now

UDeep: figures that keep more of the data

A draft standard for scientific figures that show values brighter than white on HDR screens.

tools
4 languages
profile
draft v0.3

What I did

I wrote the draft standard with AI coding agents helping. Its tools are in Python, Rust, JavaScript and Julia.

Result

Values above a chosen level appear brighter than white on an HDR screen. The ordinary figure stays as it was. The file states how the data became light, so a figure can be checked, inverted or reproduced.

The Sun in extreme ultraviolet, with a colour bar marking where ordinary white ends

Brighter than white

Values above a declared knee appear brighter than white on an HDR screen. Everything below the knee is untouched.

Two panels of a synthetic CT phantom. Left, the ordinary figure: the bone ring is flat white. Right, a simulation of an HDR screen with everything four times dimmer: the bone ring shows its texture.
Range, on a synthetic CT phantom. The ordinary figure puts 240 HU at white, so the bone above it is flat. The right panel imitates an HDR screen by dimming everything fourfold.
The Sun in extreme ultraviolet, with a colour bar marking where ordinary white ends
An example from the draft, as an ordinary figure. On an HDR screen the brightest loops rise above white. Data: NASA/SDO.

More levels

The file states how large a step in the data one stored level is. It sets that against the data's own uncertainty.

Two panels of the same smooth synthetic field seen through a narrow window of its range. Stored in 8 bits it shows 7 flat bands. Stored in 12 bits it holds 107 levels and looks smooth.
Depth, on synthetic data with no noise. A window 2.6% of the full range is stretched to fill the screen. In 8 bits it holds 7 levels. In 12 bits it holds 107.

What a UDeep file holds

What a gain-map JPEG made by UDeep carries. Each screen uses only as much of the gain map as its own headroom allows.

One contract, four languages

Every implementation is held to the same reference cases in golden.json. Python is the reference. The JavaScript port covers the cases it implements.

Drafts

Versions of the draft standard. Until 11 October 2026 it was the Scientific HDR Figure Profile.
conformance files, each made to pass or break one rule
12
device records so far: an iPhone 16 Pro, a desktop HDR monitor
2
open datasets in the gallery
6

More detail

Why I built it

An ordinary figure holds 256 levels and stops at white, so it throws away much of the measurement behind it. I wanted figures that keep more of that range and say in the file how the data became brightness. I couldn't find a standard for that, so I started one.

Skills

  • Python
  • Rust
  • Julia
  • HDR imaging
  • open standards

Proof