-
Notifications
You must be signed in to change notification settings - Fork 154
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
can not parse positions from ome-tiff generated by micro-manager #54
Comments
I do not have access to those exact files and cannot comment on the partial loading issue.
This is by design and agrees with how Bio-Formats imports those images into Fiji. Series may have different data types, shapes, etc and cannot in general be accessed as a single numpy or zarr array. Maybe in the future the OME-ZARR will handle these cases.
OME does only support a very limited number, order, and kind of image dimensions. Position is not one of them. Hence positions are saved as separate series. Re This means the file does not contain the complete OME-XML metadata and tifffile is unable to find the master OME-TIFF file containing the complete metadata. Your OME-TIFF files created by MicroManager also contains a second |
This might explain why ImageJ can identify the positions/scenes and allow them to be loaded. In the meantime, is there a workaround to enable manual loading of the other series?
Edit: |
I'm closing this. The numpy/zarr array shape for a particular series is correct. tifffile v2021.1.14 will fall back to ImageJ metadata (if any) if detecting series from OME-XML fails. The partial loading I cannot reproduce. |
Just a final note for any who encounter the same problem. After opening a micro-manager ome-tiff in FIJI and seeing that positions are encoded as independent series, it seems the access mode should not be
|
Since you are interested in series, it's probably better to query the series interface:
|
Following up on the discussion at image.sc here, I'd like to provide a little more detail about what I see when trying to load the ome-tiffs:
if the dimensionality and folder structure is as such:
![image](https://user-images.githubusercontent.com/25647712/104641801-18a0b800-565f-11eb-986e-f23c8241c26f.png)
(T, P, Z, C, Y, X) = (50, 2, 5, 3, 2048, 2048)
The resulting array from running:
This is ok if it means that I can simply load the other series/positions and get a similar shape, however:
which is only a partial load of that series -- it should at least be (750, 2048, 2048)
From pypi notes:
So ideally we can get an array like (T, P, Z, C, Y, X) = (50, 2, 5, 3, 2048, 2048)
The text was updated successfully, but these errors were encountered: