-
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
Tissue Region masking in scPortrait #50
Comments
and
would mean that the image should be reduced to the unmasked area, meaning all zero valued pixels are completely removed such that the original image gets cropped or should the image keep its original size, i.e. keep the zero valued pixels? Another question: depending on the image it might be easier to annotate a region that gets set to 0 instead of annotating the region which should be kept. So should there be an option to either mask the region one wants to keep or which one wants to remove? |
I think it would be better if the image changes is original size because this would reduce the resources required for all downstream operations. There might be some disadvantages to reducing the size but at the moment I can't think of one.
that makes sense! lets do it :) |
we could also implement a method that automatically detects tissue using a thresholding + watershed approach. Could be a nice feature to implement in addition. I was working with a CODEX dataset today and quickly implemented an automatic detection method. Not ideal yet I am sure but maybe a starting point for this.
|
Hi @sophiamaedler, before creating a PR, just a few more questions:
|
I would assume they are in the default coordinate system. I guess there might be some cases where they have been transformed but certainly not the main use case.
I think the most common application would be circles because they are TMA cores but I think a general thresholding approach would be best that can work with many different shapes.
sounds like a good idea. I would implement one base method that works e.g. on the provided example so that we have something to test and work with but make the code modular in such a way that users can plugin other models as needed.
Would be great! But has the lowest priority a the moment. |
Aim: when working with tissue data often large parts of an acquired image constitute background which is not relevant for later processing. These regions should be masked from the input to limit the amount of data that needs to be processed.
Example: m3B dataset from publicly available scDVP manuscript
Required implemented methods:
The text was updated successfully, but these errors were encountered: