-
Notifications
You must be signed in to change notification settings - Fork 1
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
Discussion : Apply transform to a 3D image #6
Comments
Hi Marine. Yes, the initial focus of Lets say you know your target space is a cube of 100um in all dimensions and you want each pixel (voxel) to be 0.5um:
I have recently added a small module to As a disclaimer though: that implementation seems to work reasonably fast with vector fields but I did get the impression that it is really slow with CMTK transforms. I need to look into it some more but my suspicion is that it would be much more efficient to wrap the cmtk command that actually applies a transform instead of the pixel-by-pixel lookup in the current implementation. |
Hi Philipp, i'll let you know about my progresses. Best regards |
Chunk the target space if you need to, although if you're using some chunked source store things will get pretty inefficient as chunks are accessed repeatedly. There's a long-outstanding issue to implement this in dask. You could take a crack at it manually by sending all your source chunk requests through an LRU-cached wrapper, then processing your target chunks in Z-order, which isn't a bad first guess for improving cache locality. If you can parallelise things, probably easiest just to partition the space to prevent access overlaps. A more efficient parallelisation scheme might have a shared cache but then you need to deal with a bunch of synchronisation problems. |
Hello,
I was looking for python libraries to:
I found yours libraries navis and xform and installed them.
However, I understand that this is actually not adapted to my 3D images but to points lists.
Do you have an idea if there are other python libraries I couls use for that, and else, how much work it be to adapt your tools to my task?
I thank you in advance for your reply,
Best regards
The text was updated successfully, but these errors were encountered: