-
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
Creation of object-defined feature tables #27
Comments
The minimal version of such an array would be before feature extraction, just saving the object labels along with their masks into a table of some sort. Here one idea would be to save the coordinates of e.g. top left of a bounding box along with its dimensions and a binary array that contains the mask of the object itself. Later on we can populate this label index with more feature columns |
We're currently testing the AnnData integration into the OME-NGFF spec proposal as a solution for this problem, see here, it looks promising from a conceptual perspective:
|
I have been testing this prototype repository more and it's looking promising. I tested it on the single well, 2x2 test case. The prototype repository also has support for writing label images, so I wrote both my label images as well as actual feature measurements for those fovs to the ome-zarr file. The feature data is saved per field of view in this setting (where there are also corresponding label images). The structure then looks like this:
And the regions_table folder something like this:
|
Another solution to this problem we should keep an eye on is the Omero Plus implementation of features using PyTables & HDF5. See here for some details: https://www.glencoesoftware.com/blog/2022/04/01/Beyond-images-with-OME-NGFF.html |
I had a follow-up meeting with Kevin today. I think the AnnData approach is looking promising, the proposal to include it into OME-NGFF should be discussed in July and we already have a working python implementation in this example repo: https://github.com/kevinyamauchi/ome-ngff-tables-prototype I have tested this on our UZH 2x2 test case and saved the labels & features. It looks promising. I will contribute this test case to the example repo, so that they are also aware of the HCS setups. My main takeaways from the meeting:
|
Once label-maps are created, we would like to calculate object-based features and store them for further analysis. Challenge here is to create friendly tables that can be used for storing features of each object or objects of object.
It seems like there is some working being done towards the implementation of AnnData into Napari, which could be promising, as it may be able to deal with large tables. Also a potentially interesting approach would be to look at awkward arrays, which support the handling of variable sized nested arrays (which would work well with the situation of an experiment having e.g. contained objects each parent of different amount of sub-objects) using numpy-like functions. I have not found any documentation about parallel reading of it yet. @jluethi have you ever heard/tried any of this?
The text was updated successfully, but these errors were encountered: