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
Is there a good way to try out different parameters for combining orthoslice predictions into a single volume? I'd like to test a few different things without needing to re-run the whole computation.
Once I have the saved XY, XZ, YZ orthoslice predictions, is there a function entrypoint I can use to jump to the right spot? It doesn't have to be accessible from the GUI, scripting is fine. I had a quick look through the code base but didn't find what I was looking for - can you help point me in the right direction?
The text was updated successfully, but these errors were encountered:
The orthoplane consensus algorithm works on run length encoded segmentations, which makes it very fast but requires conversion from the regular labelmap. Normally the run length encodings are generated on 2D slices immediately after model inference and then discarded when the consensus algorithm finishes (there's no reason I couldn't add an option to save them though).
Before getting started, I recommend upgrading to the newest version of empanada:
pip install --upgrade empanada-napari==0.2.3
Here are two scripts that should work for you assuming you used one of the MitoNet models and stored the results in zarr.
The only parameter to watch out for is the label_divisor. This is the value of "Max objects per class in 3D" from the napari plugin. Probably this was left as default so either 1,000,000 or 100,000 depending on your version (you'll get an error if you guess incorrectly).
A sneaky secret about the consensus algorithm is that it works for as many segmentations as you give it. (E.g. you can mix-and-match segmentations from different models, downsampling factors, confidence thresholds, etc.)
Is there a good way to try out different parameters for combining orthoslice predictions into a single volume? I'd like to test a few different things without needing to re-run the whole computation.
Once I have the saved XY, XZ, YZ orthoslice predictions, is there a function entrypoint I can use to jump to the right spot? It doesn't have to be accessible from the GUI, scripting is fine. I had a quick look through the code base but didn't find what I was looking for - can you help point me in the right direction?
The text was updated successfully, but these errors were encountered: