Method for embedding and extracting watermark in digital image
A watermark embedding, digital image technology, applied in the field of information hiding and image steganography, can solve the problem of not considering the influence of the local noise of the pixel value watermark image, and achieve the effect of low noise and good resistance to steganalysis.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0077] Embodiment 1, the method for embedding a watermark in a digital image:
[0078] 1. Obtain such as Figure 5 The grayscale image "Lena" shown has a size of 512x512.
[0079] 2. Obtain the watermark bit string composed of 0 and 1 with a length of 512×512-1=262 143:
[0080] W=(W 1 , W 2 ,...,W 262143 ).
[0081] 3. Sort all the pixels of the grayscale image from left to right and then from top to bottom, and obtain the first 262143 pixels as embedded pixels, thus obtaining the sequence of pixel values
[0082] x 1 , X 2 ,...,X 262143
[0083] 4. Denoise the grayscale image with linear mean filtering, sort all the pixels of the grayscale image after denoising in the same way as the original image, and obtain the first 262143 pixels as the embedded reference point, from which the denoised image can be obtained sequence of pixel values
[0084] D. 1 ,D 2 ,...,D 262143
[0085] 5. For i ∈ {1, 2, ..., 262 143}, according to the watermark signal W i Change the p...
Embodiment 2
[0095] Embodiment 2, the method for extracting watermark in digital image:
[0096] 1. Obtain such as Figure 4 The grayscale image with embedded watermark is shown, its size is 512×512.
[0097] 2. Extract the pixel value of the grayscale image in the same way as embedding the watermark, there are 262 143 values in total, assuming that the pixel value of the i-th pixel is Y i , where i ∈ {1, 2, ..., 262 143}.
[0098] 3. Calculate the embedded watermark value W i =Y i mod 2.
[0099] 4. Combine the watermarks extracted from each pixel to obtain a final watermark bit string consisting of 0 and 1.
[0100] The process of extracting the watermark proposed by the embodiment of the present invention will be explained in more detail below for several different pixel values. Suppose we get a watermark image pixel value Y i =165, then the watermark value 1 can be extracted. And when we get a watermark image pixel value Y i =164 or 166, then the watermark value 0 can be ext...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com