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
For TILED_SPARSE segmentations with scattered features (e.g., nuclei
annotations spread across a large region), the bounding box encompasses
all frames and can be extremely large. Previously, zoomToSegment would
fit this large bounding box, resulting in a very zoomed-out view.
Now, if the segment's bounding box is larger than 10x the viewport at
the target zoom level, the method zooms to the segment's max zoom level
centered on the bounding box instead of fitting the entire box.
The 10x threshold is intentionally high to avoid affecting normal
segments like tumor regions or lesions that may span several tiles
but should still be shown in full. Only truly scattered segments
(nuclei across an entire slide region) trigger the centered zoom.
0 commit comments