-
Notifications
You must be signed in to change notification settings - Fork 24
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
Multi-Resolution Volume Tracings #4755
Conversation
Co-authored-by: Daniel <[email protected]>
…ableminds/webknossos into keep-zoom-during-td-button-rotation
Co-authored-by: Philipp Otto <[email protected]>
TODOs frontend:
For the rest, see #4838. |
I just got the following back-end exception:
I opened a hybrid tracing with fallback segmentation and brushed a bit. Not sure yet, what exactly this is causing. Do you have a spontaneous idea, @fm3, or should I investigate? |
I think there may be a mismatch between the zoomstep and the tracing’s resolution list. Also, just to make sure: is the zoomStep’s semantic that it is the index in the (sorted) tracing resolutions list? or should we check zoomStep**2 against maxDim? |
Yes, this seems like a good solution! The error was raised:
Yes, this seems to be the problem. Before this PR, the |
I changed that. I think this was the only volume tracing related spot where this was done as index lookup. Data loading already did it with the power-of-two matching. Good catch! |
Awesome! Works perfectly now :) I think, I also worked out the last kinks which were caused by the new toolbar. |
… (therefore, the dtype tag is removed)
…s into multires-volumes
…4891) * [WIP] enforce task type magnification settings in tasks * pass allowedMagnifications to rpc methods * pass magnifications as query string * respect resolution restrictions for volume tracings. * add option to downsample existing volume tracing * remove outdated assertion, update resolution list after downsampling * sleep 10s * remove sleep and bump dev-proxy-timeout to 5 min * fix task creation with resolution restrictions * use inclusive check * when uploading zips with differing resolution sets, fail * remove unused import * refresh snapshots (tracings contain organization name) * write header.wkw to every mag in volume download, fix anisotropic directory names * add resolution-samenss assertion in volume dnd import. fix flow types * fix restriction passing in initial data * Add button to trigger downsampling of volume annotation. The reload button next to the active-resolution-indicator only appears for explorative annotations with volume data. It opens a modal which explains the action and its consequences. While the operation is running, the modal blocks further usages of webKnossos. After the operation has completed, the complete page is reloaded. * fix parameter passing in duplicate rpc * avoid undefined behavior of bucket iterator by checking hasNext. do not relabel when “merging” only one volume * make tasktype resolution restrictions immutable. sort resolution list * update migration guide * remove debug output * improve initiate-volume-downsampling modal and move its button to the layer settings * show toast when mag-restriction is violated instead of prohibiting the zoom change in the first place * don't allow editing mag-restrictions in already created tasktype * remove some more debug output, unify variable names * forbid creating new nodes or using volume tools when the current mag was forbidden by the task type * clean up * Update MIGRATIONS.unreleased.md Co-authored-by: Philipp Otto <[email protected]> * fix styling of button-link * use ListBuffer instead of HashSet as per pr feedback * integrate some feedback * Apply suggestions from code review Co-authored-by: Daniel <[email protected]> * remove unnecessary SET_TOOL dependence * do map ids if initialLargestSegmentId != 0 Co-authored-by: Philipp Otto <[email protected]> Co-authored-by: Philipp Otto <[email protected]> Co-authored-by: Daniel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's roll 🎡
Introducing Volume Annotations in Multiple Resolutions.
Related design doc in notion (some points may be outdated, see comments here)
Note that a secondary PR #4891 has been merged into this one, overwriting some of the discussions AND steps-to-test here.
URL of deployed dev instance (used for testing):
TODO:
Steps to test:
( Note that a secondary PR #4891 has been merged into this one, overwriting some of the discussions AND steps-to-test here. )
Back-end focussing tests
Front-end focussing tests
Issues:
[ ] Updated documentation if applicable[ ] Adapted wk-connect if datastore API changes