I have a list of ROIs, each with a x and y coordinate. What I am trying to do is make a macro which:
1.lets me select a certain area in my image
2.Uses the coordinates of this selection to find all the ROI coordinates that fall within this selection
3. tells me the number of ROI found in the selection or outputs a list of the ROIs with the ones outside of the area filtered out
I feel like this shouldn’t be to hard since all the necessary information for it to work (the coordinates of the specified area and the ROIs) are known. But since I don’t have any programming experience I am still struggling to find a way.
Any help or ideas would be greatly appreciated.