Skip to content
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

Update the CellProfiler pipeline for pixel classification based segmentation #191

Open
nilseling opened this issue May 25, 2023 · 5 comments

Comments

@nilseling
Copy link
Contributor

The CellProfiler pipeline used in steinbock does not match the current pipeline in the ImcSegmentationPipeline.

@jwindhager
Copy link
Contributor

Out of curiosity: in what way?

@nilseling
Copy link
Contributor Author

nilseling commented May 25, 2023

So steinbock is using the old pipeline where the probability masks were first segmented and then the detected objects were downscaled. This leads to issues that cells are lost if they are smaller than 4 pixels or so.

The pipeline in the newest version of the ImcSegmentationPipeline (version 3) first downscales the pixel probabilities and then performs segmentation. This leads to continuous numbering of cell IDs.

@nilseling
Copy link
Contributor Author

Hmm, I can't reproduce this issue anymore. For the test data the cell IDs seem to be continous with the current pipeline. But I remember that there was an issue in the past when reading in segmentation masks that did not contain continous cell IDs. In any case, it would be good to update the pipeline to what the ImcSegmentationPipeline is doing.

@Milad4849
Copy link
Contributor

It appears to me that the only relevant difference between the two pipeline is the Typical artifact diameter parameter, set to 4 in steinbock and 2 in ImcSegmentationPipeline. Ca you possibly confirm that @nilseling

@nilseling
Copy link
Contributor Author

No, the two pipelines are conceptually quite different. We can have a look at it together tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants