The invention belongs to the technical field of digital
watermark technologies, and provides a method and a
system for authenticating image contents. According to the method and
system, an AMBTC (Absolute Moment Block Truncation Coding)
algorithm is utilized for guiding the embedding and extraction of a digital
watermark, and the parity of a low mean value and a high mean value of each pixel block is correspondingly equal to a to-be-embedded 2-
byte watermark by adjusting the pixel value of each pixel in each pixel block of the input image. The image is not really subjected to BTC (Block Truncation Coding) compression, but the AMBTC quantized data are utilized for guiding the
watermark embedding and extraction process, so that image
authentication of a semi-fragile watermark is realized while the quality of the image is guaranteed. In addition, as an embedding
mechanism based on a pixel domain and an extraction
mechanism based on a compression domain are used, the method and
system for authenticating the image contents can suppress brightness and contrast change operations efficiently, and have good
fragility for the other operations.