Calculating Encircled Energy
Posted by angel.leigh on
URL: http://imagej.273.s1.nabble.com/Calculating-Encircled-Energy-tp5006279.html
Hi
I've been calcuating the energy in some images using progressively larger circlar regions, and summing the pixels. However, I would like to be able to count the "edge" pixels. If a pixel falls half-in and half-out, to count half the value of the pixel. This is more important because I am calculating the centriod, which is never perfectly centered on a pixel.
I know that somebody has to have already figured this out, but I can't seem to find it. I've searched "encircled energy," "point spread function," and "power in the bucket" but can't seem to find one that partially counts border pixels.
If anyone could point me in the right direction I would appreciate it.
thx,
Angel