Existing annotations are overwritten on interpolation
Closed this issue · 1 comments
bauerdavid commented
[from a bug mentioned in #20 by @jo-mueller]
Describe the bug
When interpolating a given label value, all other label slices are overwritten (if the masks do not overlap, with zeros).
To Reproduce
Steps to reproduce the behavior:
- Create a 3D Labels layer
- Create some mask with
1
values (use multiple slices, you can use the Interpolation widget) - Annotate two distinct slices with
2
labels. The slice interval between the annotations should overlap with that of the1
labels. - Click the
Interpolate
button - See the results
Expected behavior
If the interpolated labels in the slices do not overlap with existing masks, then leave them alone. Otherwise overwrite them with the new label value.
Additional context
I'm not sure, but maybe the user could select, whether the interpolated slices should overwrite existing labels.
bauerdavid commented
resolved in de5ad19