The invention discloses an
electronic document picture tamper-proof
watermark embedding and extracting method based on a
frequency domain, which mainly comprises the following steps of: separating an
electronic document picture into a
verification region and a
traceability information region, acquiring
watermark information according to an input
binary image, acquiring a Y channel in the
traceability information region converted into a YCrCb mode, and extracting the
traceability information region; dCT (
discrete cosine transform) is carried out on blocks at specific positions to obtain DCT coefficients, SVD (
singular value decomposition) is carried out on the DCT coefficients to obtain a
singular value matrix, quantization is carried out according to quantization coefficients, and a maximum
singular value is modified to keep parity consistency with
watermark information; secondly, obtaining Y channels of the traceability information area and the
verification area, performing block
discrete cosine transform and SVD
decomposition on the two areas from initial pixels to obtain singular value matrixes of the two areas, obtaining the maximum singular value of the former, quantizing the maximum singular value and taking the maximum singular value as
verification information, and modifying the singular value of the latter to ensure parity consistency of the two areas; and reconstructing an image according to inverse transformation after embedding is completed.