Watermarking of color images based on segmentation of the xyz color space