Calculation of the centroid in a local image neighborhood is a very fast method for sub-pixel molecule localization and is used in [1]. The algorithm does not estimate the intensity or imaged size of molecules, and is sensitive to noise. The main idea is simply to calculate the mean pixel positions weighted by the intensity of the image data. The sub-pixel refinement of the coordinates is calculated as
![]() |