Skip to content
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

(Cheap) Support for multiple segmentation layers #4555

Closed
philippotto opened this issue Apr 20, 2020 · 0 comments · Fixed by #5683
Closed

(Cheap) Support for multiple segmentation layers #4555

philippotto opened this issue Apr 20, 2020 · 0 comments · Fixed by #5683
Assignees
Labels

Comments

@philippotto
Copy link
Member

It would already be useful to be able to have two segmentation layers in a datasource-properties.json and then have only one rendered in webKnossos.

The different degrees of this feature could be:

  • simply pick first segmentation layer and ignore/drop the other one
  • let the user pick a segmentation layer before the page loads fully (via URL parameter for example)
  • let the user switch between segmentation layers in UI (could simply reload the entire page while setting the URL parameter)
  • let the user switch between the layer without reloading (use reloadBucket functionality?)

Also: A lot of code assumes, that there is only one segmentation layer. That code could stay mostly intact by changing getSegmentationLayer to getActiveSegmentationLayer (the user would choose which seglayer is the active one).

As a very first step for this issue, verify that a segmentation layer does not need to be named "segmentation"

@philippotto philippotto self-assigned this Aug 5, 2021
@philippotto philippotto changed the title Cheap support for multiple segmentation layers (Cheap) Support for multiple segmentation layers Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants