I’m trying to automate the detection and ideally the quantification of several lesions in whole slide images using QuPath. All of my slides are H&E stained.
I’ve been training pixel classifiers to detect these lesions but am running into some problems. Some of my lesions are the same color as other lesions and differ only by size / dimensions. I’ve attached an example image where I am trying to quantify steatosis (the white circles within the tissue that I have annotated in red). The problem is when I switch to higher resolution in the pixel classifier (very high or full), It is detected as background or other white areas such as empty vessels.
My question is if there is a way to limit the detection of lesions (classes) by size or dimensions for pixel classifiers? For example, lesion 1 must be less than 100 pixels in size, lesion 2 must be between 500-1000 pixels in size, or if there is a long lesion (ex. 10 x 500 pixels), classify it as lesion 3 only if the length:width ratio is around 10:500.
I don’t have much experience in image analysis so I apologize if this is a silly / naive question but any help or advice would be greatly appreciated!