Merged
Conversation
If a secondary DataSource has a name like foo.segmentation.bar and the primary DataSource is named foo.baz, the secondary DataSource will be loaded as a segment group.
More consistent with Array JS functions.
Moves loadDataSources logic to composable, keeps store mostly state.
✅ Deploy Preview for volview-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Contributor
|
LGTM |
PaulHax
pushed a commit
to PaulHax/VolView
that referenced
this pull request
Apr 24, 2025
Auto Segment Group by name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatic Segment Groups by File Name
When loading files, VolView can automatically convert images to segment groups
if they follow a naming convention. For example, an image with name like
foo.segmentation.barwill be converted to a segment group for a base image named like
foo.baz.The
segmentationextension is defined by theio.segmentGroupExtensionkey, which takes astring. Files
foo.[segmentGroupExtension].barwill be automatilly converted to segment groups for a base image namedfoo.baz. The default is''and will disable the feature.This config.json will define
myFile.seg.nrrdas a segment group for amyFile.niibase file.{ "io": { "segmentGroupExtension": "seg" } }Test dataset
Zip with config-auto-seg.json, 3DUS-Fetus.nrrd, and 3DUS-Fetus.0.segmentation.nrrd
auto-seg-datasets.zip