This script allows you to find the center of mass of a grayscale %%image.