Seol mar théacs é seo: Estimating the affine transformation between textures