-
Notifications
You must be signed in to change notification settings - Fork 21
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
Python image file formats #462
base: master
Are you sure you want to change the base?
Conversation
…ng-resources into python_image_file_formats
@grinic @manerotoni @tibuch @sebgoti @bugraoezdemir @k-dominik My current take on this is:
Like this we (teachers and students) learn something forward looking and useful, namely how to read and write OME-Zarr, and we don't waste our time and energy fixing this file format mess. Alternatively to (3), we could try finding one TIFF flavour that would do the job (see #471), but right now, personally, I'd be more motivated to go for OME-Zarr. It would be great to have your opinions, because I think we need to make a decision very soon. |
Sounds good, the other day I tried creating the environment as in the instructions and 1. it takes very long, 2. ran with an error :P |
Hi all,
|
This is what we have to learn. |
I am not a big expert in OME-ZARR, so I would need to do some digging around. @grinic your suggestion works for TIFF but after reading |
For me, the easiest way would be something like:
|
One can also use the zarr library, of course. |
The same with the zarr library:
I think the json way is cheaper for this purpose. |
Hello, I think one important workflow is to get the metadata (eventually convert data) from IJ and enter it in your python script. Antonio |
I agree, but @manerotoni do you know whether this is possible??!! We started experimenting with OME.TIFF and that does not even behave consistently within Java; so that is out. @grinic is now looking into it... (let's collect progress here: #471) |
If after so many years community and companies have not agreed on a format for the metadata, I doubt that this will be true for ome.zarr. Bioformat helped a lot but the problem still remains, it was just hidden by bioformat. I agree that we should make sure that the data used in the python course is consistent in order to avoid problems. I would go for a specification of tif and ome-zarr. My impression after working more with python is that I first convert proprietary data to a more convenient format. |
@grinic we changed the image_file_formats module quite a lot. you may have issues now merging your branch to master. you can also just give me the python file and I can add it for you. |
Ok, here are the python files that were in that branch: The additional packages used are |
No description provided.