Simple arithmetic on image data