A Method to Characterize the Wide-angle Point-Spread Function of Astronomical Images