CN108040188A - A kind of video source tracing method based on dominant watermark - Google Patents
A kind of video source tracing method based on dominant watermark Download PDFInfo
- Publication number
- CN108040188A CN108040188A CN201711047200.2A CN201711047200A CN108040188A CN 108040188 A CN108040188 A CN 108040188A CN 201711047200 A CN201711047200 A CN 201711047200A CN 108040188 A CN108040188 A CN 108040188A
- Authority
- CN
- China
- Prior art keywords
- msub
- mrow
- watermark
- images
- video
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32101—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N1/32144—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
- G06T1/005—Robust watermarking, e.g. average attack or collusion attack resistant
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32101—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N1/32144—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
- H04N1/32149—Methods relating to embedding, encoding, decoding, detection or retrieval operations
- H04N1/32267—Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32101—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N1/32144—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
- H04N1/32149—Methods relating to embedding, encoding, decoding, detection or retrieval operations
- H04N1/3232—Robust embedding or watermarking
- H04N1/32325—Robust embedding or watermarking the embedded data being visible
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Trace to the source field the present invention relates to video, in particular relate to a kind of video source tracing method based on dominant watermark, comprise the following steps:Raw video image is gathered, obtains facility information, user information and download information;Facility information and/or user information and/or download information are arranged by the order of setting, obtain the RGB image of above- mentioned information, i.e., watermarking images to be embedded;Raw video image and watermarking images to be embedded are transformed into HIS space, respectively obtain original video HIS images and watermark HIS images to be embedded, watermark HIS images to be embedded are embedded into original video HIS images and obtain the HIS video images containing watermark, the HIS video images containing watermark are transformed into rgb space finally obtains the rgb video image containing watermark.Video source tracing method of the present invention can fast and accurately determine source video sequence, while where the defects of can also find video resource management work in time, decision-making is provided for video resource management work arrangement in the future.
Description
Technical field
Trace to the source field the present invention relates to video, in particular relate to a kind of video source tracing method based on dominant watermark.
Background technology
Since national first batch of 3111 experimental city monitoring system in 2005 is built, the pace of construction of China safe city is
Through entering high-tide period, video monitoring spreads all over streets and lanes, has realized substantially at present to public security key monitoring region, such as road
Implement telenet in the places such as intersection, residential area, city road surface, commercial center, public place of entertainment, station square, key unit
Network monitors in real time, understands wagon flow, the stream of people and the abnormal conditions at scene in time, and carries out video recording backup.Meanwhile video monitoring is in public affairs
Peace organ has also played increasing effect during handling a case.
Since what video monitoring acted on during handling a case highlights, video resource uses more frequent, causes secrecy to regard
Frequently, the objectionable video event such as leak frequently occurs, and the secure video that leaks, objectionable video can not find source of leakage, it is difficult to really
Where the defects of determining video resource management work.
The content of the invention
According to problems of the prior art, the present invention provides a kind of video source tracing method based on dominant watermark,
It it is day where the defects of can fast and accurately determining source video sequence, while can also finding video resource management work in time
Video resource management work arrangement afterwards provides decision-making.
For achieving the above object, the present invention provides a kind of video source tracing method based on dominant watermark, including such as
Lower step:
S1, gathers raw video image, obtains facility information, user information and download information;
S2, facility information and/or user information and/or download information are arranged by the order of setting, obtain above- mentioned information
RGB image, i.e., watermarking images to be embedded;
S3, HIS space is transformed into by raw video image and watermarking images to be embedded, respectively obtains original video HIS figures
Picture and watermark HIS images to be embedded, watermark HIS images to be embedded are embedded into original video HIS images and are obtained containing watermark
HIS video images, are transformed into rgb space by the HIS video images containing watermark and finally obtain the rgb video image containing watermark.
Preferably, this source tracing method has further included step S4, that is, passes through the watermarking images in the rgb video image containing watermark
Information, realize search the video image source, realize the purpose traced to the source.
It is further preferred that in step S1, collection raw video image refers to from safe city, government bodies, judicial prison
Prison, Community Watch, the DVR/NVR video storaging equipments of road traffic application field obtain raw video image.
Still more preferably, in step S1, the facility information includes unit type, device numbering and MAC Address, uses
Family information includes user name, User ID is numbered, and download information includes download time, downloading mode.
Still more preferably, in step S2, the arrangement of the order of the setting refer to use according to read-write order from a left side to
It is right to be arranged by row arrangement and/or from top to bottom in a manner of arranging and arrange, the word of facility information, the word of user information,
The space left between each other easy to distinguish of the word of download information.
Still more preferably, the step S3 is comprised the following steps that:
S31, the pixel value of raw video image are expressed as X (R with RGB vector valuesX,GX,BX), watermarking images to be embedded
Pixel value is expressed as Y (R with RGB vector valuesY,GY,BY), wherein RXRepresent the R component value of vector X, i.e. raw video image pixel
Middle red single primary color values, GXRepresent the G component values of vector X, i.e. raw video image pixel Green list primary color values, BXRepresent to
Measure the B component value of X, the i.e. single primary color values of raw video image blueness, RYRepresent the R component value of vector Y, i.e., watermarking images to be embedded
Red list primary color values, G in pixelYRepresent the G component values of vector Y, i.e., watermarking images pixel Green list primary color values to be embedded, BY
Represent the B component value of vector Y, i.e., blue list primary color values in watermarking images pixel to be embedded;
The pixel value of the pixel value of raw video image and watermarking images to be embedded is transformed into HIS space, specific conversion
Formula is as follows:
Obtain the pixel value X'(H of original video HIS imagesX,IX,SX) and watermark HIS images to be embedded pixel value Y'
(HY,IY,SY);Wherein, HXRepresent the H component values of vector X', i.e. tone value in original video HIS image pixels, IXRepresent to
Measure the I component value of X', i.e. brightness value in original video HIS image pixels, SXRepresent the S component values of vector X', i.e., it is original to regard
Intensity value in frequency HIS image pixels;HYRepresent the H component values of vector Y', i.e., the color in watermark HIS image pixels to be embedded
Tone pitch, IYRepresent the I component value of vector Y', i.e., the brightness value in watermark HIS image pixels to be embedded, SYRepresent S points of vector Y'
Value, i.e., the intensity value in watermark HIS image pixels to be embedded, symbol ar cos { } represent to carry out the number in braces anti-
Cosine function calculates, and symbol min () represents number minimum in value bracket;
S32, adjusts the size of watermark HIS images to be embedded, makes it to be embedded with needing to be embedded in original video HIS images
The size matching in the region of watermark HIS images;
S33, determines to need to be embedded in the starting point in the region of watermark HIS images to be embedded in original video HIS images, will treat embedding
Enter watermark HIS images to be embedded into original video HIS images, specific formula is as follows:
Z'(HZ,IZ,SZ)=X'(HX,IX,SX)+λnY'(HY,IY,SY)
HZ=HX+λnHY, IZ=IX+λnIY, SZ=SX+λnSY
Obtain the pixel value Z'(H of the HIS video images containing watermarkZ,IZ,SZ), wherein, HZRepresent vector Z ' H components
Value, i.e., the tone value in HIS video image pixels containing watermark, IZRepresent vector Z ' I component value, i.e. the HIS containing watermark regards
Brightness value in frequency image pixel, SZRepresent vector Z ' S component values, i.e., the saturation in HIS video image pixels containing watermark
Angle value;λnFor watermark weighting coefficient, λnValue range is 0~1, λnThe more big then watermarking images information of value is more clear, λnValue is got over
Small then watermarking images information is fuzzyyer;
S34, is reduced to the rgb video image containing watermark, specific conversion formula is as follows by the HIS video images containing watermark:
As 0≤HZ<During 2 π/3,
As 2 π/3≤HZ<During 4 π/3,
As 4 π/3≤HZDuring≤2 π,
Obtain the pixel value Z (R of the rgb video image containing watermarkZ,GZ,BZ), wherein, RZRepresent the R component value of vector Z,
The tone value in rgb video image pixel i.e. containing watermark, GZRepresent the G component values of vector Z, i.e., the rgb video figure containing watermark
As the brightness value in pixel, BZThe B component value of expression vector Z, i.e., the intensity value in rgb video image pixel containing watermark,
Symbol arcos () represents to carry out inverse cosine function calculating to the number in bracket.
The beneficial effects of the present invention are:
1) present invention is to raw video image before watermarking images to be embedded are embedded in, by raw video image and to be embedded
Watermarking images are transformed into HIS space, obtain original video HIS images and watermark HIS images to be embedded, then will using linear adder
Watermark HIS images to be embedded are embedded into original video HIS images, obtain the final video image containing watermarking images, avoid
Cause the impaired of head end video during watermarking images insertion to be embedded, ensure that the matter containing watermark video after watermark insertion
Amount.
2) source tracing method of the invention is by the text of some or all words in facility information, user information and download information
This information is embedded in raw video image as watermarking images to be embedded, realizes the purpose traced to the source;It can lead to when video leaks
The defects of crossing watermark information and fast and accurately determine this source video sequence, while can also finding video resource management work in time
Place, decision-making is provided for video resource management work arrangement in the future.
Brief description of the drawings
Fig. 1 is the flow chart of video source tracing method of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, belongs to the scope of protection of the invention.
As shown in Figure 1, a kind of video source tracing method based on dominant watermark, includes the following steps:
S1, gathers raw video image, obtains facility information, user information and download information;
Collection raw video image refers to answer from safe city, government bodies, judicial prison, Community Watch, road traffic
Raw video image is obtained with the DVR/NVR video storaging equipments in field;
The facility information includes unit type, device numbering and MAC Address, and user information includes user name, User ID
Numbering, download information include download time, downloading mode.
S2, facility information and/or user information and/or download information are arranged by the order of setting, obtain above- mentioned information
RGB image, i.e., watermarking images to be embedded;
The order arrangement of the setting refer to use from left to right arranged according to read-write order with row and/or from top to bottom with
The mode of row arrangement is arranged, and the word of facility information, the word of user information, the mutual of word of download information stay
There is the space easy to distinguish.
S3, HIS space is transformed into by raw video image and watermarking images to be embedded, respectively obtains original video HIS figures
Picture and watermark HIS images to be embedded, watermark HIS images to be embedded are embedded into original video HIS images and are obtained containing watermark
HIS video images, are transformed into rgb space by the HIS video images containing watermark and finally obtain the rgb video image containing watermark;
Step S3's comprises the following steps that:
S31, the pixel value of raw video image are expressed as X (R with RGB vector valuesX,GX,BX), watermarking images to be embedded
Pixel value is expressed as Y (R with RGB vector valuesY,GY,BY), wherein RXRepresent the R component value of vector X, i.e. raw video image pixel
Middle red single primary color values, GXRepresent the G component values of vector X, i.e. raw video image pixel Green list primary color values, BXRepresent to
Measure the B component value of X, the i.e. single primary color values of raw video image blueness, RYRepresent the R component value of vector Y, i.e., watermarking images to be embedded
Red list primary color values, G in pixelYRepresent the G component values of vector Y, i.e., watermarking images pixel Green list primary color values to be embedded, BY
Represent the B component value of vector Y, i.e., blue list primary color values in watermarking images pixel to be embedded;
The pixel value of the pixel value of raw video image and watermarking images to be embedded is transformed into HIS space, specific conversion
Formula is as follows:
Obtain the pixel value X'(H of original video HIS imagesX,IX,SX) and watermark HIS images to be embedded pixel value Y'
(HY,IY,SY);Wherein, HXRepresent the H component values of vector X', i.e. tone value in original video HIS image pixels, IXRepresent to
Measure the I component value of X', i.e. brightness value in original video HIS image pixels, SXRepresent the S component values of vector X', i.e., it is original to regard
Intensity value in frequency HIS image pixels;HYRepresent the H component values of vector Y', i.e., the color in watermark HIS image pixels to be embedded
Tone pitch, IYRepresent the I component value of vector Y', i.e., the brightness value in watermark HIS image pixels to be embedded, SYRepresent S points of vector Y'
Value, i.e., the intensity value in watermark HIS image pixels to be embedded, symbol arcos { } represent to carry out the number in braces anti-
Cosine function calculates, and symbol min () represents number minimum in value bracket;
S32, adjusts the size of watermark HIS images to be embedded, makes it to be embedded with needing to be embedded in original video HIS images
The size matching in the region of watermark HIS images;
S33, determines to need to be embedded in the starting point in the region of watermark HIS images to be embedded in original video HIS images, will treat embedding
Enter watermark HIS images to be embedded into original video HIS images, specific formula is as follows:
Z'(HZ,IZ,SZ)=X'(HX,IX,SX)+λnY'(HY,IY,SY)
HZ=HX+λnHY, IZ=IX+λnIY, SZ=SX+λnSY
Obtain the pixel value Z'(H of the HIS video images containing watermarkZ,IZ,SZ), wherein, HZRepresent vector Z ' H components
Value, i.e., the tone value in HIS video image pixels containing watermark, IZRepresent vector Z ' I component value, i.e. the HIS containing watermark regards
Brightness value in frequency image pixel, SZRepresent vector Z ' S component values, i.e., the saturation in HIS video image pixels containing watermark
Angle value;λnFor watermark weighting coefficient, λnValue range is 0~1, λnThe more big then watermarking images information of value is more clear, λnValue is got over
Small then watermarking images information is fuzzyyer;
S34, is reduced to the rgb video image containing watermark, specific conversion formula is as follows by the HIS video images containing watermark:
As 0≤HZ<During 2 π/3,
As 2 π/3≤HZ<During 4 π/3,
As 4 π/3≤HZDuring≤2 π,
Obtain the pixel value Z (R of the rgb video image containing watermarkZ,GZ,BZ), wherein, RZRepresent the R component value of vector Z,
The tone value in rgb video image pixel i.e. containing watermark, GZRepresent the G component values of vector Z, i.e., the rgb video figure containing watermark
As the brightness value in pixel, BZThe B component value of expression vector Z, i.e., the intensity value in rgb video image pixel containing watermark,
Symbol ar cos () represent to carry out inverse cosine function calculating to the number in bracket.
Specifically, this source tracing method has further included step S4, that is, pass through the watermarking images in the rgb video image containing watermark
Information, realize search the video image source, realize the purpose traced to the source;
This source video sequence can be fast and accurately determined by watermark information when video leaks, while also can be timely
It was found that where the defects of video resource management work, decision-making is provided for video resource management work arrangement in the future.
In conclusion the source tracing method of the present invention will be some or all in facility information, user information and download information
The text message of word is embedded in raw video image as watermarking images to be embedded, realizes the purpose traced to the source;When video leaks
When this source video sequence can be fast and accurately determined by watermark information, while can also find in time video resource manage work
Where the defects of making, decision-making is provided for video resource management work arrangement in the future.
Claims (6)
1. a kind of video source tracing method based on dominant watermark, it is characterised in that include the following steps:
S1, gathers raw video image, obtains facility information, user information and download information;
S2, facility information and/or user information and/or download information are arranged by the order of setting, obtain the RGB of above- mentioned information
Image, i.e., watermarking images to be embedded;
S3, HIS space is transformed into by raw video image and watermarking images to be embedded, respectively obtain original video HIS images and
Watermark HIS images to be embedded, watermark HIS images to be embedded are embedded into and obtains the HIS containing watermark in original video HIS images and regards
Frequency image, is transformed into rgb space by the HIS video images containing watermark and finally obtains the rgb video image containing watermark.
A kind of 2. video source tracing method based on digital watermark according to claim 1, it is characterised in that:This source tracing method
Step S4 has been further included, i.e., by the information of the watermarking images in the rgb video image containing watermark, has realized and searches the video image
Source, realize the purpose traced to the source.
A kind of 3. video source tracing method based on digital watermark according to claim 2, it is characterised in that:In step S1,
Collection raw video image refers to from safe city, government bodies, judicial prison, Community Watch, road traffic application field
DVR/NVR video storaging equipments obtain raw video image.
A kind of 4. video source tracing method based on dominant watermark according to claim 3, it is characterised in that:In step S1,
The facility information includes unit type, device numbering and MAC Address, and user information includes user name, User ID is numbered, and downloads
Information includes download time, downloading mode.
A kind of 5. video source tracing method based on dominant watermark according to claim 4, it is characterised in that:In step S2,
The order arrangement of the setting refers to use according to read-write order from left to right with row arrangement and/or from top to bottom with row arrangement
Mode is arranged, and the word of facility information, the word of user information, the mutual of word of download information are left easy to area
The space divided.
A kind of 6. video source tracing method based on dominant watermark according to claim 5, it is characterised in that the tool of step S3
Body step is as follows:
S31, the pixel value of raw video image are expressed as X (R with RGB vector valuesX,GX,BX), the pixel of watermarking images to be embedded
Value is expressed as Y (R with RGB vector valuesY,GY,BY), wherein RXRepresent the R component value of vector X, i.e., it is red in raw video image pixel
Color list primary color values, GXRepresent the G component values of vector X, i.e. raw video image pixel Green list primary color values, BXRepresent vector X's
The single primary color values of B component value, i.e. raw video image blueness, RYRepresent the R component value of vector Y, i.e., watermarking images pixel to be embedded
Middle red single primary color values, GYRepresent the G component values of vector Y, i.e., watermarking images pixel Green list primary color values to be embedded, BYRepresent
The B component value of vectorial Y, i.e., the single primary color values of blueness in watermarking images pixel to be embedded;
The pixel value of the pixel value of raw video image and watermarking images to be embedded is transformed into HIS space, specific conversion formula
It is as follows:
<mrow>
<msub>
<mi>H</mi>
<mi>X</mi>
</msub>
<mo>=</mo>
<mi>a</mi>
<mi>r</mi>
<mi>cos</mi>
<mo>{</mo>
<mfrac>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>-</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>)</mo>
<mo>+</mo>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>-</mo>
<msub>
<mi>B</mi>
<mi>X</mi>
</msub>
<mo>)</mo>
</mrow>
<mrow>
<mn>2</mn>
<msqrt>
<mrow>
<msup>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>-</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
<mo>+</mo>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>-</mo>
<msub>
<mi>B</mi>
<mi>X</mi>
</msub>
<mo>)</mo>
</mrow>
<mrow>
<mo>(</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>-</mo>
<msub>
<mi>B</mi>
<mi>X</mi>
</msub>
<mo>)</mo>
</mrow>
</mrow>
</msqrt>
</mrow>
</mfrac>
<mo>}</mo>
</mrow>
<mrow>
<msub>
<mi>H</mi>
<mi>Y</mi>
</msub>
<mo>=</mo>
<mi>a</mi>
<mi>r</mi>
<mi>cos</mi>
<mo>{</mo>
<mfrac>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>-</mo>
<msub>
<mi>G</mi>
<mi>Y</mi>
</msub>
<mo>)</mo>
<mo>+</mo>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>-</mo>
<msub>
<mi>B</mi>
<mi>Y</mi>
</msub>
<mo>)</mo>
</mrow>
<mrow>
<mn>2</mn>
<msqrt>
<mrow>
<msup>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>-</mo>
<msub>
<mi>G</mi>
<mi>Y</mi>
</msub>
<mo>)</mo>
</mrow>
<mn>2</mn>
</msup>
<mo>+</mo>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>-</mo>
<msub>
<mi>B</mi>
<mi>Y</mi>
</msub>
<mo>)</mo>
</mrow>
<mrow>
<mo>(</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>-</mo>
<msub>
<mi>B</mi>
<mi>Y</mi>
</msub>
<mo>)</mo>
</mrow>
</mrow>
</msqrt>
</mrow>
</mfrac>
<mo>}</mo>
</mrow>
<mrow>
<msub>
<mi>I</mi>
<mi>X</mi>
</msub>
<mo>=</mo>
<mfrac>
<mrow>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>+</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>+</mo>
<msub>
<mi>B</mi>
<mi>X</mi>
</msub>
</mrow>
<mn>3</mn>
</mfrac>
<mo>,</mo>
<msub>
<mi>I</mi>
<mi>Y</mi>
</msub>
<mo>=</mo>
<mfrac>
<mrow>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>+</mo>
<msub>
<mi>G</mi>
<mi>Y</mi>
</msub>
<mo>+</mo>
<msub>
<mi>B</mi>
<mi>Y</mi>
</msub>
</mrow>
<mn>3</mn>
</mfrac>
</mrow>
<mrow>
<msub>
<mi>S</mi>
<mi>X</mi>
</msub>
<mo>=</mo>
<mn>1</mn>
<mo>-</mo>
<mfrac>
<mrow>
<mn>3</mn>
<mi>m</mi>
<mi>i</mi>
<mi>n</mi>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>,</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>,</mo>
<msub>
<mi>B</mi>
<mi>X</mi>
</msub>
<mo>)</mo>
</mrow>
</mrow>
<mrow>
<msub>
<mi>R</mi>
<mi>X</mi>
</msub>
<mo>+</mo>
<msub>
<mi>G</mi>
<mi>X</mi>
</msub>
<mo>+</mo>
<msub>
<mi>B</mi>
<mi>X</mi>
</msub>
</mrow>
</mfrac>
<mo>,</mo>
<msub>
<mi>S</mi>
<mi>Y</mi>
</msub>
<mo>=</mo>
<mn>1</mn>
<mo>-</mo>
<mfrac>
<mrow>
<mn>3</mn>
<mi>m</mi>
<mi>i</mi>
<mi>n</mi>
<mrow>
<mo>(</mo>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>,</mo>
<msub>
<mi>G</mi>
<mi>Y</mi>
</msub>
<mo>,</mo>
<msub>
<mi>B</mi>
<mi>Y</mi>
</msub>
<mo>)</mo>
</mrow>
</mrow>
<mrow>
<msub>
<mi>R</mi>
<mi>Y</mi>
</msub>
<mo>+</mo>
<msub>
<mi>G</mi>
<mi>Y</mi>
</msub>
<mo>+</mo>
<msub>
<mi>B</mi>
<mi>Y</mi>
</msub>
</mrow>
</mfrac>
</mrow>
Obtain the pixel value X'(H of original video HIS imagesX,IX,SX) and watermark HIS images to be embedded pixel value Y'(HY,IY,
SY);Wherein, HXRepresent the H component values of vector X', i.e. tone value in original video HIS image pixels, IXRepresent the I of vector X'
Brightness value in component value, i.e. original video HIS image pixels, SXRepresent the S component values of vector X', i.e. original video HIS figures
As the intensity value in pixel;HYRepresent the H component values of vector Y', i.e., the tone value in watermark HIS image pixels to be embedded, IY
Represent the I component value of vector Y', i.e., the brightness value in watermark HIS image pixels to be embedded, SYRepresent the S component values of vector Y',
Intensity value in watermark HIS image pixels i.e. to be embedded, symbol arcos { } represent to carry out anticosine letter to the number in braces
Number calculates, and symbol min () represents number minimum in value bracket;
S32, adjusts the size of watermark HIS images to be embedded, it is embedded in watermark to be embedded with being needed in original video HIS images
The size matching in the region of HIS images;
S33, determines to need to be embedded in the starting point in the region of watermark HIS images to be embedded in original video HIS images, by water to be embedded
Print HIS images are embedded into original video HIS images, and specific formula is as follows:
Z'(HZ,IZ,SZ)=X'(HX,IX,SX)+λnY'(HY,IY,SY)
HZ=HX+λnHY, IZ=IX+λnIY, SZ=SX+λnSY
Obtain the pixel value Z'(H of the HIS video images containing watermarkZ,IZ,SZ), wherein, HZRepresent vector Z ' H component values, that is, contain
Tone value in the HIS video image pixels of watermark, IZRepresent vector Z ' I component value, i.e., the HIS video image pictures containing watermark
Brightness value in element, SZRepresent vector Z ' S component values, i.e., the intensity value in HIS video image pixels containing watermark;λnFor
Watermark weighting coefficient, λnValue range is 0~1, λnThe more big then watermarking images information of value is more clear, λnThe smaller then watermark of value
Image information is fuzzyyer;
S34, is reduced to the rgb video image containing watermark, specific conversion formula is as follows by the HIS video images containing watermark:
As 0≤HZ<During 2 π/3,
BZ=IZ*(1-SZ),GZ=3IZ-BZ-RZ;
As 2 π/3≤HZ<During 4 π/3,
RZ=IZ*(1-SZ),BZ=3IZ-GZ-RZ;
As 4 π/3≤HZDuring≤2 π,
GZ=IZ*(1-SZ),RZ=3IZ-GZ-BZ;
Obtain the pixel value Z (R of the rgb video image containing watermarkZ,GZ,BZ), wherein, RZRepresent the R component value of vector Z, i.e., it is aqueous
Tone value in the rgb video image pixel of print, GZRepresent the G component values of vector Z, i.e., the rgb video image pixel containing watermark
In brightness value, BZRepresent the B component value of vector Z, i.e., the intensity value in rgb video image pixel containing watermark, symbol
Arcos () represents to carry out inverse cosine function calculating to the number in bracket.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047200.2A CN108040188A (en) | 2017-10-31 | 2017-10-31 | A kind of video source tracing method based on dominant watermark |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047200.2A CN108040188A (en) | 2017-10-31 | 2017-10-31 | A kind of video source tracing method based on dominant watermark |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108040188A true CN108040188A (en) | 2018-05-15 |
Family
ID=62093762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711047200.2A Pending CN108040188A (en) | 2017-10-31 | 2017-10-31 | A kind of video source tracing method based on dominant watermark |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108040188A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040761A (en) * | 2018-09-17 | 2018-12-18 | 俞群爱 | A kind of monitoring on-wall system with encrypted watermark |
CN109801205A (en) * | 2018-12-21 | 2019-05-24 | 苏宁易购集团股份有限公司 | A kind of implicit watermark adding method and device traced to the source |
CN110267115A (en) * | 2019-06-17 | 2019-09-20 | 东软集团股份有限公司 | A kind of Video security control method, device, equipment and medium |
CN112637440A (en) * | 2020-12-17 | 2021-04-09 | 合肥图溯信息技术有限公司 | Picture invisible watermark embedding method and system compatible with scanner equipment |
CN115767138A (en) * | 2023-01-06 | 2023-03-07 | 杭州海康威视数字技术股份有限公司 | Video data processing method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027055A (en) * | 2017-04-28 | 2017-08-08 | 安徽四创电子股份有限公司 | A kind of video based on digital watermark is traced to the source and encryption method |
CN107133906A (en) * | 2017-04-28 | 2017-09-05 | 安徽四创电子股份有限公司 | A kind of video source tracing method based on digital watermark |
-
2017
- 2017-10-31 CN CN201711047200.2A patent/CN108040188A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027055A (en) * | 2017-04-28 | 2017-08-08 | 安徽四创电子股份有限公司 | A kind of video based on digital watermark is traced to the source and encryption method |
CN107133906A (en) * | 2017-04-28 | 2017-09-05 | 安徽四创电子股份有限公司 | A kind of video source tracing method based on digital watermark |
Non-Patent Citations (1)
Title |
---|
袁嘉薇: "三网融合内容监管的数字水印技术应用研究", 《硕士论文库》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040761A (en) * | 2018-09-17 | 2018-12-18 | 俞群爱 | A kind of monitoring on-wall system with encrypted watermark |
CN109801205A (en) * | 2018-12-21 | 2019-05-24 | 苏宁易购集团股份有限公司 | A kind of implicit watermark adding method and device traced to the source |
CN109801205B (en) * | 2018-12-21 | 2022-02-25 | 苏宁易购集团股份有限公司 | Traceable implicit watermark adding method and device |
CN110267115A (en) * | 2019-06-17 | 2019-09-20 | 东软集团股份有限公司 | A kind of Video security control method, device, equipment and medium |
CN110267115B (en) * | 2019-06-17 | 2022-04-01 | 东软集团股份有限公司 | Video security control method, device, equipment and medium |
CN112637440A (en) * | 2020-12-17 | 2021-04-09 | 合肥图溯信息技术有限公司 | Picture invisible watermark embedding method and system compatible with scanner equipment |
CN115767138A (en) * | 2023-01-06 | 2023-03-07 | 杭州海康威视数字技术股份有限公司 | Video data processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108040188A (en) | A kind of video source tracing method based on dominant watermark | |
Shi et al. | Normalised gamma transformation‐based contrast‐limited adaptive histogram equalisation with colour correction for sand–dust image enhancement | |
CN103402117B (en) | Based on the video image color cast detection method of Lab chrominance space | |
CN106375740B (en) | Generate the methods, devices and systems of RGB image | |
CN103093429B (en) | Image enchancing method | |
CN107888925A (en) | A kind of embedding grammar and detection method of digital video hiding information | |
CN105809643B (en) | A kind of image enchancing method based on adaptive block channel extrusion | |
CN104182949A (en) | Image inking and fusing method and system based on histogram feature point registration | |
Zheng et al. | Infrared traffic image enhancement algorithm based on dark channel prior and gamma correction | |
CN102509294B (en) | Single-image-based global depth estimation method | |
CN110400275A (en) | One kind being based on full convolutional neural networks and the pyramidal color calibration method of feature | |
CN109584170A (en) | Underwater image restoration method based on convolutional neural networks | |
CN103268596A (en) | Method for reducing image noise and enabling colors to be close to standard | |
CN108537747A (en) | A kind of image repair method based on the convolutional neural networks with symmetrical parallel link | |
CN112101349A (en) | License plate sample generation method and device | |
CN103854261A (en) | Method for correcting color cast images | |
CN103873954A (en) | Method of embedding invisible digital watermarking into streaming media, and apparatus and system thereof | |
CN104766276B (en) | A kind of color cast correction based on color space | |
CN106340025A (en) | Background replacement visual communication method based on chromatic adaptation transformation | |
CN105160621B (en) | A kind of image watermark detecting system | |
CN107862672A (en) | The method and device of image defogging | |
CN106875341A (en) | Distorted image correction method and its localization method | |
CN105574819A (en) | Real-time image defogging method and apparatus | |
CN106683082A (en) | Method for evaluating quality of full reference color image based on quaternion | |
CN105989583A (en) | Image defogging method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |
|
RJ01 | Rejection of invention patent application after publication |