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

Question regarding pixel expansion #700

Open
tbudiman7 opened this issue Nov 21, 2023 · 1 comment
Open

Question regarding pixel expansion #700

tbudiman7 opened this issue Nov 21, 2023 · 1 comment

Comments

@tbudiman7
Copy link

Hi VanValen Lab,

I conducted a pixel expansion after segmentation on my image and noticed that there are small additional cells present in the pixel expansion generated outline that did not exist in the nuclear segmentation. After going through your notebook, I noticed that this happened in your example images as well - see screenshot attached below. I was wondering why it does this as my understanding is that the pixel expansion argument adds a pixel outline on top of the nuclear segmentation outlines.

Screenshot 2023-11-21 at 12 32 28 PM
@ngreenwald
Copy link
Collaborator

Hi @tbudiman7, good question. It is indeed using the same seeds for the expansion. It's possible that there are very small objects which do not meet the minimum size threshold using the raw predictions, but after expansion they are over the size threshold? You could take a look at the post-processing logic and see when the expansion is applied vs when the cutoff is applied.

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

2 participants