|
Download README.md from SharpMeow/umbilici: direct link, hf CLI and curl.
- Browser
- Download file 15.3 kB
-
https://huggingface.co/spaces/SharpMeow/umbilici/resolve/main/README.md
- Command line
-
hf download hf://spaces/SharpMeow/umbilici/README.md
-
curl -L -o README.md https://huggingface.co/spaces/SharpMeow/umbilici/resolve/main/README.md
15.3 kB
| title: Umbilici | |
| emoji: 🩻 | |
| colorFrom: blue | |
| colorTo: gray | |
| sdk: static | |
| app_file: index.html | |
| pinned: false | |
| license: apache-2.0 | |
| short_description: Center lines of 35 Herculaneum scans, in live X-ray CT | |
| tags: | |
| - vesuvius-challenge | |
| - herculaneum | |
| - computed-tomography | |
| - umbilicus | |
| - three.js | |
| datasets: | |
| - SharpMeow/vesuvius-center-lines | |
| - SharpMeow/pherc0175a-lasagna | |
| # Umbilici | |
| A carbonized Herculaneum scroll is a sheet of papyrus wound around a center. Its center line, the umbilicus, | |
| is where tracing tools such as VC3D and villa's lasagna start. This page draws every public center line we know | |
| of for the 22 scans on the [Vesuvius Challenge prize page](https://scrollprize.org/prizes) (the 21 First Letters | |
| volumes and PHerc1447, read 23 October 2026) and for 13 other public scans that are not on the prize page (11 | |
| since 1.8.0, PHerc1667 and PHerc0172 since 1.10.0), over X-ray CT that your browser streams from the open data. | |
| Since 1.9.0 it also draws the coverage-polished Center Finder lines (twelve from dataset release v2.4, three more | |
| on 2.4 µm scans from v2.6) as the newest version of each line, with the original kept and drawn faded as | |
| superseded (the dataset's superseded_by). Since 1.10.0 the lines come from center lines v2.6.1: 57 lines on 35 | |
| scans. | |
| - **Array**: every scan's lines side by side, heights to scale in millimeters: the prize scans in the front two rows | |
| (people's lines, then the Center Finder's), the other public scans in the back row. Each maker has its own color | |
| (Vesuvius Challenge cyan, Alexey Drobkov pink, Abd Elilah violet, Iyan Dopico white, Chase Hendrick's Center | |
| Finder amber, its polished lines lime); click a maker in the key to hide its lines, or untick one line on a scan card, and the view link | |
| keeps it (`off=`). Scan names follow a traffic light from the automatic CT end check: green when both Center | |
| Finder ends passed, yellow for caution (a CT recap, an end it could not judge, or a 2.4 µm scan it was never | |
| tuned on), red when an end was flagged. The slider exaggerates side-to-side drift (default 2x). Reset returns it to 2x; an explicit `?ex=` link can select another value. This display setting does not change the published line coordinates. | |
| - **X-ray**: one scan. A radiograph (or maximum intensity) render of the whole scan at about 0.3 mm per voxel | |
| (0.15 to 0.23 mm on a 2.4 µm scan, with fewer heights), | |
| the lines inside it, and an axial slice at 70 to 80 µm per pixel with every line's crossing marked. The slice | |
| follows its height slider live (from the 0.3 mm CT already loaded, then sharpens when the slider rests), can turn | |
| with the 3D view ("turn with view"), and can be hidden and brought back from the bottom right. In X-ray and | |
| Lasagna the scan list steps aside and the menu next to the scan's name on its card opens another scan, so one | |
| panel scrolls at a time (the list, the card, or an open dialog); the page itself never scrolls. | |
| - **Lasagna**: PHerc0175A with villa's lasagna field: its sheet channel (cos) at nine heights, its surface | |
| normals as short needles colored by orientation, and the Center Finder's line through them. | |
| - **Data**: every number on the page as sortable tables (57 lines, 35 scans), with `lines.csv`, `scans.csv`, | |
| `points.csv` and `umbilici.json` downloads. | |
| - **Guide**: six tabs for every level of reader: Start here, VC3D and villa, For researchers (every statistic | |
| defined), Data details (frames, pyramids, encodings), Connect your tool and Credits. | |
| Each scan card has, per line, a download link and a copyable URL for the raw file, its sha256, license, upstream | |
| and every statistic; the scan's OME-Zarr URL and CT pyramid; each line's x, y, z at the slice you are on; a link | |
| that reopens the exact view; and the scan's points as CSV or JSON. | |
| ## Where the lines come from | |
| | Source | Scans | License | | |
| | --- | --- | --- | | |
| | Alexey Drobkov ([herculaneum-umbilici](https://github.com/AlexeyDrobkovStrikesBack/herculaneum-umbilici)) | 10 | MIT | | |
| | Abd Elilah, manual curves ([umbilicus-cross-validation](https://github.com/TAUIL-Abd-Elilah/umbilicus-cross-validation)) | 6 | CC BY 4.0 | | |
| | Iyan Dopico (PHerc1218, as shipped in Drobkov's repository) | 1 | MIT | | |
| | Vesuvius Challenge open data (`representations/umbilicus`) | 7 (4 not on the prize page) | CC BY-NC 4.0 | | |
| | Chase Hendrick's Center Finder (model output) | 18 (9 not on the prize page) | CC BY-NC 4.0 | | |
| | Chase Hendrick's Center Finder, polished (model output) | 15 (6 not on the prize page) | CC BY-NC 4.0 | | |
| Every file, with its hash, upstream link and note, is in | |
| [SharpMeow/vesuvius-center-lines](https://huggingface.co/datasets/SharpMeow/vesuvius-center-lines). Abd Elilah's | |
| PHerc1203 curve is drawn gray and labeled unused: its author withdrew it from recommended use (repository README, 16 Aug 2026). | |
| The 18 Center Finder lines are model output, made for the scans that had no person's line: nine 1.2 m prize | |
| scans, then (dataset release v2.3, 24 Oct 2026) PHerc0343, PHerc0814 and PHerc0841 at 1.2 m and PHerc1299, | |
| PHercMAN5, PHercMANB and PHercParis3 at 2.4 µm, then (v2.6, 25 Oct 2026) PHerc1667 at 2.4 µm and PHerc0172 at | |
| 7.91 µm. No person has checked their ends on CT. An automatic CT end check | |
| compares each end with the scroll center the CT shows there, estimated from the scan alone, with a 4 mm bar. On the | |
| nine prize lines (v2.2, 23 Oct 2026) 14 of the 18 ends pass and 4 are flagged (PHerc0175B high, PHerc0306B low, | |
| PHerc0490B low, PHerc0846A high); five passing ends are marked CT recap: their last 10 mm was replaced by a | |
| straight fit to the CT, so the pass says the CT supports that end. On the seven v2.3 lines all 14 ends pass, 2 after | |
| a CT recap (PHerc0343 low, PHercMANB high); the check was tuned only on 1.2 m scans, so its grades on the four 2.4 µm | |
| scans are marked untested and no end there is called usable. On the two v2.6 lines, PHerc1667's ends both pass | |
| (untested, a 2.4 µm scan) and PHerc0172's are both flagged, so treat its ends with care. The page shows the grade | |
| per line and per end on its card. Model output: no end has been checked on CT by a person. Each line's card says which ends are usable. | |
| The 15 polished lines are the Center Finder's lines moved by | |
| Scrolls `kit axispolish` (rule 1) toward where villa's predicted sheet winds most: twelve on 1.2 m scans (dataset | |
| release v2.4, 24 Oct 2026) and three on 2.4 µm scans, PHerc1299, PHercMAN5 and PHercMANB (v2.6, 25 Oct 2026), where | |
| the polish ran on level 2 and is untested. On all ten scans of a frozen | |
| test the 1.2 m polished lines sat deeper in villa's traced sheet than the line before the polish (winding coverage on villa's model | |
| output, not distance to the true axis; PHerc0343 and PHerc0846A were not in it), and Scrolls kit takes them first. | |
| They are jumpier than the originals and their ends were not re-checked, so the scan's grade stays the original | |
| line's. Each card marks the newest version NEWEST and the older one SUPERSEDED; the older one is drawn gray and labeled unused. | |
| ## Using the lines in VC3D and villa | |
| Each file is JSON with `control_points`, a list of `{x, y, z}` in the level-0 voxels of the scan it names. From | |
| villa's source (`main`, read 23 Oct 2026): | |
| - VC3D ([`volume-cartographer/core/src/Umbilicus.cpp`](https://github.com/ScrollPrize/villa/blob/main/volume-cartographer/core/src/Umbilicus.cpp)) | |
| reads a bare array of points or an object with `points` or `control_points`, each point with x, y and z, and an | |
| optional `metadata` block with `voxelsize_um`, `volume` and the grid `volume_width`, `volume_height`, | |
| `volume_slices` (all three or none). 50 of the 57 files carry that stamp, matching their scan's grid; Abd | |
| Elilah's six and Iyan Dopico's are bare points. VC3D interpolates linearly between points and holds the end | |
| points' x and y beyond them. | |
| - spiral-fitting ([`spiral-fitting/umbilicus.py`](https://github.com/ScrollPrize/villa/blob/main/spiral-fitting/umbilicus.py)) | |
| sorts `control_points` by z, multiplies x, y and z by `coordinate_scale` (or 1/`downsample_factor`), ignores | |
| `metadata` and extrapolates linearly past both ends. A fit on pyramid level L needs a scale of 1/2^L. | |
| - villa's [spiral tutorial](https://scrollprize.org/tutorial_spiral) (last updated 16 Sep 2026): `fit_spiral.py` | |
| reads `umbilicus.json` from its `--dataset` root, beside `lasagna_inputs/*.ome.zarr`; `infer_winding_volume.py` | |
| takes `--umbilicus`; every input must be in the fit's own voxel frame. | |
| Because VC3D holds the ends and spiral-fitting extrapolates them, check a line's usable ends before relying on | |
| it near the top or bottom of a scan. | |
| ## One glowing line per scan | |
| Since 1.14.0 only one line per scan glows: its best line, the one Scrolls `kit centerline get` and AutoPipeline take | |
| by default (`order()` in `kit/centerline.py`). That is a person's or the organizers' line where the scan has one, | |
| ranked the organizers' first and then the makers by name, otherwise the newest Center Finder line; a withdrawn line | |
| counts as an old version. Every other line is drawn gray and thinner, without glow, and gets a role: **alternate**, a | |
| current line the default passes over, or **unused**, an older version (superseded) or a withdrawn line. The role is | |
| on each scan card (BEST, ALTERNATE, UNUSED, best first), in the scan list (the best line's chip first, the others | |
| gray), in the Data tables (`role` per line, `best line` per scan), in the `lines.csv`, `points.csv` and | |
| `umbilici.json` downloads, and in `lines()`, `at()` and `best()` for agents. Best means first in that order, not | |
| checked against the CT: no person has compared the lines on a scan. | |
| ## Ends outside the scroll | |
| Since 1.13.0 each line is drawn from its first to its last point inside the scroll. `tools/build_lines.py` tests | |
| every line's end points against the scan's masked CT at level 5 (32 times down; voxels outside the scroll are zero): | |
| a point lies outside when, in its own axial slice, it sits more than 4 mm outside the scroll's outline (the convex | |
| hull of the nonzero voxels) or the slice holds no scroll at all. At each end the hidden run reaches from the end to | |
| the innermost outside point among the outer quarter of the line's points; the middle half is never hidden. Two | |
| checks make the test able to fail: the line's middle point must be inside and the slice corner farthest from it | |
| outside, or the line is drawn whole and marked untested. Each card says per end how many points are hidden and how | |
| far past the scroll they lie, the Data tables have `low out` and `high out` columns, and the drift statistics | |
| (mean, stray, tilt, wiggle, path, pair gaps) use the inside part. **show ends outside the scroll** at bottom left | |
| (`outside=1` in the view link) draws the hidden runs faded and dotted. Some Center Finder v2 lines run tens of mm | |
| sideways at an end, where their start line was never trimmed to the papyrus; their files are unchanged here, and | |
| the downloads, `lines()` and the copied URLs keep every point. | |
| ## X-ray | |
| CT is not stored on this Space. Each visitor's browser reads coarse levels of the OME-Zarr volumes straight from | |
| the Vesuvius Challenge open-data bucket with HTTP range requests: one axial plane of each 128-voxel chunk at a | |
| time, about 1,000 small reads for a whole-scan render and 25 to 100 for a slice. The radiograph adds up CT along | |
| each ray, like a film X-ray. One scan is the exception: PHerc0172's 7.91 µm scan is stored Blosc-compressed, so a | |
| chunk cannot be read one plane at a time, and the page draws its line without CT (its card says so, and links it | |
| in neuroglancer, which reads compressed chunks). Scans: Vesuvius Challenge open data, CC BY-NC 4.0. | |
| ## Lasagna field | |
| villa's lasagna `predict3d` over the whole PHerc0175A scan (ScrollPrize/villa db3dbea2, model | |
| `scrollprize/lasagna` de45f011), from | |
| [SharpMeow/pherc0175a-lasagna](https://huggingface.co/datasets/SharpMeow/pherc0175a-lasagna). This page ships a | |
| small derivative in `data/lasagna/`, made by `tools/build_lasagna.py`: the cos channel at nine heights | |
| (4x down, resized to 2048 px), an orientation picture per height (hue from the doubled in-plane angle of the | |
| normal, so a normal and its opposite match) and 155,891 normals on a 96 by 96 by 192 voxel grid. It is model | |
| output, shown so people can see what the dataset holds. | |
| ## For agents | |
| The page is driven from the console or a headless browser through `window.umbilici`: | |
| | Call | Returns or does | | |
| | --- | --- | | |
| | `scans()` | every scan: scroll, scan id, volume, voxel size, shape, prize lists, sources, best (the source of its best line), end grade | | |
| | `lines(scroll)` | that scan's lines with control points `[x, y, z]` in level-0 voxels, every point of the file, `role` (`best`, `alternate` or `unused`) and `outside` (points hidden at each end, or null with `outside_why`) | | |
| | `at(scroll, z)` | each line's `[x, y]` at height `z` (linear between control points) and its `role` | | |
| | `best(scroll)` | that scan's best line (the glowing one, the line kit takes by default) with its points, or null | | |
| | `select(scroll, mode)`, `mode('array' or 'scan' or 'lasagna')`, `setZ(z)` | change the view | | |
| | `state()` | mode, scan, height, whether the ends outside the scroll are shown, CT streaming progress | | |
| | `outside(on)` | shows (`true`) or hides (`false`) the line ends that lie outside the scroll in the CT, omitted toggles; returns `{outside}`, also kept in the URL as `outside=1` | | |
| | `image()`, `slice()` | PNG data URLs of the 3D view and the slice | | |
| | `stats(scroll)` | every statistic of each line (points, z range, coverage, steps, points hidden at each end, stray, tilt, wiggle, path, stamp; the drift statistics on the inside part) and the pair gaps | | |
| | `table('lines' or 'scans')`, `csv('lines' or 'scans' or 'points')` | the Data tables as objects or CSV text | | |
| | `guide(tab)`, `data(tab)` | open the guide (`basics`, `vc3d`, `research`, `data`, `credits`) or the Data tables | | |
| | `bench(n)` | renders `n` frames and returns milliseconds per frame and the pixel ratio | | |
| | `show(kind, name, on)` | shows or hides lines: `kind` `'source'` with a maker (`bucket`, `drobkov`, `tauil`, `dopico`, `finder`, `finder-polished`, `finder-v2`) or `'line'` with `SCROLL:SOURCE`; `on` true or false, omitted toggles; returns `{off}`, also kept in the URL as `off=` | | |
| | `settings(obj)` | read or change the viewer settings: `glow` (0 to 3), `radius` (0 to 1), `quality` (`auto`, `high`, `low`), `film`, `spin`, `inset` (the slice panel shown), `turn` (the slice turns with the 3D view) | | |
| URL parameters: `?mode=scan&scan=PHerc0191&z=10400`, `?mode=lasagna&scan=PHerc0175A&z=6400`, `?ex=5`, `?outside=1`, | |
| `?guide=vc3d`, `?data=lines`, `?glow=1.5`. The gear button holds the settings (glow strength and spread, quality, | |
| film grain, spin), saved in the browser. | |
| `data/lines.json` is the line table built at deploy by `tools/build_lines.py` from a copy of the dataset. On load the page reads the dataset's newest revision from huggingface.co and shows it instead, so new releases appear without a redeploy; the built table is the fallback. | |
| ## License | |
| Code: Apache 2.0, Chase Hendrick (`LICENSE`, `NOTICE`); three.js is MIT. Data keeps its own terms (`NOTICE`). | |
| A sibling of [Unroll](https://huggingface.co/spaces/SharpMeow/unroll). A center line is geometry; nothing here | |
| is a reading of any text. | |