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

cell_detection script #1

Open
RVP20 opened this issue May 23, 2024 · 1 comment
Open

cell_detection script #1

RVP20 opened this issue May 23, 2024 · 1 comment

Comments

@RVP20
Copy link

RVP20 commented May 23, 2024

Hi there,
Thank you for Celloscope, I have been trying to run the method on a 10X Visium dataset on my MacOS 14.2.1. For this, first I have installed QuPath 0.5.1 and tried to run the script cell_detection.groovy to get an estimate of number of cells at each spot. I have added the path to my coordinates file and I have added a path to an output file. However, upon adding the image and then running the script, the output shows that 0 cells are detected at each spot. I am wondering if I am doing something incorrectly, since I have not used QuPath before. Will be grateful if someone can assist me with this.

Thanks!

@gerasa
Copy link

gerasa commented Jun 6, 2024

I used the procedure only for one data set so I do not have a vast experience, however, I can suggest trying different parameters here:

class WatershedCellDetectionConfig {
String detectionImageBrightfield = "Hematoxylin OD"
double backgroundRadius = 35.0
double medianRadius = 0.0
double sigma = 3.0
double minArea = 50.0
double maxArea = 1000.0
double threshold = 0.4
double maxBackground = 2.0
boolean watershedPostProcess = true
double cellExpansion = 5.0
boolean includeNuclei = true
boolean smoothBoundaries = true
boolean makeMeasurements = true
}

to adjust to your images.

Hints how to pick parameters can be found here:

Misc. QuPath tutorial 2 – IHC analysis. https://youtube.com/playlist?list=PL4ta8RxZklWk_O_Z7K0bZlhmHtaH73vlh.

Misc. QuPath tutorial: cell detection. qupath.readthedocs.io/en/stable/docs/tutorials/cell_detection.html.

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