"A computer-implemented method of encoding an image including a mask" . . . .