-
Notifications
You must be signed in to change notification settings - Fork 352
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
3D segmentation using a set of 2d segmentations #297
Comments
What about using both |
I ran into the same problem some time ago. I made some changes to the stitch3D function to take care of that (though maybe this is not the most elegant way of solving this problem). The first
|
Hi all, |
Hi. What you could do is to run the segmentation on one (or a few) test image stack(s) for various threshold values, and do a quick check with GUI. Also, to make sure no two cells share the same id, you could then separate the pixels belonging to individual cells and check if all cells have its unique id. |
Hi @puisheelee, I am going to try the steps you told me in GUI, Wish me luck :) |
thanks @puisheelee for the help here, do you want to open a pull request with your code so we can incorporate it into cellpose? |
I have a 3d single channel volume that I would like to segment.
If I run 3d version (use_3D=True) then the results are very noise - with complies with the statements in the docs.
However I do not know how to use the workaround (run 2D and stitch). If I run this:
Then I get a single plane.
If I go with converting 3d volume into list:
There is no stitching done :/
What do I miss?
My workaround is to manually run:
cellpose_utils.stitch3D(imagery_subset_cyto2, stitch_threshold=0.1)
However it fails if there are empty slides:
Obviously I can manually go through the slices and run stitch only in the ranges where there are any cells but... :)
Btw. I really love the quality of the segmentation of CellPose - great job!
The text was updated successfully, but these errors were encountered: