SimilarityTransform2D
2D similarity transform (uniform scale, rotation, and translation) mapping source image coordinates (x, y) to aligned target crop coordinates (x', y'):
x' = a * x - b * y + tx y' = b * x + a * y + ty
where a = scale * cos(theta) and b = scale * sin(theta).