You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core): ✨ persist object count for the napari plugin to skip its scan
merge_tile_labels(sequential_labels=True) already computes the exact
object count while renumbering, but discarded it. return_count=True now
surfaces it; write_labels/register_labels persist it as n_objects/
sequential_labels zarr attrs; view_in_napari propagates it into each
Labels layer's metadata via a new _label_hint() helper.
Lets a consumer (napari-dask-ndmeasure) skip a full O(voxels) scan of the
label array to find its id set — the id set is range(1, n_objects+1) by
construction when labels are sequential.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments