The invention discloses a digital image watermark method based on a visual attention mechanism. The digital image watermark method comprises the following steps of: firstly partitioning an image remarkable area by a visual attention mechanism module, obtaining a high-frequency area relative to the remarkable area by wavelet transform, continuously carrying out watermark embedding on dithering quantification modulation of coefficients of the high-frequency area, and dynamically regulating quantified step length depending on a JND (just noticeable difference) visual module in a quantification modulation process. Through the digital image watermark method based on the visual attention mechanism, disclosed by the invention, the step length is dynamically quantified and the watermark is embedded by combining the characteristics of human vision; when the robustness of the watermark is stabilized, the imperceptibility of the watermark is greatly balanced; and simultaneously, the influence of an image background area subjected to operations, such as filtering, noise pollution and the like, in the correctness of a watermark extracting result is further reduced to a certain extent by the introduction of a vision attention mechanism module; and the robustness of watermark detection is further improved.