Skip to content

v0.13.0 — Select from ROIs in Spatial omics 3D

Choose a tag to compare

@belkassaby belkassaby released this 13 Nov 21:52
· 218 commits to main since this release
f6928be

Released 2026-10-22.

Added

  • "Select from ROIs" selects inside region volumes in Spatial omics 3D. With classes picked in the Region Editor (a class tree node with its subclasses, or a surface clicked in 3D), the button selects the cells inside those classes' volumes, through every section of the dataset's reference volume, as their reconstructions show them; the panel says which classes it will use. Drawing a region replaces the pick, and the button selects by the lassos again. Needs the regions on the reference volume's stack (as the 3D surfaces do); with classes picked that are not, the panel says it selects by the lassos instead. ISpatialControls.roiSelectionMode() is the one rule the selection runs by and the panel describes it by. ISpatialControls.getPickedRegionClasses$ and IRegionEditorApi.getPickedRegionClasses$ report the pick.

Changed

  • ISpatialControls.selectFromRegions() resolves its count (Promise<number | null>): the classes' outlines are read from their region sources. It resolves null, publishing nothing, when it was superseded while they were read (a newer selection or Clear, another dataset, view or pick), so a slow read never overwrites what the user did since. SpatialSelectionStore.revision() counts the writes it compares.

Fixed

  • "Select from ROIs" in Spatial omics 3D selects by the lassos drawn over the cloud only. It tested every region in the store in screen space, including the structures a tree click had taken from a region source, whose image coordinates mean nothing at canvas pixels.

npm: @jax-data-science/sci-image-visualizer@0.13.0
Full diff: v0.12.1...v0.13.0