Abstract:A kind of spatial domain image watermarking scheme based on direct sequence spread spectrum (DSSS) codes is proposed in this paper. On the basis of establishing the communication model of digital image watermarking, the authors generate a visual mask from the cover image to keep the fidelity of the image, and then embed the spread spectrum modulated watermark into the corresponding spatial domain of the digital image. At the same time, the error correction coding technique is used to improve the anti-jamming capability of the watermark.The betection is realized by computing the correlaon between the difference image and the original spread spectrum codes.Experimental results shoe that the scheme improves the robustness and invisibility of the image watermark,while has preferable subjective effects.