Abstract: An image processing device includes: a communication interface configured to receive an original image from a camera; a processor configured to determine a mask area of the original image, extract a switched point among a series of pixels in the mask area, and switch, on the basis of the switched point, a first pixel value of a first pixel set and a second pixel value of a second pixel set and generate a masked image; and a memory storing the masked image and information about the switched point, wherein the switched point is one or more, and the series of pixels sequentially include the first pixel set and the second pixel set.