Patent attributes
A system and method for calculating a pixel-shift vector that predicts the motion in dynamic image data and can be used to shift reference image data in order to generate a subtracted image with reduced motion artifacts. The pixel-shift vector is calculated based on displacement vectors that have been calculated based on past motion in the dynamic image data. One embodiment determines a virtual pixel-shift vector as a function of stored pixel-shift vectors that were previously determined as a function of a previously captured live frame. The virtual pixel-shift vector is a prediction of the location of the current live frame before the current live frame is captured. The mask frame is adjusted as a function of this virtual pixel-shift vector. The current live frame is then subtracted from the mask frame adjusted as a function of the virtual pixel-shift vector. The adjusted mask frame and the live frame will then overlap and the subtracted image will have reduced artifacts.