1. A method comprising: performing a first imaging cycle of a patterned sample comprising a plurality of spots; dividing a first set of imaging data generated during the first imaging cycle into a first plurality of imaging data subsets, each of the first plurality of imaging data subsets corresponding to a respective region of the patterned sample, each of the respective regions of the patterned sample comprising a plurality of spots; calculating a set of image distortion correction coefficients for each of the first plurality of imaging data subsets; performing a second imaging cycle of the patterned sample to generate a second set of imaging data; and dividing the second set of imaging data generated during the second imaging cycle into a second plurality of imaging data subsets, each of the second plurality of imaging data subsets corresponding to the same respective region of the patterned sample as one of the first plurality of imaging data subsets; and for each of the second plurality of imaging data subsets, applying the distortion correction coefficients calculated for the one of the first plurality of imaging data subsets corresponding to the same respective region of the patterned sample.