Methods and systems for quantization and data embedding are described. In
at least some embodiments, a transform is applied on an image that is to
be watermarked and statistics associated with the image are computed. The
computed statistics are quantized using a symmetric lattice, and a
watermark is computed using the lattice quantized statistics. The
watermark is then inserted into the image.