for each picture I analyze as follows:
- threshold/watershed => analyze particles , which results in many circle-like particles
- multipoint selection on the original image (automated by “Find Maxima”)
Both analysis methods do not overlap 100%. I only want the particles which also have a point selection to analyze their area.
Each particle is added to the ROI Manager individually, the Find-Maximum-Selection is also added but all points are included in 1 ROI-Manager entry.
I thought to extract the coordinates from each Find-Maximum point in two arrays (one for x- and one for y-coordinates) and compare it to the coordinates (again x- and y-coordinates) given for each pixel of the analyzed particle. However, I have ~400 points by find maximum and almost the equal amount of analyzed particles for each pictures. If I would compare each Find-Maximum-Dot with every single pixel from every single particle, this would take too long I think.
I would need to exclude the particles that do not have a Find-Maximum-point and delete it from the ROI Manager…
Is there any quick workaround that you could think of? I know there is a function like if(matches()) and if(contains()), but I would not know how to apply this to this problem.!
Attached a graphical representation of the problem.
Thank you very much!