You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the ids found in the nucleus mask should also be found in the cytosol mask but in this specific example that is not the case for the first image tile. This statement should return true but it returns false.
I have already implemented a warning which is issued during segmentation when this occurs, but the source of the problem needs to be identified. This bug was the reason why during extraction we sometimes got empty cells. This problem has been fixed as we now only look at cell_ids contained in the nucleus mask.
[06/05/2024 16:33:09] Warning: Different classes in different segmentatio channels. Please report this example to the developers
[06/05/2024 16:33:09] set1 nucleus: set(np.unique(shifted_map[0]))
[06/05/2024 16:33:09] set2 cytosol: set(np.unique(shifted_map[1]))
[06/05/2024 16:33:09] {48} not in nucleus mask
[06/05/2024 16:33:10] set() not in cytosol mask
The text was updated successfully, but these errors were encountered:
When applying the cell pose segmentation workflow some cytosol masks are not filtered out even though they do not have a matching nucleus.
Code and data to reproduce:
All of the ids found in the nucleus mask should also be found in the cytosol mask but in this specific example that is not the case for the first image tile. This statement should return true but it returns false.
Data to reproduce:
Archive.zip
I have already implemented a warning which is issued during segmentation when this occurs, but the source of the problem needs to be identified. This bug was the reason why during extraction we sometimes got empty cells. This problem has been fixed as we now only look at cell_ids contained in the nucleus mask.
The text was updated successfully, but these errors were encountered: