-
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
Support for 32bit floating point images #104
Comments
bioformats2raw/raw2ometiff are routinely used with floating point data, so I'd be a little surprised if there is an fundamental issue with that data type.
I would not expect this command to run at all.
bioformats2raw 0.6.1 and raw2ometiff 0.4.1 are the latest versions; I don't know of a specific change that might solve this problem, but it may be worth upgrading to see if that helps. |
You are right, it was indeed a typo in my script, --max-workers should have been --max_workers. However, --max-workers still works for raw2ometiff 0.4.0 and 0.4.1. Here is my test 4D 32bit image that is not being converted by raw2ometiff (0.4.1 & 0.4.0), bioformats2raw can successfully convert it though. The image opens fine on Fiji.
I used the following commands,
The last step of raw2ometiff hangs, but a potentially corrupt OMETIFF file is generated. tiffinfo on the corrupt image shows this,
|
Thanks for the additional details, @snehashis-roy. Unfortunately, I so far haven't been able to reproduce this issue using If you can capture a jstack when you see raw2ometiff get stuck, that may help us to understand what's going wrong. To do that, start the raw2ometiff command as before. In a separate terminal, run:
That prints a list of running Java processes; look for the line with
replacing A few other things to consider:
|
This is the jstack $PID output of stuck raw2ometiff
My java -version gives this,
|
Hello. |
Thanks for the update, @snehashis-roy. Ultimately I think this is down to repeatedly updating the file length as new data is written; we know this can be expensive on network storage, and the final metadata writing step in raw2ometiff doesn't do a great job of minimizing the number of writes to disk. ome/bioformats#3983 documents similar issues. ome/ome-common-java#78 is likely the long-term solution we'll pursue here. |
Hello.
Is it possible to convert 32-bit floating point 3D tif images to pyramid OMETIFF for the purpose of using it in OMERO? It seems that bioformats2raw can convert to zarr in a folder, but raw2ometiff gets stuck.
This is my script for a 3D float32 image (size 528x456x960 (HxWxD))
This is the end of debug file where raw2ometiff gets stuck,
I am happy to share the image and/or the debug output if it helps.
I am using 0.6.0 and 0.4.0
The text was updated successfully, but these errors were encountered: