https://github.com/david-hoffman/dphtools/blob/84ec9f04b398afa7e025aa9ee91103427c3f3aab/dphtools/utils/registration.py#L431 Something is wrong with anisotropic scaling when rotations are involved.