I have pictures of many cells with a cell membrane (outer oval) and nuclear membrane (inner circle) marked in red (see image 1). My goal is to count the number of green dots that are centered on the nuclear membrane or inner circle (see image 2). I don't know how to get the location of the nuclear membrane (after segmenting, the image is just a bunch of pixels with the k means cluster). I've tried machine learning (unsuccessfully) and am currently trying a segmentation approach. I used k-means clustering to classify the colors and got a result (see image 3), but the inner circle shows a lot of noise.
How do I reduce the noise in the inner circle / nucleus and filter out the outer circle / membrane? Any feedback on my approach or new methods to try would be appreciated as well.
image 2 (desired output. green = cells with dots on the nucleus, blue = cells with dots NOT on the nucleus, gray = unuseable)
image 3 (after segmentation with k-means clustering)