Determining the Center of a Light Spot Image Using the Centroid Method
Determining the center of a light spot image using the centroid method by calculating the ratio of the sum of each pixel's grayscale value multiplied by its position to the total grayscale value sum