Skip to content

Area / Volume Fraction - Use ROIs from the IJ1 ROI Manager#394

Merged
mdoube merged 10 commits intomasterfrom
389-bvtv-roi
Mar 4, 2026
Merged

Area / Volume Fraction - Use ROIs from the IJ1 ROI Manager#394
mdoube merged 10 commits intomasterfrom
389-bvtv-roi

Conversation

@mdoube
Copy link
Copy Markdown
Member

@mdoube mdoube commented Feb 19, 2026

This adds a usability layer to calculate BV/TV limited to the ROIs on a slice.

@mdoube mdoube linked an issue Feb 19, 2026 that may be closed by this pull request
Very slow performance on hyperstacks (cycling IJ1->IJ2->IJ1)
Don't pop up ROI manager, and give option to load a file
@parameter is sticky on the input and doesn't detect change to type
This stops it from popping up on command execution.
Still need to short-circuit cases when:

- No ROI on a slice and ROIs are being handled (skip slice processing)
- No ROI in ROI Manager - no need to make masks or check them.
Only considering ROIs in the ROI Manager; ROIs drawn but not added
are ignored.
Since we are now enforcing IJ1-style binary image convention (8-bit,
0,255) BitType images are not valid input.

Note also the resultTable has to be 'getted' to be not null.
@mdoube mdoube merged commit d837994 into master Mar 4, 2026
1 check passed
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.

Make Volume Fraction respect ROIs

1 participant