Hello!
I’m PhD student with almost zero experience using image analysis softwares, so I’d like to ask your opinion before using hours and hours on trying to do something which is maybe impossible. My aim is to compare endometrium tissue samples from 2 patient groups. I have about 140 samples and 4 different H-DAB nuclear stainings (Ki67 & immune cells). As the amount of epithelium (both glandular and surface) varies a lot between samples and therefor effects the results as stroma and epithelium are very different, I need to separate epithelium from the rest of the sample. I’ve done stromal analysis for smaller sample set earlier with ImageJ quite manually, but now with scanned WSIs and a lot more samples that seems almost impossible and huge task.
What do you think, would I be able to teach QuPath to separate epithelium from stroma, then count the percentage of positive cells in tissue and do the same for all samples automatedly as a project? I would be really happy if there was a youtube tutorial of this kind of procedure or at least a list of steps needed to do it, but even hearing your opinion of the possibility to do this would be nice. I added here 2 example pictures from the same sample.
-Isn't there undo-button in QuPath? As if you accidentally move some annotation, you can't just click undo but need to try to get it back on place?
-Should I be able to draw 1 big annotation around the region I want to analyze and then draw smaller annotations inside of that (epithelium)? Simple tissue detection gives me area with which this works fine, but if I try to draw polygon for example, I can't draw anything inside that. Am I missing something there? I managed to annotate epithelium first and then draw a bigger, wanted area around those, but when I tried to detect positive cells from annotations all epithelium annotations just disappeared without warning.
-And if I use simple tissue detection at first, can I then correct that annotation if I don't want some areas it includes? Mainly that seems pretty easy and good function to use
-If I annotate the whole area which I want to analyze and then mark the epithelium, can I somehow pick the wanted area without epithelium (like wanted area annotation minus epithelium annotations)? I think that could be accurate enough to present stroma.
-If I still tried detection classifier and it would work almost perfectly, could I just pick the wrong detections cell by cell and change their classification myself?
// Assign parent classification to every detection, if not null
def detections = getDetectionObjects()
for (detection in detections) {
def parentClass = detection.getParent()?.getPathClass()
if (parentClass != null)
detection.setPathClass(parentClass)
}
fireHierarchyUpdate()-Can I pick all annotations of the same class from annotation list at once or do I have to scroll down the list and pick all separately?
def pathClass = getPathClass('Tumor')
selectObjects {it.isAnnotation() && it.getPathClass() == pathClass}-Is it so that in summary table I just get all the annotations separately, I can't see the number of positive cells in all the annotations of the same class? Of course that can be counted with excel afterwards so it is not very big problem.
setCellIntensityClassifications('Nucleus: DAB OD mean', 0.2)
selectObjects { p -> p.getPathClass() == getPathClass("Stroma") && p.isAnnotation() }