Skip to content

fix(segmentation): resample mismatched labelmap index grids - #945

Open
PaulHax wants to merge 1 commit into
Kitware:mainfrom
PaulHax:segment-import-axis-fix
Open

fix(segmentation): resample mismatched labelmap index grids#945
PaulHax wants to merge 1 commit into
Kitware:mainfrom
PaulHax:segment-import-axis-fix

Conversation

@PaulHax

@PaulHax PaulHax commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Importing a labelmap whose axes are reflected or rotated relative to its parent can skip resampling because both images cover the same physical space. Require matching index extents and transforms before reusing the scalar buffer, with corresponding world-corner checks to bound accumulated transform error. Differing grids use the existing label resampler.

Preserve unordered physical-space grouping and correct its corner enumeration to use each axis's own extent.

Validation: 17 focused tests, including a real-WASM import regression placing a reflected label at parent row 2 instead of row 0; TypeScript and full ESLint checks.

@netlify

netlify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 41c8d58
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6aa37a025f9917000828447f
😎 Deploy Preview https://deploy-preview-945--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant