CN109767375A - The method and system of image watermark insertion and retrospect - Google Patents

The method and system of image watermark insertion and retrospect Download PDF

Info

Publication number
CN109767375A
CN109767375A CN201811489875.7A CN201811489875A CN109767375A CN 109767375 A CN109767375 A CN 109767375A CN 201811489875 A CN201811489875 A CN 201811489875A CN 109767375 A CN109767375 A CN 109767375A
Authority
CN
China
Prior art keywords
information
image
pixel
encryption
algorithm
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
CN201811489875.7A
Other languages
Chinese (zh)
Other versions
CN109767375B (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 North Source Information Safe Technology Ltd
Original Assignee
Beijing North Source Information Safe Technology 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 North Source Information Safe Technology Ltd filed Critical Beijing North Source Information Safe Technology Ltd
Priority to CN201811489875.7A priority Critical patent/CN109767375B/en
Publication of CN109767375A publication Critical patent/CN109767375A/en
Application granted granted Critical
Publication of CN109767375B publication Critical patent/CN109767375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method and system of image watermark insertion and retrospect, wherein this method comprises: extracting the pixel in image to be processed by default extraction strategy, the pixel based on extraction generates image watermark drawing point;It is encrypted based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information, generates encryption information, the encryption information is converted into binary sequence information;Based on gray scale algorithm and graphical device interface GDI and the binary sequence information, described image watermark drawing point processed is redrawn, described image watermark is obtained.The embodiment of the present invention encrypts watermark content using Encryption Algorithm, adjusts watermark color and transparency, not only watermark content was prevented to be tampered, but also reduces influence of the watermark to picture and block.

Description

The method and system of image watermark insertion and retrospect
Technical field
The present invention relates to field of information security technology, a kind of method for being embedded in and tracing in particular to image watermark And system.
Background technique
With the rapid development of internet and multimedia technology, digital picture most important one as multimedia messages Point, copyright has been concerned about by more and more people.Nowadays text or label are added in enterprise, personal mainly pass through in the picture Chapter protects its equity in a manner of image watermark, but the watermark mode of most of image is too simple, image itself or watermark Content is easy to be tampered or replicate, and on the internet so as to cause the image exposure much without copyright owner's license, but writes The legitimate rights and interests for making power people are unable to get due protection.Existing Image Watermarking Technique simultaneously, such as text watermark easily block Image content influences to read, and destroys the initial quality of image.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of method and system of image watermark insertion and retrospect, to subtract It is few and to lead to image itself or the problem of watermark content is easily tampered or replicates because the mode of addition image watermark is simple, And adjustment watermark transparency, reduce the problem of image content is blocked in watermark.
In a first aspect, the embodiment of the invention provides the methods of image watermark insertion, comprising:
By the default pixel extracted in strategy extraction image to be processed, the pixel based on extraction generates image watermark and draws Figure point;
It is encrypted based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information, generates encryption letter Breath, is converted to binary sequence information for the encryption information;
Based on gray scale algorithm and graphical device interface GDI and the binary sequence information, described image water processed is redrawn Drawing point is printed, described image watermark is obtained.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute Stating Encryption Algorithm includes symmetric encipherment algorithm and rivest, shamir, adelman.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute It states encrypt based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information and includes:
Globally unique identifier GUID is generated based on CoCreateGuid function, obtains the close of the symmetric encipherment algorithm Key;
Based on the Encryption Algorithm, the attribute using the image to be processed for described in the key pair including Copyright Information is believed Breath is encrypted.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute It states based on gray scale algorithm and graphical device interface GDI and the binary sequence information, redraws described image watermark processed and draw It puts and includes:
The first pixel in described image watermark drawing point is extracted, first pixel is obtained based on gray scale algorithm First color value;
The transparency that first color value is adjusted based on GDI obtains the second color value of first pixel;
According to the corresponding rule of the binary sequence information, it is determined whether draw described on first pixel Second colors value.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect Possible embodiment, wherein first color value for obtaining first pixel based on gray scale algorithm includes:
In the picture, the color value that a pixel is preset around centered on first pixel is obtained;
The color value of the default pixel is input in gray scale algorithm, average color is generated, obtains described the One color value.
Second aspect, the embodiment of the invention provides a kind of methods of image watermark retrospect, wherein includes:
Pixel all in image is traversed, image watermark drawing point is obtained based on gray scale algorithm;
The binary sequence information for extracting described image watermark drawing point, is converted to encryption for the binary sequence information Information;
The encryption information is decrypted based on decipherment algorithm, generate solution confidential information, the decryption information include comprising The attribute information of the image to be processed of Copyright Information.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute It states and determines that image watermark drawing point includes: based on gray scale algorithm
The color value of the pixel in described image is extracted based on gray scale algorithm;
The color value of the color value of the pixel of extraction and the described image watermark drawing point of record is matched, matching at Function, the pixel extracted are described image watermark drawing point.
The third aspect, the embodiment of the invention provides a kind of systems of image watermark insertion, wherein includes:
Image watermark module is generated, for pressing the tactful pixel extracted in image to be processed of default extraction, is based on extracting Pixel generate image watermark drawing point;
Encrypting module, for being added based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information It is close, encryption information is generated, the encryption information is converted into binary sequence information;
Embedded images watermark module, for based on gray scale algorithm and graphical device interface GDI and the binary sequence Information redraws described image watermark drawing point processed, obtains described image watermark.
In conjunction with the third aspect, the embodiment of the invention provides the first possible embodiments of the third aspect, wherein institute Stating encrypting module includes:
Key generating unit obtains described for generating globally unique identifier GUID based on CoCreateGuid function The key of symmetric encipherment algorithm;
Encryption unit, for be based on the Encryption Algorithm, using described in the key pair include Copyright Information wait locate The attribute information of reason image is encrypted.
Fourth aspect, the embodiment of the invention provides a kind of systems of image watermark retrospect, wherein includes:
Determining module obtains image watermark drawing point based on gray scale algorithm for traversing pixel all in image;
Extraction module, for extracting the binary sequence information of described image watermark drawing point, by the binary sequence Information is converted to encryption information;
Deciphering module generates solution confidential information, the decryption for the encryption information to be decrypted based on decipherment algorithm Information includes the attribute information of the image to be processed comprising Copyright Information.
The method and system of image watermark provided in an embodiment of the present invention insertion and retrospect, using Encryption Algorithm to obtaining in advance The basic confidence of Copyright Information, image taken is encrypted, and encryption information is plotted in image watermark drawing point, with the prior art In text is added in the picture or the watermark mode of stamped signature is compared, effectively prevent traditional images software for editing to distort it, And by adjusting watermark pixel transparency, watermark is effectively prevent to block picture
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the flow chart of Image Watermarking provided by the embodiment of the present invention;
Fig. 2 shows provided by the embodiment of the present invention based on Encryption Algorithm to the image to be processed comprising Copyright Information The flow chart that is encrypted of attribute information;
Fig. 3 is shown provided by the embodiment of the present invention based on gray scale algorithm and graphical device interface GDI and binary system Matrix information redraws the flow chart of imaged watermark drawing point;
Fig. 4 shows the flow chart that the first color value is obtained provided by the embodiment of the present invention;
Fig. 5 shows the flow chart of image watermark retroactive method provided by the embodiment of the present invention;
Fig. 6 shows the flow chart for determining image watermark drawing point provided by the embodiment of the present invention based on gray scale algorithm;
Fig. 7 shows the structural schematic diagram of image watermark embedded system provided by the embodiment of the present invention;
Fig. 8 shows the structural schematic diagram of image watermark traceability system provided by the embodiment of the present invention.
Main element symbol description: 1- generates image watermark module;2- encrypting module;3- embedded images watermark module;4- Determining module;5- extraction module;6- deciphering module.
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 Middle attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the range of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on the embodiment of the present invention, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall within the protection scope of the present invention.
In view of the watermark mode of text or stamped signature is added in the picture in the prior art, because of the watermark of most of image Mode is too simple, and image itself or watermark content are easy to be tampered or be replicated, and watermark is easy to block in picture Hold, influence to read, destroy the initial quality of image, be based on this, the embodiment of the invention provides a kind of insertion of image watermark and The method and system of retrospect, are described below by embodiment.
The embodiment of the invention provides a kind of methods of image watermark insertion, as shown in Figure 1, specifically including following steps S101~S103:
S101, by the default pixel extracted in strategy extraction image to be processed, the pixel based on extraction generates image Watermark drawing point.
Provide the image upper left corner to be processed pixel be first pixel, with from left to right, from it is upper and under sequence The pixel in entire image to be processed is traversed, extracts the pixel in image, the pixel based on extraction every 50 pixels Point generates image watermark drawing point, and records the color value and coordinate information of the pixel.
Before implementation steps S101, the image data of all pixels point in image, image are obtained using the library WINDOWS GDI Data include the color value and coordinate information of pixel.The image of real world is generally by the power and frequency of every bit light on image Spectrum is to indicate, must be many zonules by picture breakdown, these zonules are known as picture when converting image information into data information Element often uses color image Red Green Blue representation in components.
The main task of GDI (graphical device interface, Graphics Device Interface) is responsible for system and draws Information exchange between program handles the images outputting of all Windows programs.It is most under Windows operating system The application program for having graphical interfaces all be unable to do without GDI, we are being shielded using what numerous functions provided by GDI can be convenient The operation such as output pattern, text on curtain, printer and other output equipments, the appearance of GDI make programmer without being concerned about that hardware is set Standby and device drives, so that it may convert the output on hardware device for the output of application program, realize program developer with The isolation of hardware device, greatly facilitates development.
S102 is encrypted based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information, is generated Encryption information is converted to binary sequence information by encryption information.
The Encryption Algorithm includes symmetric encipherment algorithm and rivest, shamir, adelman.Optionally, as shown in Fig. 2, step Following steps S201~S202 is specifically included in S102:
S201 generates globally unique identifier GUID based on CoCreateGuid function, obtains the close of symmetric encipherment algorithm Key.
Global uniqueness mark identifier GUID, also referred to as UUID.GUID be it is a kind of by algorithm generate binary length be 128 numeric identifiers, GUID is mainly used in the network or system for possessing multiple nodes, multiple stage computers, in ideal In the case of, any computer and computer cluster will not all generate two identical GUID, therefore use GUID for symmetric cryptography Its encryption can be improved in the key of algorithm, prevents from being cracked by other people.
S202 is based on Encryption Algorithm, is carried out using the attribute information that key pair includes the image to be processed of Copyright Information Encryption.
In a symmetric encryption algorithm, using the attribute information of the image to be processed comprising Copyright Information as plaintext and encryption Key GUID after the processing of special Encryption Algorithm, generates encryption information together.Wherein, Copyright Information include author's name, Identification card number, can also using include photographing data, shooting places and image dimension information image essential information as plaintext into Row encryption, in addition to this, the image watermark encrypted content is customizable, independently selects encrypted content by user.It is adopted in the present embodiment With common symmetric encipherment algorithm, specially DES (Data Encryption Standard, data encryption standards), 3DES (Triple DES, triple data encryption algorithm), AES (Advanced Encryption Standard, Advanced Encryption Standard) Deng.
The encryption information of generation is adopted as hexadecimal format, and hexadecimal encryption information is converted to binary sequence letter Breath, as an alternative embodiment, binary sequence information can be binary matrix information.1 hexadecimal number is 4 two corresponding System number can be converted to the binary matrix information of n × 4 for one n hexadecimal.
S103 is redrawn imaged watermark and is drawn based on gray scale algorithm and graphical device interface GDI and binary sequence information Figure point, obtains image watermark.
Optionally, as shown in figure 3, specifically including following steps S301~S303 in step S103:
S301 extracts the first pixel in image watermark drawing point, obtains the of the first pixel based on gray scale algorithm One color value.
Optionally, as shown in figure 4, specifically including following steps S401~S402 in step S301:
S401 obtains the color value that a pixel is preset around centered on the first pixel in the picture.
The color value of default pixel is input in gray scale algorithm, generates average color, obtain the first face by S402 Color value.
A specific embodiment is lifted, centered on the first pixel, extracts the face of eight pixels around the first pixel Color value, and eight color values are input in gray scale algorithm and obtain corresponding eight gray values, then calculate eight gray values Average color, the average color of generation are the first color value of the first pixel.The image watermark can adaptive color, Reduce influence of the watermark to image itself.
S302 is adjusted the transparency of the first color value based on GDI, obtains the second color value of the first pixel.
In order not to allowing watermark shielded image content, influence to read, which can adjust the transparency of watermark pixel, It effectively prevent watermark to block picture, generally takes 30% transparency, the calculation formula (1) of the second color value is as follows:
Second color value=average color × 30% (1)
S303, according to the corresponding rule of binary sequence information, it is determined whether draw the second color on the first pixel Value.
In the embodiment of the present application, according to position of first pixel in image watermark drawing point, binary matrix is obtained In information, corresponding binary value at the position, according to corresponding binary value at the position, it is determined whether in the first pixel The second color value of upper drafting.For example, being extracted if position of first pixel in image watermark drawing point is the 5th row the 6th column In binary matrix information, the corresponding binary value of the 30th (5 × 6) a character, if the binary system is 1, in first pixel The second color value is drawn on point, covers the original color value of the first pixel;If the binary value is 0, in first picture Without drawing on vegetarian refreshments, retain the original color value of the first pixel.
In the embodiment of the present application, as an alternative embodiment, for binary matrix information, in image watermark drawing point Each pixel corresponds to 1 in binary matrix information, if it is 0 that the pixel, which corresponds to the value in binary matrix information, Not in second color value of pixel point-rendering, if it is 1 that the pixel, which corresponds to the value in binary matrix information, in the pixel Draw the second color value.In the embodiment of the present application, according to from left to right, from it is upper and under sequence, by binary matrix information Each binary system is corresponding with the pixel in image watermark drawing point.For example, binary matrix information is one 10 × 4 Matrix, image watermark drawing point are one 5 × 9 matrix, then the second row first row correspondence image water in binary matrix information The first row the 5th printed in drawing point arranges, and so on.
In the embodiment of the present application, as an alternative embodiment, if the pixel number that image watermark drawing point includes be greater than or Equal to the number of bits in binary sequence information, show encryption information can completely in the form of image watermark drawing point into Row characterization;If the pixel number that image watermark drawing point includes is less than the number of bits in binary sequence information, show to add Confidential information can only be characterized partially in the form of image watermark drawing point, thus, in subsequent trace to the source, it is impossible to restore completely The attribute information of image, thus, according to the corresponding rule of binary matrix information, it is determined whether is drawn on the first pixel Second colors value, comprising:
The binary digit in pixel number and binary sequence information for including in statistical picture watermark drawing point respectively Number;
If pixel number is not less than number of bits, according to position of first pixel in image watermark drawing point, obtain Corresponding binary value at the position is taken in binary matrix information, according to corresponding binary value at the position, it is determined whether The second color value is drawn on the first pixel;
If the pixel number that image watermark drawing point includes is less than the number of bits in binary sequence information, figure is returned As watermark is embedded in failure information.
The embodiment of the invention provides a kind of methods of image watermark retrospect, as shown in figure 5, specifically including following steps S501~S503:
S501 traverses pixel all in image, determines image watermark drawing point based on gray scale algorithm.
Optionally, as shown in fig. 6, specifically including following steps S601~S602 in step S501:
S601 extracts the color value of the pixel in image based on gray scale algorithm.
S602 matches the color value of the color value of the pixel of extraction and the image watermark drawing point of record, matching Success, the pixel extracted are described image watermark drawing point.
The second color value is not drawn based on 0, and 1 draws the rule of the second color value, then the image watermark drawing point obtained Pixel is 1, and obtained image watermark drawing point extracts strategy according to default, obtains the image watermark that pixel is 0 Drawing point.
S502 extracts the binary sequence information of image watermark drawing point, and binary sequence information is converted to encryption letter Breath.
By the image watermark drawing point in image with from left to right, from it is upper and under sequence arrangement, obtain binary sequence Information, corresponding 1 16 system of 4 binary systems can be converted to the 16 of one n for the binary sequence information of n × 4 System.S503 is decrypted encryption information based on decipherment algorithm, generates solution confidential information, decryption information includes comprising copyright The attribute information of the image to be processed of information.
Using symmetrical decipherment algorithm corresponding with symmetric encipherment algorithm, conciliate hexadecimal encryption information as ciphertext Key GUID passes through special decipherment algorithm together, generates solution confidential information, and decryption information includes comprising Copyright Information wait locate Manage the attribute information of image, wherein Copyright Information includes author's name, identification card number, and in addition to this, solution confidential information can be with It is customized other content.Therefore the image watermark can uniquely recall, and watermark can be effectively prevent to be replicated abuse.
The embodiment of the invention provides a kind of systems of image watermark insertion, as shown in fig. 7, the system includes: generation figure As watermark module 1, for extracting the tactful pixel extracted in image to be processed by default, the pixel based on extraction generates figure As watermark drawing point;Encrypting module 2, for the attribute information based on Encryption Algorithm to the image to be processed comprising Copyright Information It is encrypted, generates encryption information, encryption information is converted into binary sequence information;Embedded images watermark module 3 is used for base In gray scale algorithm and graphical device interface GDI and binary sequence information, it is plotted in image watermark drawing point again, obtains image Watermark.
Wherein, Encryption Algorithm includes symmetric encipherment algorithm and rivest, shamir, adelman, and encrypting module 2 includes: that key generates Unit obtains the key of symmetric encipherment algorithm for generating globally unique identifier GUID based on CoCreateGuid function;Add Close unit is added for being based on Encryption Algorithm using the attribute information that key pair includes the image to be processed of Copyright Information It is close.
The embodiment of the invention provides a kind of systems of image watermark retrospect, as shown in figure 8, the system comprises determining that mould Block 4 determines image watermark drawing point based on gray scale algorithm for traversing pixel all in image;Extraction module 5, is used for The binary sequence information for extracting image watermark drawing point, is converted to encryption information for binary sequence information;Deciphering module 6, For encryption information to be decrypted based on decipherment algorithm, solution confidential information is generated, decryption information includes comprising Copyright Information The attribute information of image to be processed.
Based on above-mentioned analysis it is found that and enterprise or user pass through addition text or stamped signature in the picture in the prior art Water mark method compare, the method for image watermark provided in an embodiment of the present invention insertion is using Encryption Algorithm to the copyright of acquisition Information, image essential information are encrypted, and the encryption information of generation is plotted on image watermark graphical pointv, and image watermark is drawn Point can adaptive color and adjustment transparency, effectively prevent traditional images software for editing to distort it, can also reduce watermark itself It influence to picture and blocks.
The computer program that the method and system of image watermark insertion and retrospect are carried out provided by the embodiment of the present invention produces Product, the computer readable storage medium including storing program code, before the instruction that said program code includes can be used for execution Method described in the embodiment of the method for face, specific implementation can be found in embodiment of the method, and details are not described herein.
The method and system of the insertion of image watermark provided by the embodiment of the present invention and retrospect can be specific in equipment Hardware or the software being installed in equipment or firmware etc..Device provided by the embodiment of the present invention, realization principle and generation Technical effect it is identical with preceding method embodiment, for briefly describe, Installation practice part do not refer to place, can refer to aforementioned Corresponding contents in embodiment of the method.It is apparent to those skilled in the art that for convenience and simplicity of description, it is preceding The system of description, the specific work process of device and unit are stated, the corresponding process during reference can be made to the above method embodiment, This is repeated no more.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can be by others side Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiment provided by the invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing, in addition, term " the One ", " second ", " third " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention.Should all it cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of method of image watermark insertion characterized by comprising
By the default pixel extracted in strategy extraction image to be processed, the pixel based on extraction generates image watermark and draws Point;
It is encrypted based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information, generates encryption information, The encryption information is converted into binary sequence information;
Based on gray scale algorithm and graphical device interface GDI and the binary sequence information, redraws described image watermark processed and draw Figure point, obtains described image watermark.
2. the method according to claim 1, wherein the Encryption Algorithm includes symmetric encipherment algorithm and asymmetric Encryption Algorithm.
3. the method according to claim 1, wherein it is described based on Encryption Algorithm to comprising Copyright Information The attribute information of image to be processed carries out encryption
Globally unique identifier GUID is generated based on CoCreateGuid function, obtains the key of the symmetric encipherment algorithm;
Based on the Encryption Algorithm, using the image to be processed for described in the key pair including Copyright Information attribute information into Row encryption.
4. the method according to claim 1, wherein it is described based on gray scale algorithm and graphical device interface GDI with And the binary sequence information, redrawing described image watermark drawing point processed includes:
The first pixel in described image watermark drawing point is extracted, the first of first pixel is obtained based on gray scale algorithm Color value;
The transparency that first color value is adjusted based on GDI obtains the second color value of first pixel;
According to the corresponding rule of the binary sequence information, it is determined whether draw second face on first pixel Color value.
5. according to the method described in claim 4, it is characterized in that, described obtain first pixel based on gray scale algorithm First color value includes:
In the picture, the color value that a pixel is preset around centered on first pixel is obtained;
The color value of the default pixel is input in gray scale algorithm, average color is generated, obtains first face Color value.
6. a kind of method of image watermark retrospect characterized by comprising
Pixel all in image is traversed, image watermark drawing point is obtained based on gray scale algorithm;
The binary sequence information is converted to encryption letter by the binary sequence information for extracting described image watermark drawing point Breath;
The encryption information is decrypted based on decipherment algorithm, generates solution confidential information, the decryption information includes comprising works Weigh the attribute information of the image to be processed of information.
7. according to the method described in claim 6, it is characterized in that, described determine image watermark drawing point packet based on gray scale algorithm It includes:
The color value of the pixel in described image is extracted based on gray scale algorithm;
The color value of the color value of the pixel of extraction and the described image watermark drawing point of record is matched, successful match, The pixel extracted is described image watermark drawing point.
8. a kind of system of image watermark insertion characterized by comprising
Image watermark module is generated, for extracting the tactful pixel extracted in image to be processed, the picture based on extraction by default Vegetarian refreshments generates image watermark drawing point;
Encrypting module, for being encrypted based on attribute information of the Encryption Algorithm to the image to be processed comprising Copyright Information, Encryption information is generated, the encryption information is converted into binary sequence information;
Embedded images watermark module, for being based on gray scale algorithm and graphical device interface GDI and the binary sequence information, Described image watermark drawing point processed is redrawn, described image watermark is obtained.
9. system according to claim 8, which is characterized in that the encrypting module includes:
Key generating unit obtains described symmetrical for generating globally unique identifier GUID based on CoCreateGuid function The key of Encryption Algorithm;
Encryption unit uses the figure to be processed for described in the key pair including Copyright Information for being based on the Encryption Algorithm The attribute information of picture is encrypted.
10. a kind of system of image watermark retrospect characterized by comprising
Determining module determines image watermark drawing point based on gray scale algorithm for traversing pixel all in image;
Extraction module, for extracting the binary matrix information of described image watermark drawing point, by the binary matrix information Be converted to encryption information;
Deciphering module generates solution confidential information, the solution confidential information for the encryption information to be decrypted based on decipherment algorithm Attribute information including the image to be processed comprising Copyright Information.
CN201811489875.7A 2018-12-06 2018-12-06 Image watermark embedding and tracing method and system Active CN109767375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811489875.7A CN109767375B (en) 2018-12-06 2018-12-06 Image watermark embedding and tracing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811489875.7A CN109767375B (en) 2018-12-06 2018-12-06 Image watermark embedding and tracing method and system

Publications (2)

Publication Number Publication Date
CN109767375A true CN109767375A (en) 2019-05-17
CN109767375B CN109767375B (en) 2022-12-13

Family

ID=66451325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811489875.7A Active CN109767375B (en) 2018-12-06 2018-12-06 Image watermark embedding and tracing method and system

Country Status (1)

Country Link
CN (1) CN109767375B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245469A (en) * 2019-06-24 2019-09-17 苏州睿威博科技有限公司 Watermark generation method, watermark analytic method, device and the storage medium of webpage
WO2019144978A3 (en) * 2019-05-20 2020-04-02 Alibaba Group Holding Limited Identifying copyrighted material using embedded copyright information
CN111340676A (en) * 2020-02-17 2020-06-26 北京北信源软件股份有限公司 Image watermark embedding method, image watermark identification method, image watermark embedding device, image watermark identification device and electronic equipment
US10755252B1 (en) 2019-05-20 2020-08-25 Alibaba Group Holding Limited Identifying copyrighted material using embedded copyright information
CN112115431A (en) * 2020-09-17 2020-12-22 朱捷 Data transfer method and system based on image pixel point signature
CN112202985A (en) * 2020-10-09 2021-01-08 北京达佳互联信息技术有限公司 Information processing method, client device, server device and information processing system
US10922422B2 (en) * 2019-05-13 2021-02-16 Advanced New Technologies Co., Ltd. Blockchain-based image processing method and apparatus
US10949936B2 (en) 2019-05-20 2021-03-16 Advanced New Technologies Co., Ltd. Identifying copyrighted material using copyright information embedded in tables
US11017060B2 (en) 2019-05-20 2021-05-25 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
US11017061B2 (en) 2019-05-20 2021-05-25 Advanced New Technologies Co., Ltd. Identifying copyrighted material using copyright information embedded in electronic files
US11036834B2 (en) 2019-05-20 2021-06-15 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded timestamped copyright information
US11037469B2 (en) 2019-05-20 2021-06-15 Advanced New Technologies Co., Ltd. Copyright protection based on hidden copyright information
CN113037465A (en) * 2021-03-11 2021-06-25 钧捷智能(深圳)有限公司 Automobile data safety processing method and device, electronic equipment and storage medium
CN113139163A (en) * 2021-04-15 2021-07-20 上海上讯信息技术股份有限公司 Method and device for generating watermark information on application program interface
CN113379583A (en) * 2021-05-31 2021-09-10 北京达佳互联信息技术有限公司 Image signature method and device, computing equipment and storage medium
US11227351B2 (en) 2019-05-20 2022-01-18 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
CN114913050A (en) * 2022-05-30 2022-08-16 南京数睿数据科技有限公司 Watermark embedding method, device, electronic equipment and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000184173A (en) * 1998-12-11 2000-06-30 Canon Inc Method and device for picture processing, method and system for picture delivery, and computer readable storage medium
CN107610038A (en) * 2017-09-29 2018-01-19 新华三技术有限公司 The display methods of watermark, apparatus and system
CN108596820A (en) * 2018-04-11 2018-09-28 重庆第二师范学院 a kind of image processing system based on information security

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000184173A (en) * 1998-12-11 2000-06-30 Canon Inc Method and device for picture processing, method and system for picture delivery, and computer readable storage medium
CN107610038A (en) * 2017-09-29 2018-01-19 新华三技术有限公司 The display methods of watermark, apparatus and system
CN108596820A (en) * 2018-04-11 2018-09-28 重庆第二师范学院 a kind of image processing system based on information security

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11188660B2 (en) 2019-05-13 2021-11-30 Advanced New Technologies Co., Ltd. Blockchain-based image processing method and apparatus
US10922422B2 (en) * 2019-05-13 2021-02-16 Advanced New Technologies Co., Ltd. Blockchain-based image processing method and apparatus
US11216898B2 (en) 2019-05-20 2022-01-04 Advanced New Technologies Co., Ltd. Identifying copyrighted material using copyright information embedded in tables
US11256787B2 (en) 2019-05-20 2022-02-22 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
WO2019144978A3 (en) * 2019-05-20 2020-04-02 Alibaba Group Holding Limited Identifying copyrighted material using embedded copyright information
US11056023B2 (en) 2019-05-20 2021-07-06 Advanced New Technologies Co., Ltd. Copyright protection based on hidden copyright information
US11409850B2 (en) 2019-05-20 2022-08-09 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
US11288345B2 (en) 2019-05-20 2022-03-29 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded timestamped copyright information
US10949936B2 (en) 2019-05-20 2021-03-16 Advanced New Technologies Co., Ltd. Identifying copyrighted material using copyright information embedded in tables
US11017060B2 (en) 2019-05-20 2021-05-25 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
US11017061B2 (en) 2019-05-20 2021-05-25 Advanced New Technologies Co., Ltd. Identifying copyrighted material using copyright information embedded in electronic files
US11036834B2 (en) 2019-05-20 2021-06-15 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded timestamped copyright information
US11037469B2 (en) 2019-05-20 2021-06-15 Advanced New Technologies Co., Ltd. Copyright protection based on hidden copyright information
US11080671B2 (en) 2019-05-20 2021-08-03 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
US10755252B1 (en) 2019-05-20 2020-08-25 Alibaba Group Holding Limited Identifying copyrighted material using embedded copyright information
US11227351B2 (en) 2019-05-20 2022-01-18 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
CN112119424A (en) * 2019-05-20 2020-12-22 创新先进技术有限公司 Identifying copyrighted material using embedded copyright information
US11062000B2 (en) 2019-05-20 2021-07-13 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
US11042612B2 (en) 2019-05-20 2021-06-22 Advanced New Technologies Co., Ltd. Identifying copyrighted material using embedded copyright information
US11106766B2 (en) 2019-05-20 2021-08-31 Advanced New Technologies Co., Ltd. Identifying copyrighted material using copyright information embedded in electronic files
CN110245469A (en) * 2019-06-24 2019-09-17 苏州睿威博科技有限公司 Watermark generation method, watermark analytic method, device and the storage medium of webpage
CN111340676A (en) * 2020-02-17 2020-06-26 北京北信源软件股份有限公司 Image watermark embedding method, image watermark identification method, image watermark embedding device, image watermark identification device and electronic equipment
CN112115431A (en) * 2020-09-17 2020-12-22 朱捷 Data transfer method and system based on image pixel point signature
CN112202985A (en) * 2020-10-09 2021-01-08 北京达佳互联信息技术有限公司 Information processing method, client device, server device and information processing system
CN112202985B (en) * 2020-10-09 2022-10-04 北京达佳互联信息技术有限公司 Information processing method, client device, server device and information processing system
CN113037465A (en) * 2021-03-11 2021-06-25 钧捷智能(深圳)有限公司 Automobile data safety processing method and device, electronic equipment and storage medium
CN113139163A (en) * 2021-04-15 2021-07-20 上海上讯信息技术股份有限公司 Method and device for generating watermark information on application program interface
CN113139163B (en) * 2021-04-15 2023-05-26 上海上讯信息技术股份有限公司 Method and device for generating watermark information on application program interface
CN113379583A (en) * 2021-05-31 2021-09-10 北京达佳互联信息技术有限公司 Image signature method and device, computing equipment and storage medium
CN114913050B (en) * 2022-05-30 2023-09-12 南京数睿数据科技有限公司 Watermark embedding method, watermark embedding device, electronic equipment and computer readable medium
CN114913050A (en) * 2022-05-30 2022-08-16 南京数睿数据科技有限公司 Watermark embedding method, device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN109767375B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN109767375A (en) The method and system of image watermark insertion and retrospect
Tseng et al. A secure data hiding scheme for binary images
EP2832102B1 (en) Methods and systems for cryptographic access control of video
US10467427B2 (en) Method and apparatus for providing secure image encryption and decryption
Abdullah et al. New approaches to encrypt and decrypt data in image using cryptography and steganography algorithm
US7159112B1 (en) Decryption of graphics data in a graphics processing pipeline
US7502466B2 (en) System and method for secure communication of electronic documents
CN105809042A (en) Information protection method and device, information display method and device, and terminal
TW200929985A (en) Secure information storage system and method
CN110378138A (en) Data encryption, decryption method and neural network training method and equipment
CN104348834A (en) Desktop-virtualization-based image transmission encryption method and system
US20150286843A1 (en) Method and system for modular digital watermarking of electronic files
Gokul et al. Hybrid steganography using visual cryptography and LSB encryption method
JP2007096663A (en) Image processor and control method thereof, computer program, and computer-readable storage medium
US20140143554A1 (en) Methods, Systems and Apparatus for Managing Data Entries on a Database
US7995748B2 (en) Method and apparatus for providing ecryption/decryption using two sequences of numbers
JP3984951B2 (en) Content usage frequency limiting method, content usage terminal device, content usage system, computer program, and computer-readable recording medium
KR20220003318A (en) Apparatus, method, computer-readable storage medium and computer program for encrypting information using image steganography
CN110069907A (en) Big data source tracing method and system based on digital watermarking
Kaur et al. XOR-EDGE based video steganography and testing against chi-square steganalysis
Rao et al. A novel information security scheme using cryptic steganography
JP2006040186A (en) Method and device for preventing leak of secret information
Kumar et al. Data hiding using image steganography
Nayak Steganography with BSS-RSA-LSB technique: A new approach to Steganography
Ahmed et al. A Comparative Study of Image Steganography and Text Cryptography

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
GR01 Patent grant
GR01 Patent grant