webknossos
webknossos copied to clipboard
[Super Voxel Editing] Merge segments along shortest path
Detailed Description
When editing the super voxel graph, it should be easy to combine two segments (=merge operation). Instead of having to manually create edge between the underlaying graphs, wK should automatically create the best/shortest/easiest? connection between the two graphs when executing this operation.
Ideally, I could imaging this workflow like this:
- Select first segment / select a node of the first segment2.
- Click on the second segment/Right-click on the second segment and select merge from context menu.
- Baaaam, they merge.
Ideally, this workflow does not require to load any of the underlaying super voxel graphs at all. It should be as few clicks as possible and comparable to the existing "Merger Mode".
Context
- [ ] Specific to long-running jobs (set
jobsEnabled=true
inapplication.conf
) - [ ] Specific to webKnossos.org (set
isDemoInstance=true
inapplication.conf
)
wK should automatically create the best/shortest/easiest? connection between the two graphs when executing this operation.
I think, this connection path would always be simply one edge. The user selects two segments a and b for which the representative nodes in the supervoxel graph should be looked up in the background. Then, an edge from a to b would be constructed to merge the segments.
The user selects two segments a and b for which the representative nodes in the supervoxel graph should be looked up in the background.
I think, this will be the crucial aspect. If we have that, the same mechanism should be used for the (min) cut operations.
Thus, the to dos are:
- [x] allow to merge segments without selecting their RAG nodes
- [x] allow to cut segments without selecting their RAG nodes
- [x] allow to min-cut segments without selecting their RAG nodes
Closed by https://github.com/scalableminds/webknossos/pull/6464.