Certainty of detecting a watermark embedded in a color image is increased. Image data acquisition means of an image processing device acquires image data. Histogram generation means generates, based on pixel values of an image indicated by the image data acquired by the image data acquisition means, a histogram for each region in the image. Region selection means selects tom the image a region having a sparse color distribution in the histogram generated by the histogram generation means. Image processing means embeds a watermark in the region selected by the region selection means.
展开▼