You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have revisited how we handle masking & relabeling to fix #785 . For the moment, I do the relabeling in segment_ROI. In ngio, we'll want to do this in the wrapper class that handles the masking (currently masked_loading_wrapper). The main reason:
Current approach doesn't 100% guarantee consecutive labels. Within the cellpose task, there could be labels that are taken into account for relabeling but are masked away afterwards. That's very unlikely to be an issue, because we set the background to 0 in the input image. But the mock testing ignores the input
The text was updated successfully, but these errors were encountered:
Also, it will be nicer if that's functionality that comes with the IO package, instead of everyone that writes a function that creates labels having to take care of it
I have revisited how we handle masking & relabeling to fix #785 . For the moment, I do the relabeling in
segment_ROI
. In ngio, we'll want to do this in the wrapper class that handles the masking (currentlymasked_loading_wrapper
). The main reason:The text was updated successfully, but these errors were encountered: