Skip to content

Highlight occupied depth in en face views - #1004

Open
PaulHax wants to merge 2 commits into
enface-viewingfrom
enface-occupied-depth
Open

PaulHax wants to merge 2 commits into
enface-viewingfrom
enface-occupied-depth

Conversation

@PaulHax

@PaulHax PaulHax commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Highlight columns whose selected segment occupies less than a chosen depth within the En face slab. The calculation counts occupied voxels along the projection axis, excluding gaps and columns without the segment, and uses the image's existing world geometry with VolView's millimeter convention. Thresholds are displayed in micrometers.

The overlay follows the selected segment's color and appearance. Measurement requires complete input, matching mask geometry, usable voxel spacing, and a supported grid. See the measurement implementation.

Depends on En face slab viewing.

@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from f4fac36 to 5b61c6a Compare October 29, 2026 00:53
@PaulHax
PaulHax force-pushed the enface-viewing branch 2 times, most recently from 120d8e2 to 288da3c Compare October 29, 2026 02:27
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from 5b61c6a to ebdbb0c Compare October 29, 2026 02:27
@PaulHax PaulHax changed the title Highlight occupied depth in Enface views Highlight occupied depth in en face views Oct 29, 2026
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from ebdbb0c to 0ddb5c3 Compare October 29, 2026 15:19
@PaulHax
PaulHax marked this pull request as ready for review October 30, 2026 23:29
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from a47ebda to d9bd4e7 Compare October 30, 2026 23:30
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch 2 times, most recently from e35ebae to 9854e46 Compare October 31, 2026 22:41
@PaulHax
PaulHax force-pushed the enface-viewing branch 2 times, most recently from 94f970c to db74f7f Compare November 1, 2026 15:20
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from 9854e46 to 9979c07 Compare November 1, 2026 15:20
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch 2 times, most recently from d2c59b5 to 2da3a23 Compare November 1, 2026 16:46
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from 2da3a23 to 0939102 Compare November 1, 2026 19:20
Assume zero-based image grids like en face slab viewing, so the mask
extent is used directly and the offset-extent tests are gone.

Share the labelmap appearance mapping with the segmentation slice
representation, compare DICOM geometry with vtk areEquals, name the
saved and stored segment field segmentId, and rebuild the thin-region
plane only when the threshold crosses a count boundary.

Move the thickness test helpers next to the other en face helpers and
reuse them across specs.
@PaulHax
PaulHax force-pushed the enface-occupied-depth branch from 0939102 to a823b8d Compare November 1, 2026 23:09

This branch has not been deployed

No deployments
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