All planes now need to be properly realigned with the first frame, knowing the offsets up to subpixel precision. The resampling operation (also known as Image Warping) is a classical problem in image processing. The subsequent image stacking operation is again some kind of temporal filter.