New metric can help quantify image quality of the Sun taken from ground-based telescopes