From 682d6ead78391c01a19e2fa968972611592c30ac Mon Sep 17 00:00:00 2001 From: Jan Gleixner Date: Fri, 20 Nov 2026 15:27:34 +0100 Subject: [PATCH] Labels: values should be non-negative and smaller than 2^53 --- data-model.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data-model.md b/data-model.md index c542df9..deb1e55 100644 --- a/data-model.md +++ b/data-model.md @@ -67,6 +67,8 @@ may have multiple resolution levels (*multiscale images*). % begin spec-labels Labels are two- or three-dimensional integer-valued raster arrays identifying spatial regions. Pixels with the same nonzero value belong to the same instance; zero represents the background. +Values should be non-negative and smaller than 253, so that double-precision +floating-point numbers represent them exactly. Labels may also be multiscale; a nonzero value denotes the same instance at every resolution level. Each pixel of a lower-resolution level SHOULD take the value of one of the full-resolution pixels it covers; small instances may therefore be absent from lower-resolution levels.