Tearing of the slice is not something my software can deal with. Some distortions might be okay. If I were trying this, I would start with "3dAllineate -nwarp heptic" and then see what happens.
If that was terrible, then I'd probably try 3dQwarp -- but since I've never tested 3dQwarp with 2D datasets, it might crash, in which case I'd have to patch the code up.
If you are totally new to AFNI, then you will probably have trouble running these programs, since you'll have to put your images into AFNI or NIFTI format first, and then learn how to use the command line tools. If you are somewhat experienced in AFNI, then you might have a chance.
https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dAllineate.html