Skip to content

Project segments onto en face views - #1021

Open
PaulHax wants to merge 1 commit into
mainfrom
enface-segmentation-projection
Open

PaulHax wants to merge 1 commit into
mainfrom
enface-segmentation-projection

Conversation

@PaulHax

@PaulHax PaulHax commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Project segments onto en face views. A shown segment is drawn wherever it has voxels inside the slab, using the color, fill opacity, and outline set in the segment list. Overlapping segments stay independent, so each keeps its own color. Hiding a segment in the segment list also hides it here.

The rendering pop-up and the Rendering tab share one Segments section that lists every segment. Its rows are laid out like the annotation segment list, and the two lists now share a row component.

  • The eye on each row shows that segment on the en face view. Every segment starts hidden, and the section header has an eye that shows or hides them all.
  • A shown segment gets a "Thinner than" slider and a µm field. Moving the slider below its right end keeps only the regions of that segment, within the slab, that are thinner than the value. At the right end, or with the field cleared, the whole footprint shows. Each segment keeps its own threshold.
  • When thickness cannot be measured, for example without physical spacing, a note explains why and the eyes still work.
  • A segment hidden in the Annotations segment list shows its en face eye off and disabled, and its en face settings return when it is shown again.

The pop-up is now as wide as the sidebar. When a row is too narrow, the slider moves to its own line below the label and value. The slab range is always readable above its slider, and the base image row under Rendering layers reads "En face image" when an en face view is selected.

Saved en face settings store these choices per segment as segmentProjections. Sessions saved with the earlier highlightThin and thresholdMicrons fields load with every segment hidden.

@netlify

netlify Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 2c3b8a6
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6b00b918afe536f0d84250f7
😎 Deploy Preview https://deploy-preview-1021--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.

@PaulHax
PaulHax added this pull request to stack #1023 November 10, 2026 17:12
@PaulHax PaulHax changed the title Project segment footprints onto en face views Project segments onto en face views Nov 15, 2026
@PaulHax
PaulHax force-pushed the enface-segmentation-projection branch 5 times, most recently from c0ef885 to 13a0d65 Compare November 20, 2026 14:34
Draw each shown segment wherever it has voxels inside the slab, using
the color, fill opacity and outline set in the segment list. Overlapping
segments keep their own colors.

A Segments section in the rendering pop-up and the Rendering tab
replaces the single-segment thickness section. It lists every segment in
rows laid out like the annotation segment list, which now shares its row
component. Each row's eye shows the segment on the en face view; every
segment starts hidden, and one hidden in the Annotations segment list
stays hidden here with its en face settings kept. A shown segment gets a
"Thinner than" slider and micrometer field that keep only its regions
thinner than the value; the slider's right end keeps every region.

The pop-up matches the sidebar width, the slab range is readable above
its slider, and the base image layer reads "En face image" in en face
views. Saved en face settings store these choices per segment as
segmentProjections.
@PaulHax
PaulHax force-pushed the enface-segmentation-projection branch from 13a0d65 to 2c3b8a6 Compare November 20, 2026 21:18
@PaulHax
PaulHax marked this pull request as ready for review November 20, 2026 21:18

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