Skip to content

Create volume annotations #1340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Conversation

brokkoli71
Copy link
Contributor

@brokkoli71 brokkoli71 commented Jul 22, 2025

Description:

  • Volume Annotations can be created and modified

Issues:

Open Questions:

  • is the created volume annotation zip correct?

Todos:

  • How to test uploading volume annotation to wk?
  • Memory Store

Todos Documentation:

  • Updated Changelog
  • Updated Documentation
  • Added / Updated Tests

@brokkoli71 brokkoli71 self-assigned this Aug 9, 2025
f"Unsupported volume layer edit mode: {volume_layer_edit_mode}"
)

def export_to_dataset(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VolumeLayer.export_to_dataset is extracted from Annotation.export_volume_layer_to_dataset

"""Adds a new volume layer to the annotation.
Volume layers can be used to store segmentation data. Using fallback layers
is recommended for better performance in WEBKNOSSOS.
Args:
name: Name of the volume layer.
zip_path: Path to zip storage for volume annotations. Required, for the volume annotation
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do want to be able to add volume layers without zip_path?

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.

Create volume annotations
1 participant