Introduction - If you have any usage issues, please Google them yourself
This directory contains the C-based portable digital watermarking algorithm code. The code has a demonstration
Of meaning, and there is a certain degree of robustness.
NetPGM need to install the package (to access the pgm format images), and then to compile in linux below.
NetPGM is the image file input/output package. Can search by. We have already
256 gray level, 512 × 512 size images were tested.
Procedure call format, compiled as follows (in encode an example):
wm_cox_e-s cox.sig-o wm_image.pgm image.pgm
Which,-s that you want to add the watermark signal, cox.sig is the signal file.
-O said output image file name wm_image.pgm,
image.pgm for the input file name.
Several auxiliary programs:
cmp_pgm calculate the difference image, PSNR, etc.
cmp_dct full frame DCT domain calculation of difference image
cmp_dct8x8 calculate the size of 8 × 8 DCT domain differential image
For example, in order to produce two PGM images and calculate their differ