-
Notifications
You must be signed in to change notification settings - Fork 22
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
[FEATURE] add channel_axis and z_axis to widget #48
Comments
Yeah I can reproduce this. The cellpose-napari/cellpose_napari/_dock_widget.py Lines 241 to 248 in 6993bee
So if you have a multichannel 3D image (4 dims) then you can make it work by naming one of the axes |
Thanks, |
you don't need to convert it, you need to label it in the napari GUI with a |
Hello,
I was wondering how you are supposed to load a multi-channel image in the plugin.
Problem
gives the error
ERROR tuple index out of range
I conclude from this that the plugin always think that an image with more than 2-dimension is a Z-stack.
What I tried
Napari expects dimensions (T, Z, C, Y, X) and I tried to add more dimensions. This did not help. In fact to display the image as multi-channel you need to split stack.
I converted in Fiji the image to a png/RGB. The image gets dimension (Y,X, C) with 3 channels. Napari displays the image as multi-channel without having to split stack. Cellpose can process the image. This solution is not good as converting yet in another format is not convenient and is something you try to avoid in image processing due to loss of information. If you try to make your image RGB in napari/python it is quite of a mess. You have to add an additional channel , ....
Possible solutions
Specify the channels to use directly without going through the image layer. The plugin should understand different dimensions. In the cellpose GUI this works quite well.
The text was updated successfully, but these errors were encountered: