1. A method, comprising: determining a reference region of a source image; determining an extended region of interest of the source image, the extended region of interest having a target aspect ratio and containing the reference region; determining a set of candidate image regions including regions of increasing size from the extended region of interest, each candidate image region having the target aspect ratio and containing the reference region; scaling candidate image regions to form a set of candidate target images; determining quality metric values of images of the set of candidate target images; and selecting one of the candidate target images of the set of candidate target images as a target image based on the determined quality metric values, wherein the method includes: determining a default quality metric value for each candidate target image of the set of candidate target images; and when the determined default quality metric values do not satisfy an image quality criteria, calculating a second quality metric value for each candidate target image of the set of candidate target images; and selecting one of the candidate target images of the set of candidate target images based on the determined second quality metric values.