CN107911754A - A kind of strong robust video TXT Text Watermarkings insertion and extracting method - Google Patents

A kind of strong robust video TXT Text Watermarkings insertion and extracting method Download PDF

Info

Publication number
CN107911754A
CN107911754A CN201711228699.7A CN201711228699A CN107911754A CN 107911754 A CN107911754 A CN 107911754A CN 201711228699 A CN201711228699 A CN 201711228699A CN 107911754 A CN107911754 A CN 107911754A
Authority
CN
China
Prior art keywords
watermark
video
section
length
txt
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
Application number
CN201711228699.7A
Other languages
Chinese (zh)
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.)
Yunnan Power Grid Co Ltd
Original Assignee
Yunnan Power Grid 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 Yunnan Power Grid Co Ltd filed Critical Yunnan Power Grid Co Ltd
Priority to CN201711228699.7A priority Critical patent/CN107911754A/en
Publication of CN107911754A publication Critical patent/CN107911754A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Television Systems (AREA)

Abstract

A kind of strong robust video TXT Text Watermarkings insertion and extracting method, including two parts of video watermark insertion and extraction, watermark is TXT texts, and telescopiny modification length exceedes the image border of particular value, watermark information is stored with the V (lightness 0 100) in hsv color space;For the video of embedded watermark after reproduction, conventional video watermark cannot extract complete video watermark after the attack such as resolution changing, multiplexed format conversion, frame per second change caused by reproduction.Invention enhances the robustness of video watermark, and complete clearly watermark still can be extracted after above-mentioned attack.

Description

A kind of strong robust video TXT Text Watermarkings insertion and extracting method
Technical field
The present invention relates to a kind of strong robust video TXT Text Watermarkings insertion and extracting method technical field.
Background technology
Digital multimedia instead of traditional analog form, and the continuous development of network service, digital multimedia can be square Just copy propagation, has thus triggered piracy and the copyright problem of getting worse.Movie theatre plays video after by beholder's pirates shoot, All there occurs great changes for the resolution ratio of video, frame per second, video format.Conventional video watermark can resist part attack, still After the multiple attack in reproduction process is subject to, watermark information will be lost, it is impossible to play and call to account, position the mesh of pirates shoot person 's.Another watermarking project is directly embedded into a visible logo and is superimposed upon on video, plays copyright protection to a certain extent Effect, still, be directly embedded into the viewing experience that visible watermark have impact on user, and due to watermark information as it can be seen that attacker Directly original watermark picture can be covered with another watermark picture.
Disclosed patent《A kind of anti-geometry attack robust video watermark process based on time shaft spread spectrum》In, utilize video The different pseudo-random informations preserved needed for embedded and extraction watermark between three layers of DWT conversion coefficients of frame different colours component, This method is only capable of to resist geometric attacks, and recodification common in attacking reality is attacked, without preferable repellence.
The content of the invention
The purpose of the present invention is to overcome the problems of the above-mentioned prior art and provide one kind and can resist to rearrange The ADAPTIVE ROBUST video watermark insertion of code attack and extracting method.The video of embedded watermark is after reproduction, conventional video water Complete video water cannot be extracted after the attack such as resolution changing, multiplexed format conversion, frame per second change caused by reproduction by being imprinted on Print.Invention enhances the robustness of video watermark, and complete clearly watermark still can be extracted after above-mentioned attack.
The present invention is realized by giving technical solution.
A kind of strong robust video TXT Text Watermarkings insertion and extracting method, including video watermark is embedded and extracts two portions Point, watermark is TXT texts, and telescopiny modification length exceedes the image border of particular value, with the V (lightness in hsv color space 0-100) store watermark information;
Telescopiny is:
(1.1) two-value TXT watermark texts are read with binary system, watermark data, watermark length is stored with one-dimension array T [k] For k;
(1.2) T [k] is expanded in segmentation as the following formula, and sequence number I, maximum storage quantity 16KB, 2* are initially inserted into every section of watermark 10*128bit;
(1.3) watermark segmentation SiFor i-th section of watermark;Total hop count is N;N=k/128+1;I is added after switching to ten binary systems To before 128 watermark sections;Form new watermark section S 'i;It is 138 per segment length;
(1.4) parse video flowing and obtain video frame, telescopiny is more than the edge line of 138 pixels just for length (edge analysis result as shown in figure 3, length meet as shown in Figure 4), it is embedding without watermark for the too short frame of edge line Enter;Telescopiny is sequentially embedded from small to large according to line segment starting point abscissa;The watermark section S ' of each frame video insertioni's Number m, m are the satisfactory number of length in a frame video;Repeat embedded S 'i
(1.5) video frame is read, carries out watermark insertion as the following formula;
(x, y) is the coordinate of t-th of pixel on line segment, and wherein V (x, y), represents video frame xth row, the pixel of y rows The V component of HSV;
(1.6) amended video frame is preserved to former video;
Extraction process is:
(2.1) straight line in Hough transformation detection video frame, straight length threshold value are arranged to 138, obtain containing watermark Pixel fragment;
(2.2) read video frame, detect top ten sequence number, arrive sequence number i;
Detect flag sequence, reduce W [k] as the following formula
S′i[t] is extraction watermark section, and V (x, y) is the value of the v components of coordinate (x, y) point pixel;(x, y) is t-th of picture The coordinate of vegetarian refreshments;9<t<138;
(2.3) the corresponding watermark section S ' of all different sequence number i are obtainedi[t], removes top ten and is connected afterwards by i sizes, also Raw water print T [k];
(2.4) TXT watermark texts are reduced.
Brief description of the drawings
Fig. 1 is S ' of the present inventioniStructure watermark segmental structure schematic diagram;
Fig. 2 is original video frame schematic diagram of the present invention;
Fig. 3 is video frame border schematic diagram of the present invention;
Fig. 4 is the edge pixel section schematic diagram that video frame length of the present invention is more than 138;
Fig. 5 is the embedded extraction process block diagram of the present invention.
Embodiment
See Fig. 1-5, a kind of strong robust video TXT Text Watermarkings insertion and extracting method, including video watermark is embedded and carries Two parts are taken, watermark is TXT texts, and telescopiny modification length exceedes the image border of particular value, with hsv color space V (lightness 0-100) store watermark information;
Telescopiny is:
(1.1) two-value TXT watermark texts are read with binary system, stores watermark data with an array T [k], watermark length is k;
(1.2) T [k] is expanded in segmentation as the following formula, and sequence number I, maximum storage quantity 16KB, 2* are initially inserted into every section of watermark 10*128bit;
(1.3) watermark segmentation SiFor i-th section of watermark;Total hop count is N;N=k/128+1;I is added after switching to ten binary systems To before 128 watermark sections;Form new watermark section S 'i;It is 138 per segment length;S′iStructure such as Fig. 1;
(1.4) parse video flowing and obtain video frame, this method telescopiny is more than the edge of 138 pixels just for length Straight line, is embedded in for the too short frame of edge line without watermark;Telescopiny is according to line segment starting point abscissa, from small to large It is sequentially embedded;The watermark section S ' of each frame video insertioniNumber m, m be the satisfactory number of length in a frame video; Repeat embedded S 'i
(1.5) video frame is read, carries out watermark insertion as the following formula;
(x, y) is the coordinate of t-th of pixel on line segment, and wherein V (x, y), represents video frame xth row, the pixel of y rows The V component of HSV;
(1.6) amended video frame is preserved to former video;
Extraction process is:
(2.1) straight line in Hough transformation detection video frame, straight length threshold value are arranged to 138, obtain containing watermark Pixel fragment;
(2.2) read video frame, detect top ten sequence number, arrive sequence number i;
If detecting flag sequence, W [k] is reduced as the following formula
S′i[t] is extraction watermark section, and V (x, y) is the value of the v components of coordinate (x, y) point pixel;(x, y) is t-th of picture The coordinate of vegetarian refreshments;9<t<138;
(2.3) the corresponding watermark section S ' of all different sequence number i are obtainedi[t], removes top ten and is connected afterwards by i sizes, also Raw water print T [k];
(2.4) TXT watermark texts are reduced.

Claims (1)

1. a kind of strong robust video TXT Text Watermarkings insertion and extracting method, including video watermark is embedded and extracts two parts, Watermark is TXT texts, and telescopiny modification length exceedes the image border of particular value, with V (the lightness 0- in hsv color space 100) watermark information is stored;
Telescopiny is:
(1.1) two-value TXT watermark texts are read with binary system, stores watermark data with one-dimension array T [k], watermark length is k;
(1.2) T [k] is expanded in segmentation as the following formula, and sequence number I, maximum storage quantity 16KB, 2*10* are initially inserted into every section of watermark 128bit;
(1.3) watermark segmentation SiFor i-th section of watermark;Total hop count is N;N=k/128+1;I is added to 128 after switching to ten binary systems Before the watermark section of position;Form new watermark section S 'i;It is 138 per segment length;
(1.4) parse video flowing and obtain video frame, telescopiny is more than the edge line (edge of 138 pixels just for length Analysis result as shown in figure 3, length meet it is as shown in Figure 4), be embedded in for the too short frame of edge line without watermark;It is embedding Enter process according to line segment starting point abscissa, be sequentially embedded from small to large;The watermark section S ' of each frame video insertioniNumber m, M is the satisfactory number of length in a frame video;Repeat embedded S 'i
(1.5) video frame is read, carries out watermark insertion as the following formula;
(x, y) is the coordinate of t-th of pixel on line segment, and wherein V (x, y), represents video frame xth row, the pixel HSV of y rows V component;
(1.6) amended video frame is preserved to former video;
Extraction process is:
(2.1) straight line in Hough transformation detection video frame, straight length threshold value are arranged to 138, obtain the pixel containing watermark Section;
(2.2) read video frame, detect top ten sequence number, arrive sequence number i;
Detect flag sequence, reduce W [k] as the following formula
S′i[t] is extraction watermark section, and V (x, y) is the value of the v components of coordinate (x, y) point pixel;(x, y) is t-th of pixel Coordinate;9<t<138;
(2.3) the corresponding watermark section S ' of all different sequence number i are obtainedi[t], removes top ten and is connected afterwards by i sizes, reductive water Print T [k];
(2.4) TXT watermark texts are reduced.
CN201711228699.7A 2017-11-29 2017-11-29 A kind of strong robust video TXT Text Watermarkings insertion and extracting method Pending CN107911754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711228699.7A CN107911754A (en) 2017-11-29 2017-11-29 A kind of strong robust video TXT Text Watermarkings insertion and extracting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711228699.7A CN107911754A (en) 2017-11-29 2017-11-29 A kind of strong robust video TXT Text Watermarkings insertion and extracting method

Publications (1)

Publication Number Publication Date
CN107911754A true CN107911754A (en) 2018-04-13

Family

ID=61848040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711228699.7A Pending CN107911754A (en) 2017-11-29 2017-11-29 A kind of strong robust video TXT Text Watermarkings insertion and extracting method

Country Status (1)

Country Link
CN (1) CN107911754A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853483A (en) * 2010-04-30 2010-10-06 北京航空航天大学 Printing and scanning resilient watermarking method based on mathematical modeling
CN102096891A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Method and device for embedding and extracting digital watermark
US20120051582A1 (en) * 2010-08-24 2012-03-01 Mithun Das Gupta Mapping based message encoding for fast reliable visible watermarking
JP2014225754A (en) * 2013-05-15 2014-12-04 日本電信電話株式会社 Marker embedding device, marker detection device, marker embedding method, marker detection method, and program
CN105915912A (en) * 2016-04-30 2016-08-31 安徽天虹数码科技股份有限公司 Fragile watermark embedding and detection method of MPEG-2 compressed domain video
CN105989253A (en) * 2015-03-06 2016-10-05 北京万方数据股份有限公司 Watermark embedding method as well as extraction method and apparatus
CN106097238A (en) * 2016-06-08 2016-11-09 武汉圆周率软件科技有限公司 The copy-right protection method of image data and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096891A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Method and device for embedding and extracting digital watermark
CN101853483A (en) * 2010-04-30 2010-10-06 北京航空航天大学 Printing and scanning resilient watermarking method based on mathematical modeling
US20120051582A1 (en) * 2010-08-24 2012-03-01 Mithun Das Gupta Mapping based message encoding for fast reliable visible watermarking
JP2014225754A (en) * 2013-05-15 2014-12-04 日本電信電話株式会社 Marker embedding device, marker detection device, marker embedding method, marker detection method, and program
CN105989253A (en) * 2015-03-06 2016-10-05 北京万方数据股份有限公司 Watermark embedding method as well as extraction method and apparatus
CN105915912A (en) * 2016-04-30 2016-08-31 安徽天虹数码科技股份有限公司 Fragile watermark embedding and detection method of MPEG-2 compressed domain video
CN106097238A (en) * 2016-06-08 2016-11-09 武汉圆周率软件科技有限公司 The copy-right protection method of image data and system

Similar Documents

Publication Publication Date Title
CN107911698B (en) The embedding grammar and detection method of video digital watermark information
JP2003528538A (en) Transmarking watermark embedding function as rendering command and watermark embedding processing based on multimedia signal features
CN104168484A (en) Video watermarking method based on visual attention mechanism
Goli et al. Introducing a new method robust against crop attack in digital image watermarking using two-step sudoku
Su et al. A practical design of digital watermarking for video streaming services
CN110796586A (en) Blind watermarking method and system based on digital dot matrix and readable storage medium
Rigoni et al. Detecting tampering in audio-visual content using QIM watermarking
Swetha et al. Data hiding using video steganography-a survey
US9959906B2 (en) Method and a receiver device configured to mark digital media content
CN109474830B (en) Embedding and extracting method of digital video steel seal
CN107911754A (en) A kind of strong robust video TXT Text Watermarkings insertion and extracting method
Garcia Freitas et al. Secure self-recovery watermarking scheme for error concealment and tampering detection
CN107888926A (en) A kind of strong robust video two-value BMP pictures watermark insertion and extracting method
CN107247984B (en) Coding method of visual two-dimensional code
KR20070020026A (en) Selective video blanking
CN107547556B (en) Robust video watermark embedding and extracting method, device and storage device thereof
CN110648271A (en) Method for embedding digital watermark in halftone image by using special dots
JP2001203880A (en) Method for embedding, extracting and making invisible and visible electronic watermark and device for embedding the same
Zhang et al. Multispectral image watermarking based on KLT
Saini A review on video steganography techniques in spatial domain
Kothari et al. Video watermarking in spatial domain
Venugopala et al. An approach for bitstream video watermarking on mobile device
Audichya et al. A Review on Colour Image Watermarking based on Wavelet and QR Decomposition
Kozachok et al. Steganographic System Model Based on Text Container
CN117649330A (en) Watermarking method for color image steganographic carbon identification bar code

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180413

WD01 Invention patent application deemed withdrawn after publication