Would greatly appreciate help with the following questions:
I am trying to characterize the mean gray value of a ROI and the region immediately surrounding it to demonstrate that the difference between the ROI and the region around it is statistically significant. Previously, I manually sampled areas within and around the ROI however this is tedious and I need to be able to automate the process to apply it to a batch of images.
I have tried the following thus far:
I set a brightness threshold to identify the ROIs and then analyze>>particles.
This gives me the mean gray value inside the ROI but I cannot find a way to get the mean gray value around the outside of the border of the ROI.
As I mentioned, I need to be able to automate this process to work for over 200 images so I cannot manually sample the surrounding area. I have included an image below showing how I get mean gray values inside the ROI…its the area outside the border that I need mean gray values for.
Also, sometimes when I use the threshold function followed by analyze particles, I get an error message that says “No particles detected. Threshold 255-255 may not be correct.”
Thanks for your help!