Semiglobal Affine Alignment with test