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

Running hovernet only on masks #260

Open
ajinkya-kulkarni opened this issue Aug 6, 2023 · 1 comment
Open

Running hovernet only on masks #260

ajinkya-kulkarni opened this issue Aug 6, 2023 · 1 comment

Comments

@ajinkya-kulkarni
Copy link

Hello team, thanks for this repo! I was wondering if hovernet can be run to infer only on masks? Specifically, sometimes I find that StarDist does a better job at segmenting the nuclei from H&E Images, but I would be interested then to run hovernet on the StarDist segmented masks to generate the classes information. Any idea if I can do that and if yes, how?

Thanks, Ajinkya

@simongraham
Copy link
Collaborator

I wouldn't recommend running hovernet only on masks, as you will still need the RGB input to make a good prediction.

However, if you wanted you could use the instance segmentation from StarDist and the TP branch output from HoVer-Net. Then, you could provide a majority vote of the TP output within each instance.

So, you would need to run both models separately and then combine the output.

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