-
Notifications
You must be signed in to change notification settings - Fork 4
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
Working with multi channel images #52
Comments
Feedback is ❤️ welcome! Thanks for guiding clij development!
Correct, as clij has no concept of channels, it cannot have a command such as "extract channel". The comment above is hinting you towards using a for-loop if you want to process all channels. I'm still looking for the right way of dealing with this because the "extract" channel step must in macro happen before the
If you have any ideas how to make this easier, my rabbit ears are wide open. Have a great weekend and thanks again for the feedback! Cheers, |
What about just not supporting multi-channel images at all? This would be quite radical, but it would also simplify many things. For example in BDV, the image data model is a So, in CLIJ when people do their first operation on an 5D stack, there could be something happening that forces the user to split the image into multiple 4D stacks. Another example is MorpholibJ, which, afiak, also does not work on multi-channel images (ping @dlegland). |
Hi! I agree with @tischi, most of the time it is better to work on channels individuallay. When the information is different, then the processing often is. |
Hehe, that was my first approach. End-users kept asking for "How about multi-channel data and time-lapses?"
Before implementing this, we need to classify operations. For example, cylinder and maximum projections, affine transforms, intensity corrections, drift corrections do make a lot of sense on multi-channel data. Furthermore, I haven't implemented anything yet that makes use of multi-channel information such a pixel classifiers...
I also agree. And most users use |
Just an example, assume that operations A, B and C are applied to multi-channel data of channels 1, 2 and 3. This order of execution
Is potentially a tiny bit faster and but needs three times more memory in the GPU than this order:
Would be cool if the code-generator could generate code accordingly, maybe depending on users preferred speed/memory resource handling. |
This is too deep for me to comment without a little hackathon :-) What would already help a lot is to improve this also for the multiple channels: |
I tried again with the new version and the channel extraction is still elusive to me (all those "copy" commands"). And, in fact, I think it does not work. When I recorded the script, it extracted the third channel (nuclei), but when I ran the script if extracted the first channel.
|
I know. See my comment above:
|
Sorry, for putting so many issues!
It's a lot of fun to use the assistant! Great concept!
I am confused by working on a two channel image. I was using
Extract channel
two times within the workflow, but then I cannot see those steps in the recorded workflow (see below). The funny thing though is that the workflow seems to run correctly, but I don't understand how from reading the code. I assume the channel splitting happens during the// Copy
steps?The text was updated successfully, but these errors were encountered: