Merged
Conversation
…tions - volview_session.py: Standalone module to create session.volview.zip files with rectangle, ruler, and polygon annotations - Examples for item and folder session generation - Supports DICOM series (uses last source ID for merged volumes)
- Add collection source that groups all URI sources
- Create named dataset ("volume") referencing the collection
- Annotations reference dataset ID instead of guessing source index
- ITK example now supports both items and DICOM folders
- Use imageID (matching VolView schema) instead of imageId - Add "How It Works" section to README explaining data source → collection → dataset pattern - Expand create_sparse_manifest docstring
Labelmaps are now uploaded separately and referenced by URL instead of being embedded in zip files. Session output changed from .volview.zip to .volview.json since all data is URI-referenced.
- Add create_manifest(), add_dataset(), add_annotation(), add_labelmap() - Each function returns new manifest copy (immutable/functional style) - Consistent dataset_id parameter across add_annotation and add_labelmap - Remove create_sparse_manifest() in favor of composable functions - Add composable_example.py demonstrating the builder pattern - Clean up verbose logging (remove bytes size from output)
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.
Add a Python session builder library for programmatically generating VolView sessions with annotations and segment groups. Sessions are output as .volview.json files with URI-referenced data.
Supporting changes:
Depends on Kitware/VolView#827