There is an ambiguity in the first sentence. Do you mean the pixels in the old image, or those in the new image? "Finally, the new image is copied over the old image, for the pixels with no dependencies.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.