Analysis of a Centering Algorithm for Digitized Photographic Images