itasc.core.label_store¶
TIFF storage for tracked nucleus label volumes.
Schema: single multipage TIFF — shape (T, Y, X), dtype uint32. Frames that have not yet been tracked are stored as all-zeros.
Functions
|
Read all tracked frames as a (T, Y, X) uint32 array. |
|
Write the entire |
- itasc.core.label_store.write_full_tracked_stack(path, stack)[source]¶
Write the entire
(T, Y, X)tracked stack in one encode.A multipage zlib TIFF cannot be updated in place, so a per-frame writer would decode and re-encode the whole file on every frame (O(T²) over a full-stack save). This encodes once (O(T)). A legacy singleton-Z axis
(T, 1, Y, X)is squeezed to match the documented schema.