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

Contributing in nuclei segmentation using an external library #981

Open
ajinkya-kulkarni opened this issue Mar 29, 2023 · 3 comments
Open

Comments

@ajinkya-kulkarni
Copy link

Hi Devs, thanks for this repo!
Are contributions to the nuclei segmentation part using an external library allowed? For example using CellPose or something similar.

@manthey
Copy link
Contributor

manthey commented Apr 3, 2023

Our preferred method of adding additional algorithms is to wrap them in a new docker image and expose the parameters via the slicer cli execution model. This repo can certainly be used as a starting point for that, but a new docker can often be simpler with less dependencies.

@AhmedElshahedd
Copy link

Hello,
I have a question regarding how to build my own analysis using models developed with PyTorch? (eg. patch based classification)

@manthey
Copy link
Contributor

manthey commented Mar 26, 2024

@AhmedElshahedd There are so many approaches that the best one depends on what you are trying to accomplish. For instance, if you are trying to analyze whole slide images at full resolution a patch at a time, the methods used in HistomicsTK are appropriate (a docker with torch installed and using a tile iterator to process each patch). If you want to only process user selected patches quasi realtime, Monai Label or https://github.com/DigitalSlideArchive/dsa-run-custom-ai-models would be more appropriate. See also https://github.com/DigitalSlideArchive/superpixel-classification for a way that works on multiple images and uses tensorflow (but there is a branch that is in progress that uses torch).

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