1. A system comprising: one or more processors; and memory, in communication with the one or more processors and executable on the one or more processors to perform a method of determining a translation amount between an original image h of size (m×m) and a scanned image z, of size (n×n), of the original image h, where m>n, the method comprising: computing a correlation value between the scanned image z and a subimage of the original image h at a plurality of (x, y) coordinate sets of the original image h; storing correlation values and the associated (x, y) coordinate set in a suitable memory location; and determining the (x, y) coordinate set that maximizes the correlation value.