CN109829843A - A kind of image blind watermarking processing method and processing device improving robustness and encoding amount - Google Patents

A kind of image blind watermarking processing method and processing device improving robustness and encoding amount Download PDF

Info

Publication number
CN109829843A
CN109829843A CN201811611139.4A CN201811611139A CN109829843A CN 109829843 A CN109829843 A CN 109829843A CN 201811611139 A CN201811611139 A CN 201811611139A CN 109829843 A CN109829843 A CN 109829843A
Authority
CN
China
Prior art keywords
watermark
information
watermarking images
picture
original image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811611139.4A
Other languages
Chinese (zh)
Other versions
CN109829843B (en
Inventor
赵施宇
张秀昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qianxin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qianxin Technology Co Ltd filed Critical Beijing Qianxin Technology Co Ltd
Priority to CN201811611139.4A priority Critical patent/CN109829843B/en
Publication of CN109829843A publication Critical patent/CN109829843A/en
Application granted granted Critical
Publication of CN109829843B publication Critical patent/CN109829843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiment of the invention discloses a kind of image blind watermarking processing method and processing devices for improving robustness and encoding amount, the corresponding transmission source information of original image when outgoing or screenshot is converted into quick response codes, the watermarking images for carrying and sending source information are extracted from quick response codes.It is added in the first frequency domain picture of original image after carrying out size resetting to watermarking images, the Target Photo of watermarked image is obtained by inverse Fourier transform.When decoding the watermark information in Target Photo, carrying out reduction to the region for being superimposed watermarking images can be obtained transmission source information.Quick response codes are used in watermark information coding stage and replace original plaintext coding, are considerably increased the portable information content of onesize watermarking images, are also enhanced the robustness of watermark using the error correcting capability of quick response codes.It does not need manually to recognize when extracting watermark information simultaneously, enhances the identifiability of watermark.

Description

A kind of image blind watermarking processing method and processing device improving robustness and encoding amount
Technical field
The present embodiments relate to image watermark processing technology fields, more particularly, to a kind of raising robustness and encoding amount Image blind watermarking processing method and processing device.
Background technique
Watermark is generally used for identifying the source of certain picture or for stating copyright, the watermark being typically embedded into is comprising text The image of word.In existing method, picture frequency domain is write information into based on Fourier transformation and obtains the picture of watermark.When need Identify the transmission source information of watermarked picture, then restoring out the watermark information in picture just can track picture Transmission source information.
However, on the one hand, in the existing method, the watermark of insertion is the image comprising text, information extraction therein Manual identified is relied on, and in actual scene, picture frequency domain information is inherently mixed and disorderly unordered, and work is communicated during image outgoing Tool can also compress image, be allowed to be difficult to the naked eye to be recognized to destroy original watermark information, be data source information It is smooth reduction bring great difficulty.On the other hand, use plaintext text as watermarking images, in order to fight original image Issuable interference of the compression for watermark information during frequency domain noise and outgoing, the text size on watermarking images It needs sufficiently large, great limitation is produced hence for the portable information content of watermarking images, to affect for image The detailed description of transmission source.
In actual application, inventor has found existing easy based on watermark of the Fourier transformation addition in picture Because the loss of picture compression causes watermark, identification is difficult, and the information content that watermark carries is smaller.
Summary of the invention
It is easy based on watermark of the Fourier transformation addition in picture because of picture compression the invention solves existing Loss causes watermark identification difficult, and the lesser problem of information content that watermark carries.
Against the above technical problems, the embodiment provides a kind of Image Blind water for improving robustness and encoding amount Print processing method, comprising:
Before in outgoing original image or carrying out screenshot to original image, by according to current user information, equipment letter The quick response codes that breath and timestamp generate obtain watermarking images, carry out size to the watermarking images and reset to obtain target watermark Image;
Fourier transformation is carried out to the original image and obtains first frequency domain picture, the target watermarking images are superimposed Into first frequency domain picture, the first overlap-add region of preset superposition watermark, obtains superposition picture;
The picture that inverse Fourier transform obtains carrying the target watermarking images is carried out to the superposition picture, as target Picture, Target Photo described in outgoing or carries out screenshot to the Target Photo.
The embodiment provides a kind of image blind watermarking processing units for improving robustness and encoding amount, comprising:
Watermark generation module is used in outgoing original image or before carrying out screenshot to original image, according to current The quick response codes that user information, facility information and timestamp generate obtain watermarking images, carry out size to the watermarking images Resetting obtains target watermarking images;
Watermark superposition module obtains first frequency domain picture for carrying out Fourier transformation to the original image, by institute State target watermarking images be added in the picture of the first frequency domain it is preset superposition watermark the first overlap-add region, be superimposed Picture;
Processing module obtains carrying the target watermarking images for carrying out inverse Fourier transform to the superposition picture Picture, as Target Photo, Target Photo described in outgoing or to the Target Photo carry out screenshot.
The embodiment provides a kind of electronic equipment, comprising:
At least one processor, at least one processor, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the electronic equipment and the communication equipment of other electronic equipments;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to Order is able to carry out the process described above.
Present embodiments provide a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Matter stores computer instruction, and the computer instruction makes the computer execute the process described above.
The embodiment provides it is a kind of improve robustness and encoding amount image blind watermarking processing method and processing device, The corresponding transmission source information of original image when outgoing or screenshot is converted into quick response codes, is extracted from quick response codes The watermarking images for sending source information are carried out.To the first frequency of the original image that is added to after watermarking images progress size resetting In the picture of rate domain, the Target Photo of watermarked image is obtained by inverse Fourier transform.Decoding the water in Target Photo When official seal ceases, carrying out reduction to the region for being superimposed watermarking images can be obtained transmission source information.Rank is encoded in watermark information Section uses quick response codes and replaces original plaintext coding, considerably increases the portable information of onesize watermarking images Amount, also enhances the robustness of watermark using the error correcting capability of quick response codes.It is not needed when extracting watermark information simultaneously artificial Identification, enhances the identifiability of watermark.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is blind watermatking image product process schematic diagram as a comparison provided by one embodiment of the present invention;
Fig. 2 is the watermark information extraction flow diagram that another embodiment of the present invention is provided as comparison;
Fig. 3 is the image blind watermarking processing side of a kind of raising robustness and encoding amount that another embodiment of the present invention provides The flow diagram that watermark picture generates in method;
Fig. 4 is the image blind watermarking processing side of a kind of raising robustness and encoding amount that another embodiment of the present invention provides The flow diagram that watermark information extracts in method;
Fig. 5 is the flow diagram that the blind watermatking image that another embodiment of the present invention provides generates;
Fig. 6 is the flow diagram for the blind watermatking information extraction that another embodiment of the present invention provides;
Fig. 7 is the image blind watermarking processing dress of a kind of raising robustness and encoding amount that another embodiment of the present invention provides The structural block diagram set;
Fig. 8 is the structural block diagram for the electronic equipment that another embodiment of the present invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Before introducing blind watermatking processing method provided by the invention, a kind of blind watermatking processing side as a comparison is introduced Method, Fig. 1 are blind watermatking image product process schematic diagram as a comparison provided in this embodiment, and Fig. 2 is the work that this example provides Flow diagram is extracted for the watermark information of comparison.Referring to Fig. 1, in the scheme of comparison, outgoing picture or to picture into Before row screenshot, when the size of the picture meets the condition of addition watermark, Fourier transformation is carried out to the picture first and is obtained Frequency area image, meanwhile, using active user and end message write-in image, as watermarking images, (i.e. watermark information is encoded Journey).Then, by the watermarking images of generation be added to image frequency domain high-frequency region to evade present in original frequency domain Noise.Finally, carrying out inverse Fourier transform to the frequency area image after superposition watermarking images makes close with original image Image, and complete outgoing or shot operation.
Referring to fig. 2, in the scheme of comparison, to extract the watermarking images in picture, then first the picture is carried out in Fu Leaf transformation, acquisition are superimposed on watermarking images therein.Using obtaining watermark information therein after manual identified.
As can be seen that watermarking images are directly superimposed with frequency domain picture, due to watermark figure in watermark information adding procedure It seem the image comprising word content, therefore the watermarking images being superimposed are likely to lose during picture compression, lead to watermark Information can not identify, and the information content that watermarking images can carry is limited.During identifying watermark information, need to pass through It is manually identified, not can guarantee recognition success rate.
In order to solve the problems, such as comparison scheme, Fig. 3 is a kind of raising robustness provided in this embodiment and coding The flow diagram that watermark picture generates in the image blind watermarking processing method of amount, referring to Fig. 3, this method comprises:
301: outgoing original image or to original image carry out screenshot before, by according to current user information, set The quick response codes that standby information and timestamp generate obtain watermarking images, carry out size to the watermarking images and reset to obtain target Watermarking images;
302: Fourier transformation being carried out to the original image and obtains first frequency domain picture, by the target watermarking images Be added to preset the first overlap-add region for being superimposed watermark in the picture of the first frequency domain, obtains superposition picture;
303: the picture that inverse Fourier transform obtains carrying the target watermarking images is carried out to the superposition picture, as Target Photo, Target Photo described in outgoing or carries out screenshot to the Target Photo.
Method provided in this embodiment is by computer or is exclusively used in picture watermarking and the equipment for extracting watermark information It executes.Step 301-303 is the process for adding watermark by Fourier transformation to picture.In outgoing original image or to original Before picture carries out screenshot, watermarking images are added in original image by step 301-303, watermarking images carry original graph The source-information of piece, for example, user information, facility information and timestamp when transmission or screenshot.Original image adds watermark It retransmits or screenshot, the tracking to original image source can be realized by the watermark information for adding on it.For example, for After concerning security matters picture adds watermark by the above method, after the leakage of concerning security matters sensitive image, picture leakage can be chased after by watermark Track is traced to the source and positioning is called to account.
In the present embodiment, by quick response codes obtain watermarking images be actually by the location information of quick response codes, After version information and timing information remove, image that remaining part is reset.For example, quick response codes are determined Position information, version information and timing information obtain 208 two code information after removing, this 208 2 code information are rearranged to In 16 × 13 rectangular images, watermarking images are obtained.Target watermarking images are the images obtained after amplifying to watermarking images.The One overlap-add region is the region set in the picture of first frequency domain in advance, for the region dedicated for being superimposed watermarking images.
A kind of image blind watermarking processing method for improving robustness and encoding amount is present embodiments provided, by outgoing or is cut The corresponding transmission source information of original image is converted to quick response codes when figure, extracts from quick response codes and carries transmission The watermarking images of source information.It is added in the first frequency domain picture of original image after carrying out size resetting to watermarking images, The Target Photo of watermarked image is obtained by inverse Fourier transform.It is right when decoding the watermark information in Target Photo The region for being superimposed watermarking images carries out reduction and transmission source information can be obtained.It is used in watermark information coding stage quick Answer code replaces original plaintext coding, considerably increases the portable information content of onesize watermarking images, is rung using quick The error correcting capability of code is answered to also enhance the robustness of watermark.It does not need manually to recognize when extracting watermark information simultaneously, enhances water The identifiability of print.
Further, Fig. 4 is a kind of image blind watermarking processing side for improving robustness and encoding amount provided in this embodiment The flow diagram that watermark information extracts in method, referring to fig. 4, on the basis of the above embodiments, further includes:
401: obtaining the Target Photo of watermark information extraction to be carried out, Fourier transformation is carried out to the Target Photo and is obtained Second frequency domain picture;
402: intercepted from the picture of the second frequency domain it is preset fold the second watermarked overlap-add region, as watermark Also original image carries out bounds size reset operation to the watermark also original image, obtains being superimposed upon in the Target Photo Watermarking images;
403: restoring Target Photo described in outgoing according to the watermarking images or screenshot is carried out to the Target Photo When user information, facility information and timestamp, as the watermark information of the Target Photo, export restore watermark letter Breath.
Second overlap-add region is the prespecified region in the picture of second frequency domain where watermarking images.In fact, First overlap-add region and the second overlap-add region have corresponded to the same area in original image, and only the first overlap-add region is In one frequency domain picture, the second overlap-add region is in the picture of second frequency domain.Watermark also original image is similar to target watermarking images, By the way that the watermarking images after watermark also original image progress boundary dimensions reset operation can be extracted watermark information, outgoing is obtained Target Photo or to Target Photo carry out screenshot when user information, facility information and timestamp.
Present embodiments provide a kind of image blind watermarking processing method for improving robustness and encoding amount, the watermark figure of addition As the image to be converted to quick response codes, in the process for extracting watermark information, according to the mistake of addition watermarking images Journey restores obtain watermarking images step by step, to decode watermark information.The process does not need manpower intervention, improves identification effect Rate and identification accuracy.
Further, described that original image progress Fourier transformation is obtained on the basis of the various embodiments described above The target watermarking images are added to the of preset superposition watermark in the picture of the first frequency domain by first frequency domain picture One overlap-add region obtains superposition picture, comprising:
Fourier transformation is carried out to the original image and obtains first frequency domain picture, according to the random seed of setting by institute It states target watermarking images to upset at random, the target watermarking images after upsetting are added to first overlap-add region, obtain described It is superimposed picture.
It is superimposed after being upset when being superimposed watermarking images, is folded so that two kinds of colors of black and white are more evenly distributed in first again Add region, the picture quality after avoiding the excessive watermark to addition of area that same color flocks together impacts.
A kind of image blind watermarking processing method for improving robustness and encoding amount is present embodiments provided, watermarking images are upset It is overlapped again afterwards, so that watermarking images are difficult to be aware in folding watermarked picture, avoids watermarking images to picture The influence of quality.
Further, on the basis of the various embodiments described above, it is described intercepted from the picture of the second frequency domain it is preset The second watermarked overlap-add region is folded, as watermark also original image, bounds size weight is carried out to the watermark also original image Operation is set, the watermarking images being superimposed upon in the Target Photo are obtained, comprising:
Second overlap-add region is intercepted from the picture of the second frequency domain, according to the random seed to the institute of interception The image for stating the second overlap-add region is restored, using the image after reduction as the watermark also original image;
To the watermark also original image by Edge contrast, watermarking images are added to the target figure according to setting The ratio-dependent that size resetting is carried out when piece goes out the corresponding region of each pixel of watermarking images, and each pixel is corresponding Value of the pixel average in region as the pixel is restored by the value of each pixel of watermarking images and is superimposed upon the target Watermarking images in picture.
For example, 9 × 9 region has corresponded to a pixel in watermarking images in watermark also original image, in watermarking images A pixel it is corresponding value be equal to 9 × 9 corresponding regions in pixel average value.So obtained by watermark also original image To 16 × 13 watermarking images.
A kind of image blind watermarking processing method for improving robustness and encoding amount is present embodiments provided, in watermark reduction In the process, watermarking images are obtained by bounds size reset operation, passes through the source-information of the watermarking images decoding picture, tool There is good identifiability.
Further, described to be carried out in outgoing original image or to original image on the basis of the various embodiments described above Before screenshot, watermarking images are obtained according to the quick response codes that current user information, facility information and timestamp generate, to institute Watermarking images progress size is stated to reset to obtain target watermarking images, comprising:
Outgoing original image or to original image carry out screenshot before, obtain current user information, facility information and Timestamp, the user information that will acquire, facility information and timestamp transcoding are decimal number, are generated according to the decimal number of transcoding Quick response codes, will remove the quick response codes of location information, version information and timing information according to setting watermark re format, The watermarking images are obtained, the ratio enlargement that the watermarking images are reset according to the size of setting obtains the target watermark Image.
Further, described to restore mesh described in outgoing according to the watermarking images on the basis of the various embodiments described above Mark on a map piece or to the Target Photo carry out screenshot when user information, facility information and timestamp, as the target figure The watermark information of piece exports the watermark information restored, comprising:
The watermarking images are reset, and in watermarking images after rearrangement increase location information, version information and Timing information generates quick response codes, identifies the corresponding decimal number of quick response codes, solve to obtained decimal number User information, facility information and time when code obtains Target Photo described in outgoing or carries out screenshot to the Target Photo Stamp, as the watermark information of the Target Photo, exports the watermark information restored.
Set watermark format, for example, 16 × 13 watermarking images.Location information, version information and timing information are quick The attribute information of answer code.
In the present embodiment, user information, facility information and timestamp are 8 decimal numbers, these three information groups At 24 decimal numbers.This 24 decimal number is generated into two dimensional code, removes location information on two dimensional code, version information And timing information, the information on two-dimensional code data position and error correction bit is only obtained, which is rearranged to 16 × 13 watermarking images. When to watermarking images decoding, two dimensional code is restored by addition location information, version information and timing information, is known by two dimensional code Not Chu decimal number, decrypted to obtain user information, facility information and timestamp by decimal number.
A kind of image blind watermarking processing method for improving robustness and encoding amount is present embodiments provided, quick response is passed through Code, which is realized, is converted to two dimensional code for image credit information, and two dimensional code is decoded as to the process of image credit information, guarantees Watermark addition and watermark information extraction process are gone on smoothly.
In summary, the process for generating watermarking images is summarized as following steps, step 1: coding current user information, equipment Information and timestamp are to one 24 decimal numbers;Step 2: by decimal number obtained in step 1 according to quick response Code is encoded;Step 3: by the location information of quick response codes obtained in step 2, version information and timing information are gone It recodes after falling, obtains final watermark picture.
The process for extracting watermark information is summarized as following steps, step 1: after carrying out Fourier transformation to image, according to right Position is answered to extract the watermarking images after superposition original image frequency domain information;Step 2: according to unit block sizes to step 1 Obtained in watermarking images each unit square carry out the resetting of bounds size;Step 3: according to watermark information coding stage Recodification mode, the location information of completion quick response codes, version information and timing information, and identify watermark letter therein Breath.
The above process uses quick response codes in watermark information coding stage and replaces original plaintext coding, greatly increases The portable information content of onesize watermarking images, while using the error correcting capability of quick response codes enhancing the robust of scheme Property.Bounds size is used during watermark information extracts stage of reduction quick response codes to reset to be conducive to fight The mixed and disorderly frequency domain information that original image is superimposed on it extracts naked eyes information inconspicuous, is based in conjunction with quick response codes The error correction step of Reed-Solomon code, to effectively promote the robustness of the watermarking project.
In order to watermarking images generate and watermark information extraction illustrated in more detail, Fig. 5 for the present embodiment provides Blind watermatking image generate flow diagram, referring to Fig. 5, which can be summarized as following steps:
Step 1: obtaining by outgoing or the original image of screenshot;
Step 2: by current user information, end message, temporal information transcoding is decimal number, and is switched to quickly Answer code image, and take wherein data bit and error correction bit position as watermark information, and regard the resetting of its size as watermarking images;
Step 3: Fast Fourier Transform (FFT) is done as frequency area image to original image;
Step 4: the high-frequency region size for the frequency area image that watermarking images obtained in step 2 are obtained according to step 3 Upset at random, by the image superposition after upsetting on the real part for each pixel position of frequency area image that step 3 obtains, save with Machine;
Step 5: image obtained in the previous step being done into inverse Fourier transform, gives up imaginary part information therein, only retains real part Information obtains the image for carrying blind watermatking;
Step 6: completing outgoing or shot operation using the image in step 5.
Fig. 6 is the flow diagram of blind watermatking information extraction provided in this embodiment, and referring to Fig. 6, which can be summarized For following steps:
Step 1: Fast Fourier Transform (FFT) being carried out to image and obtains its frequency area image;
Step 2: stage parameter being added according to watermark and is intercepted from frequency area image with noisy watermarking images, life is used Image is restored at the random seed that the stage saves, is obtained with noisy watermarking images;
Step 3: carrying out the resetting of bounds size to noisy watermarking images, and carry out binaryzation and obtain containing only fastly The image of fast answer code data bit and error correction bit;
Step 4: the location information of completion Quick Response Code Image, version information and timing information obtain complete fast Fast answer code image;
Step 5: extracting the decimal number information in Quick Response Code Image;
Step 6: being user, equipment and the temporal information of transmission source by obtained decimal sequence transcoding.
Method provided in this embodiment is improved by improving watermark information coding mode and watermark information extracting method Outgoing image also improves the information content carried in same size watermarking images, and eliminate to the ability of incompressible equal noises Extract and need the step of manually recognizing during watermark information, provide it is a kind of more efficiently, it is bigger to carry information content, and robust Property more preferably image blind watermarking scheme.
Fig. 7 shows the image blind watermarking processing dress of a kind of the raising robustness and encoding amount of the embodiment of the present invention offer The structural block diagram set, referring to Fig. 7, the image blind watermarking processing unit of raising robustness provided in this embodiment and encoding amount includes Watermark generation module 701, watermark superposition module 702 and processing module 703, wherein
Watermark generation module 701 is used in outgoing original image or before carrying out screenshot to original image, according to current User information, the quick response codes that generate of facility information and timestamp obtain watermarking images, ruler is carried out to the watermarking images Very little resetting obtains target watermarking images;
Watermark superposition module 702 obtains first frequency domain picture for carrying out Fourier transformation to the original image, will The target watermarking images be added in the picture of the first frequency domain it is preset superposition watermark the first overlap-add region, folded Add picture;
Processing module 703 obtains carrying the target watermark figure for carrying out inverse Fourier transform to the superposition picture The picture of picture, as Target Photo, Target Photo described in outgoing or to the Target Photo carry out screenshot.
The image blind watermarking processing unit provided in this embodiment for improving robustness and encoding amount is suitable for above-described embodiment The raising robustness of middle offer and the image blind watermarking processing method of encoding amount, details are not described herein.
The embodiment provides a kind of image blind watermarking processing units for improving robustness and encoding amount, by outgoing Or the corresponding transmission source information of original image is converted to quick response codes when screenshot, and carrying is extracted from quick response codes Send the watermarking images of source information.To the first frequency domain figure for the original image that is added to after watermarking images progress size resetting In piece, the Target Photo of watermarked image is obtained by inverse Fourier transform.Decoding the watermark information in Target Photo When, carrying out reduction to the region for being superimposed watermarking images can be obtained transmission source information.It is used in watermark information coding stage Quick response codes replace original plaintext coding, considerably increase the portable information content of onesize watermarking images, utilize The error correcting capability of quick response codes also enhances the robustness of watermark.It does not need manually to recognize when extracting watermark information simultaneously, increase The strong identifiability of watermark.
Fig. 8 is the structural block diagram for showing electronic equipment provided in this embodiment.
Referring to Fig. 8, the electronic equipment includes: processor (processor) 801, memory (memory) 802, communication Interface (Communications Interface) 803 and bus 804;
Wherein,
The processor 801, memory 802, communication interface 803 complete mutual communication by the bus 804;
The communication interface 803 is for the information transmission between the electronic equipment and the communication equipment of other electronic equipments;
The processor 801 is used to call the program instruction in the memory 802, to execute above-mentioned each method embodiment Provided method, for example, before in outgoing original image or carrying out screenshot to original image, by according to current use The quick response codes that family information, facility information and timestamp generate obtain watermarking images, carry out size weight to the watermarking images It sets to obtain target watermarking images;Fourier transformation is carried out to the original image and obtains first frequency domain picture, by the target Watermarking images be added in the picture of the first frequency domain it is preset superposition watermark the first overlap-add region, obtain superposition picture; The picture that inverse Fourier transform obtains carrying the target watermarking images is carried out to the superposition picture, as Target Photo, outside It sends out Target Photo described or screenshot is carried out to the Target Photo.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example It such as include: in outgoing original image or before carrying out screenshot to original image, by according to current user information, facility information The quick response codes generated with timestamp obtain watermarking images, carry out size to the watermarking images and reset to obtain target watermark figure Picture;Fourier transformation is carried out to the original image and obtains first frequency domain picture, the target watermarking images are added to institute The first overlap-add region for stating preset superposition watermark in the picture of first frequency domain, obtains superposition picture;To the superposition picture into Row inverse Fourier transform obtains carrying the picture of the target watermarking images, as Target Photo, Target Photo described in outgoing or Person carries out screenshot to the Target Photo.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, it may for example comprise: in outgoing original image Or before carrying out screenshot to original image, by the quick sound generated according to current user information, facility information and timestamp It answers code to obtain watermarking images, size is carried out to the watermarking images and resets to obtain target watermarking images;To the original image into Row Fourier transformation obtains first frequency domain picture, and the target watermarking images are added in the picture of the first frequency domain in advance If superposition watermark the first overlap-add region, obtain superposition picture;Inverse Fourier transform is carried out to the superposition picture to be taken Picture with the target watermarking images, as Target Photo, Target Photo described in outgoing or to the Target Photo carry out Screenshot.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, wherein it is described as illustrated by the separation member Unit may or may not be physically separated, and component shown as a unit may or may not be object Manage unit, it can it is in one place, or may be distributed over multiple network units.It can select according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound In the case where the labour for the property made, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution The range of each embodiment technical solution of the embodiment of the present invention.

Claims (14)

1. a kind of image blind watermarking processing method for improving robustness and encoding amount characterized by comprising
Outgoing original image or to original image carry out screenshot before, by according to current user information, facility information and The quick response codes that timestamp generates obtain watermarking images, carry out size to the watermarking images and reset to obtain target watermark figure Picture;
Fourier transformation is carried out to the original image and obtains first frequency domain picture, the target watermarking images are added to institute The first overlap-add region for stating preset superposition watermark in the picture of first frequency domain, obtains superposition picture;
The picture that inverse Fourier transform obtains carrying the target watermarking images is carried out to the superposition picture, as target figure Piece, Target Photo described in outgoing or carries out screenshot to the Target Photo.
2. the method according to claim 1, wherein further include:
The Target Photo for obtaining watermark information extraction to be carried out carries out Fourier transformation to the Target Photo and obtains second frequency Domain picture;
Intercepted from the picture of the second frequency domain it is preset fold the second watermarked overlap-add region, as watermark also original image Picture carries out bounds size reset operation to the watermark also original image, obtains the watermark figure being superimposed upon in the Target Photo Picture;
User when restoring Target Photo described in outgoing according to the watermarking images or carrying out screenshot to the Target Photo Information, facility information and timestamp export the watermark information restored as the watermark information of the Target Photo.
3. according to the method described in claim 2, it is characterized in that, described obtain original image progress Fourier transformation The target watermarking images are added to the of preset superposition watermark in the picture of the first frequency domain by first frequency domain picture One overlap-add region obtains superposition picture, comprising:
Fourier transformation is carried out to the original image and obtains first frequency domain picture, according to the random seed of setting by the mesh Mark watermarking images are upset at random, and the target watermarking images after upsetting are added to first overlap-add region, obtain the superposition Picture.
4. according to the method described in claim 3, it is characterized in that, it is described intercepted from the picture of the second frequency domain it is preset The second watermarked overlap-add region is folded, as watermark also original image, bounds size weight is carried out to the watermark also original image Operation is set, the watermarking images being superimposed upon in the Target Photo are obtained, comprising:
Second overlap-add region is intercepted from the picture of the second frequency domain, according to the random seed to described the of interception The image of two overlap-add regions is restored, using the image after reduction as the watermark also original image;
To the watermark also original image by Edge contrast, according to setting when watermarking images are added to the Target Photo The ratio-dependent for carrying out size resetting goes out the corresponding region of each pixel of watermarking images, by the corresponding region of each pixel Value of the pixel average as the pixel, restored by the value of each pixel of watermarking images and be superimposed upon the Target Photo In watermarking images.
5. according to right want 1 described in method, which is characterized in that it is described in outgoing original image or original image to be cut Before figure, watermarking images are obtained according to the quick response codes that current user information, facility information and timestamp generate, to described Watermarking images carry out size and reset to obtain target watermarking images, comprising:
Before in outgoing original image or carrying out screenshot to original image, current user information, facility information and time are obtained Stamp, user information, facility information and the timestamp transcoding that will acquire are decimal number, are generated according to the decimal number of transcoding quick Answer code is obtained by the quick response codes for removing location information, version information and timing information according to setting watermark re format The watermarking images, the ratio enlargement that the watermarking images are reset according to the size of setting, obtain the target watermarking images.
6. according to right want 2 described in method, which is characterized in that it is described to restore target described in outgoing according to the watermarking images Picture or to the Target Photo carry out screenshot when user information, facility information and timestamp, as the Target Photo Watermark information, export the watermark information restored, comprising:
The watermarking images are reset, and increase location information, version information and timing in watermarking images after rearrangement Information generates quick response codes, identifies the corresponding decimal number of quick response codes, be decoded to obtained decimal number User information, facility information and the timestamp when screenshot are carried out to Target Photo described in outgoing or to the Target Photo, are made For the watermark information of the Target Photo, the watermark information restored is exported.
7. a kind of image blind watermarking processing unit for improving robustness and encoding amount characterized by comprising
Watermark generation module is used in outgoing original image or before carrying out screenshot to original image, according to current user The quick response codes that information, facility information and timestamp generate obtain watermarking images, carry out size resetting to the watermarking images Obtain target watermarking images;
Watermark superposition module obtains first frequency domain picture for carrying out Fourier transformation to the original image, by the mesh Mark watermarking images be added in the picture of the first frequency domain it is preset superposition watermark the first overlap-add region, obtain stacking chart Piece;
Processing module, for carrying out the figure that inverse Fourier transform obtains carrying the target watermarking images to the superposition picture Piece, as Target Photo, Target Photo described in outgoing or to the Target Photo carry out screenshot.
8. device according to claim 7, which is characterized in that further include watermark decoder module;
The watermark decoder module is used to obtain the Target Photo of watermark information extraction to be carried out, and carries out Fu to the Target Photo In leaf transformation obtain second frequency domain picture;Intercept that preset to fold watermarked second folded from the picture of the second frequency domain Add region, as watermark also original image, bounds size reset operation is carried out to the watermark also original image, obtains being superimposed upon institute State the watermarking images in Target Photo;Target Photo described in outgoing is restored according to the watermarking images or to the target figure Piece carries out user information, facility information and the timestamp when screenshot, and as the watermark information of the Target Photo, output is restored Watermark information.
9. device according to claim 8, which is characterized in that the watermark superposition module is also used to the original image It carries out Fourier transformation and obtains first frequency domain picture, beaten the target watermarking images at random according to the random seed of setting Disorderly, the target watermarking images after upsetting are added to first overlap-add region, obtain the superposition picture.
10. device according to claim 9, which is characterized in that the watermark decoder module is for being also used to from institute It states and intercepts second overlap-add region in the picture of second frequency domain, according to the random seed to second superposition area of interception The image in domain is restored, using the image after reduction as the watermark also original image;To the watermark by Edge contrast Also original image goes out watermark according to the ratio-dependent for carrying out size resetting when watermarking images to be added to the Target Photo of setting The corresponding region of each pixel of image, using the pixel average in the corresponding region of each pixel as the pixel Value, restores the watermarking images being superimposed upon in the Target Photo by the value of each pixel of watermarking images.
11. device according to claim 7, which is characterized in that the watermark generation module is also used in outgoing original image Or before carrying out screenshot to original image, current user information, facility information and timestamp are obtained, the user's letter that will acquire Breath, facility information and timestamp transcoding are decimal number, generate quick response codes according to the decimal number of transcoding, will remove positioning The quick response codes of information, version information and timing information obtain the watermarking images, by institute according to setting watermark re format The ratio enlargement that watermarking images are reset according to the size of setting is stated, the target watermarking images are obtained.
12. according to right want 8 described in device, which is characterized in that the watermark decoder module is also used to the watermarking images It is reset, and increases location information, version information and timing information in watermarking images after rearrangement, generate quick response Code, identifies the corresponding decimal number of quick response codes, is decoded to obtain target figure described in outgoing obtained decimal number Piece or to the Target Photo carry out screenshot when user information, facility information and timestamp, as the Target Photo Watermark information exports the watermark information restored.
13. a kind of electronic equipment characterized by comprising
At least one processor, at least one processor, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the electronic equipment and the communication equipment of other electronic equipments;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy It is enough to execute such as method described in any one of claims 1 to 6.
14. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute such as method as claimed in any one of claims 1 to 6.
CN201811611139.4A 2018-12-27 2018-12-27 Image blind watermarking processing method and device for improving robustness and coding quantity Active CN109829843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811611139.4A CN109829843B (en) 2018-12-27 2018-12-27 Image blind watermarking processing method and device for improving robustness and coding quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811611139.4A CN109829843B (en) 2018-12-27 2018-12-27 Image blind watermarking processing method and device for improving robustness and coding quantity

Publications (2)

Publication Number Publication Date
CN109829843A true CN109829843A (en) 2019-05-31
CN109829843B CN109829843B (en) 2023-08-22

Family

ID=66861322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811611139.4A Active CN109829843B (en) 2018-12-27 2018-12-27 Image blind watermarking processing method and device for improving robustness and coding quantity

Country Status (1)

Country Link
CN (1) CN109829843B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634095A (en) * 2019-08-02 2019-12-31 北京大米科技有限公司 Watermark adding method, watermark identifying method, watermark adding device, watermark identifying device and electronic equipment
CN111147686A (en) * 2019-12-31 2020-05-12 上海影卓信息科技有限公司 Video and image content tracking method and system based on steganographic information
CN111461955A (en) * 2020-03-31 2020-07-28 上海德易车信息科技有限公司 Method and device for automatically increasing digital blind watermark in screenshot, electronic equipment and storage medium
CN111737662A (en) * 2020-06-16 2020-10-02 北京达佳互联信息技术有限公司 Watermark adding method, watermark extracting method, watermark adding device, watermark extracting device and electronic equipment
CN112184535A (en) * 2020-10-29 2021-01-05 维沃移动通信有限公司 Image anti-counterfeiting method, device and equipment
CN112580110A (en) * 2020-12-23 2021-03-30 国家电网有限公司大数据中心 Data resource sharing safety method based on watermark technology
CN113284034A (en) * 2021-05-27 2021-08-20 中国联合网络通信集团有限公司 Image processing method and device
CN114385984A (en) * 2022-03-22 2022-04-22 腾讯科技(深圳)有限公司 Application traceability management method, device, equipment and storage medium
CN112184535B (en) * 2020-10-29 2024-04-26 维沃移动通信有限公司 Image anti-counterfeiting method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016035751A (en) * 2014-08-01 2016-03-17 国立大学法人 鹿児島大学 Two-dimensional code with watermark, authentication system, authentication method, and program
CN107622470A (en) * 2017-09-01 2018-01-23 杭州趣维科技有限公司 A kind of real-time robust embedding algorithm and extracting method based on Quick Response Code
CN108492238A (en) * 2018-03-07 2018-09-04 小明太极(湖北)国漫文化有限公司 Blind watermatking embedding grammar and extracting method
CN108876694A (en) * 2018-05-31 2018-11-23 上海理工大学 The threedimensional model blind watermark algorithm algorithm decomposed based on Schur

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016035751A (en) * 2014-08-01 2016-03-17 国立大学法人 鹿児島大学 Two-dimensional code with watermark, authentication system, authentication method, and program
CN107622470A (en) * 2017-09-01 2018-01-23 杭州趣维科技有限公司 A kind of real-time robust embedding algorithm and extracting method based on Quick Response Code
CN108492238A (en) * 2018-03-07 2018-09-04 小明太极(湖北)国漫文化有限公司 Blind watermatking embedding grammar and extracting method
CN108876694A (en) * 2018-05-31 2018-11-23 上海理工大学 The threedimensional model blind watermark algorithm algorithm decomposed based on Schur

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
关虎 等: "基于二维码的鲁棒图像水印技术及应用研究", 《有线电视技术》 *
孙丙: "条码与数字水印相结合的防伪技术研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634095A (en) * 2019-08-02 2019-12-31 北京大米科技有限公司 Watermark adding method, watermark identifying method, watermark adding device, watermark identifying device and electronic equipment
CN110634095B (en) * 2019-08-02 2023-08-08 北京大米科技有限公司 Watermark adding method, watermark identifying device and electronic equipment
WO2021023085A1 (en) * 2019-08-02 2021-02-11 北京大米科技有限公司 Watermark adding method and apparatus, watermark recognition method and apparatus, and electronic device
CN111147686A (en) * 2019-12-31 2020-05-12 上海影卓信息科技有限公司 Video and image content tracking method and system based on steganographic information
CN111461955A (en) * 2020-03-31 2020-07-28 上海德易车信息科技有限公司 Method and device for automatically increasing digital blind watermark in screenshot, electronic equipment and storage medium
CN111737662A (en) * 2020-06-16 2020-10-02 北京达佳互联信息技术有限公司 Watermark adding method, watermark extracting method, watermark adding device, watermark extracting device and electronic equipment
WO2022089482A1 (en) * 2020-10-29 2022-05-05 维沃移动通信有限公司 Image anti-counterfeiting method and apparatus, and device
CN112184535A (en) * 2020-10-29 2021-01-05 维沃移动通信有限公司 Image anti-counterfeiting method, device and equipment
CN112184535B (en) * 2020-10-29 2024-04-26 维沃移动通信有限公司 Image anti-counterfeiting method, device and equipment
CN112580110A (en) * 2020-12-23 2021-03-30 国家电网有限公司大数据中心 Data resource sharing safety method based on watermark technology
CN113284034A (en) * 2021-05-27 2021-08-20 中国联合网络通信集团有限公司 Image processing method and device
CN114385984A (en) * 2022-03-22 2022-04-22 腾讯科技(深圳)有限公司 Application traceability management method, device, equipment and storage medium
CN114385984B (en) * 2022-03-22 2023-03-14 腾讯科技(深圳)有限公司 Application traceability management method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109829843B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN109829843A (en) A kind of image blind watermarking processing method and processing device improving robustness and encoding amount
Li et al. A QDCT-and SVD-based color image watermarking scheme using an optimized encrypted binary computer-generated hologram
WO2020098422A1 (en) Encoded pattern processing method and device , storage medium and electronic device
CN104168484A (en) Video watermarking method based on visual attention mechanism
CN107391976A (en) A kind of document protection method and apparatus based on ambient noise and vector watermark
CN112307520A (en) Electronic seal adding and verifying method and system
CN111353956B (en) Image restoration method and device, computer equipment and storage medium
CN109886856A (en) To the digital watermark method of screen shot process robust
CN114157773B (en) Image steganography method based on convolutional neural network and frequency domain attention
CN108040190A (en) A kind of stealth watermark recognition methods, device and storage device
CN107240060A (en) Security against fire based on dynamic digital watermark checks picture method for anti-counterfeit and system
CN113628090A (en) Anti-interference message steganography and extraction method and system, computer equipment and terminal
CN109829475A (en) A kind of dark watermark handling method of image based on deep learning and device
CN109816077A (en) A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium
CN111294543A (en) System and method for video monitoring photographing protection
Boroumand et al. Are we there yet?
KR20230086996A (en) A computer program that performs the noise addition process
KR20230086999A (en) A recording medium recording a virtual character content creation program
CN114549270A (en) Anti-shooting monitoring video watermarking method combining depth robust watermarking and template synchronization
Alam et al. An investigation into image hiding steganography with digital signature framework
CN111274601A (en) Image security identification system and method under network environment
CN115984865B (en) Text recognition method, device, electronic equipment and storage medium
CN117437108B (en) Watermark embedding method for image data
EA034104B1 (en) Method of authenticating images based on digital watermarks formed with use of chaotic imaging
KR20230086993A (en) Method for extracting a face image for a virtual person based on the noise adding process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant after: Qianxin Technology Group Co.,Ltd.

Address before: 100015 15, 17 floor 1701-26, 3 building, 10 Jiuxianqiao Road, Chaoyang District, Beijing.

Applicant before: BEIJING QIANXIN TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant