editing affine calibration