-
Notifications
You must be signed in to change notification settings - Fork 7
Get search first zebrafish test set to pass #110
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
Comments
I updated the parsing logic to speed it up (see here: ) As part of the refactor, the base problem appears to have been solved. But now, the overlap correction runs into an issue:
I'll have to dig a bit deeper to understand why this would occur Edit: It does not occur in all wells. Looks like there is some well in this dataset that triggers this issue. I'll see whether I can trace that down to check whether it's a metadata problem or a processing problem |
My impression is that this is an issue that arises when there is overlap between images that can't be corrected with a simple shift in one direction. Unsure whether we want to get into this at all, but I wasn't expecting to hit it here. The well B04, which is the first one triggering this issue, does have a weird FOV setup. Here are the FOVs: FOV 1 is at -1907.4; 514.5 The pixel size for this experiment is 0.322101 in x & y, 1 in z, according to the metadata. @MaksHess is this correct? That's a fairly weird pixel size! At the CV7K, I expect to see 0.1625 and 0.33. Is that correct? Given the pixel size and the image size of 2000x2000 pixels, FOV 2 thus extends into FOV1 (overlap in both X & Y) => not a regular overlap, but overlap like in scenario 4 here that we're not planning to cover: #11 @MaksHess Is this dataset acquired with overlap in some field of views? |
I think Yokogawa does some internal scaling of the pixel size based on who-knows-what (theoretically it would be 0.325um). |
Ok, weird that the Yokogawa does some kind of pixel size scaling here. The CV7K returns pixel sizes like we would expect them. Do you think 0.322101 is actually a wrong entry or the actual truth for this dataset? Alternatively, we could look into manually changing the metadata to avoid such overlaps (but misplace a few FOVs then). But I'd have some concerns with that, see below
Two points here:
|
I think the scaling might be right (mb taking into account some deviation from 20x for their custom objective), in any case, an error of <1% sounds reasonable...
|
Makes sense. I'll test with B02 & B03 for the moment then (next week). And will think about a temporary mitigation strategy (e.g. a quick check we could run over the metadata file and then whether we could work around issues that come up with some small hack) |
Ok, noticed another issue we're having with this test set: Our filename parsing currently makes assumptions of the filename structure that don't hold up here. We'll need to correct those. In the meantime, I'm renaming a (linked version of) these files into something without See this issue for details: #189 |
I now got the zebrafish data to be parsed successfully for the well B02 (a subset of the data, because the B02 well doesn't have any overlaps between ROIs), see: fractal-analytics-platform/fractal-demos@1a78f16 We can look at it in napari both in 3D with single cell segmentation (not optimized, but decent shot with default cellpose at 4x downsampled level): As well as at an MIP representation: We can interactively browse the well in napari, zoom in to different zebrafish embryos to interactively load the full res data. It handles the positions of this search-first acquisition well, parsing positions from metadata and placing FOVs in the well context. @MaksHess If you want to try it out as well, the data is here: There are 2 remaining issues, but I'll close this overall issue while we work on the more specific issues we discovered here:
|
Uh oh!
There was an error while loading. Please reload this page.
EDIT: This may be an issue regarding overlap. If so, that's currently out-of-scope.
When running the search-first zebrafish test set
/data/active/fractal/3D/PelkmansLab/ZebrafishMultiplexing/cycle0
(number 2 gridless of fractal-analytics-platform/fractal-client#213), parsing fails with the following error message:Debug the parsing to figure out what's failing. Could be an issue when the metadata was created for this test set, could be a parsing problem.
The text was updated successfully, but these errors were encountered: