Hello Qupath users,
I have been using Qupath to count cells and I use this script to batch generate a list of filenames and cell numbers (which i copy paste from the console into excel).
The individual cell area can be seen via Measurement tabs, but how do i go about including the total area of the cells detection (cytoplasm+nuclear) in my script?
This is so I can batch run the script on 3000+ files.
best wishes
Malcolm
name = getProjectEntry().getImageName()
annotations = getAnnotationObjects()
detections = getDetectionObjects()
cells = getCellObjects()
print name + "_" + (annotations.size() + "_annotations")
print name + "_" + (detections.size() + "_detections")
println name + "_" + (cells.size() + "_cells")