warpedmovout: Moving image warped to space of fixed image. warpedfixout: Fixed image warped to space of moving image. fwdtransforms: Transforms to move from moving to fixed image. invtransforms: Transforms to move from fixed to moving image.
Your code looks correct, but also note that you don’t need to run apply_transforms if you are working with the same images used in the registration step, since the warped images are included in the registration output.