restore the best parameter for the affine entropy-based registration