Movatterモバイル変換


[0]ホーム

URL:


CN108521613A - A kind of compressed domain video watermark insertion and extracting method based on moving target - Google Patents

A kind of compressed domain video watermark insertion and extracting method based on moving target
Download PDF

Info

Publication number
CN108521613A
CN108521613ACN201810458733.8ACN201810458733ACN108521613ACN 108521613 ACN108521613 ACN 108521613ACN 201810458733 ACN201810458733 ACN 201810458733ACN 108521613 ACN108521613 ACN 108521613A
Authority
CN
China
Prior art keywords
moving target
watermark
video
motion vector
frame image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810458733.8A
Other languages
Chinese (zh)
Other versions
CN108521613B (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.)
South Central Minzu University
Original Assignee
South Central University for Nationalities
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 South Central University for NationalitiesfiledCriticalSouth Central University for Nationalities
Priority to CN201810458733.8ApriorityCriticalpatent/CN108521613B/en
Publication of CN108521613ApublicationCriticalpatent/CN108521613A/en
Application grantedgrantedCritical
Publication of CN108521613BpublicationCriticalpatent/CN108521613B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of compressed domain video watermark embedding method based on moving target, which is characterized in that including:Scrambling encryption is carried out to binary system watermark information, to obtain encrypted binary system watermark information, the moving target that each frame image of video is obtained using the video object method for tracing based on compression domain marks figure, according to the moving target label figure corresponding moving target is obtained in each frame image, and obtain corresponding motion vector from the moving target in each frame image extracted, the modulus value of all motion vectors of moving target in each frame image being calculated, and using obtained binary system watermark information to more than or equal to the modulus value of a predetermined threshold value, its corresponding motion vector carries out loop embedding water mark operation in all modulus value, to obtain the video after embedded watermark.The technical issues of present invention can solve the existing video digital watermark embedding grammar based on compression domain after the video that will carry watermark is recoded, and watermark will damage.

Description

A kind of compressed domain video watermark insertion and extracting method based on moving target
Technical field
The invention belongs to field of multi-media information safety, are regarded more particularly, to a kind of compression domain based on moving targetFrequency watermark insertion and extracting method.
Background technology
With the continuous development of modern society's network technology, Digital Media is increasingly easy to be replicated and illegal on networkIt propagates, especially in recent years, along with the prevalence of " pirated video disc " film, copyright problem has been that major movie studio faces mostHow main problem protects the copyright of Digital Media author and legitimate interests to have become Internet era letter to be solvedA great problem.Digital Video Watermarking Techniques are precisely in order to solving this problem and occurring.
In Digital Video Watermarking Techniques, the method that many video digital watermark insertions have been proposed at present is mainIt is divided into the method based on compression domain and the method two major classes based on pixel domain.Wherein, the method based on compression domain is led at presentIf using the video digital watermark embedding grammar based on motion vector, telescopiny first swears the total movement in videoAmount extracts, and is then modified to the motion vector extracted using watermark.
However, there is the defects that can not ignore, i.e. band for the existing video digital watermark embedding grammar based on compression domainThere is the video of watermark after recodification, watermark therein will damage.
Invention content
For the disadvantages described above or Improvement requirement of the prior art, the present invention provides a kind of compression domains based on moving targetVideo watermark insertion and extracting method exist it is intended that solving the existing video digital watermark embedding grammar based on compression domainAfter video with watermark is recoded, the technical issues of watermark will damage.
To achieve the above object, according to one aspect of the present invention, a kind of compression domain based on moving target is provided to regardFrequency watermark embedding method, includes the following steps:
(1) scrambling encryption is carried out to binary system watermark information, to obtain encrypted binary system watermark information;
(2) moving target that each frame image of video is obtained using the video object method for tracing based on compression domain is markedFigure obtains corresponding moving target according to the moving target label figure in each frame image, and from each frame figure extractedCorresponding motion vector is obtained in moving target as in;
(3) modulus value of all motion vectors of the moving target in each frame image that step (2) obtains is calculated, and is usedThe binary system watermark information obtained in step (1) is to being greater than or equal to the modulus value of a predetermined threshold value its corresponding fortune in all modulus valueDynamic vector carries out loop embedding water mark operation, to obtain the video after embedded watermark.
Preferably, scrambling encryption method is Arnold conversion method, Fibonacci transposition encryptions algorithm, Hilbert curvesTransposition encryption algorithm, affine transformation Encryption Algorithm or Magic Square Transformation Encryption Algorithm etc.;Binary system watermark information be bianry image or{ 0,1 } sequence, video object method for tracing are the video object method for tracing based on space-time Markov model.
Preferably, obtain corresponding motion vector from the moving target in each frame image extracted specifically,Moving target marks the position coordinates that moving target is searched in figure, and according to the position coordinates of the moving target found rightMotion vector corresponding with the moving target is searched in the motion vector for the frame image answered.
Preferably, the value range of predetermined threshold value is greater than 0, is less than in the modulus value of all motion vectors of moving targetMaximum value.
Preferably, the process for carrying out embedded water mark operation to motion vector using binary system watermark information is transported by changingThe parity of motion vector residual error is realized in dynamic vector.
It is another aspect of this invention to provide that a kind of compressed domain video watermark extracting method based on moving target is provided,Include the following steps:
(1) video after embedded watermark is subjected to partial-decoding operation, is believed with obtaining motion vector and block coding patternBreath;
(2) according to the motion vector and block coding pattern obtained after partial decoding of h in step (1) and using based on compression domainVideo object method for tracing obtain the moving target label figure of each frame image, extract the moving target in the video, and fromCorresponding motion vector is obtained in moving target in each frame image extracted;
(3) modulus value for calculating all motion vectors of the moving target in each frame image that step (2) obtains, to allMore than or equal to the modulus value of a predetermined threshold value, its corresponding motion vector extracts water mark operation in modulus value, to obtain binary systemWatermark cipher-text information.
(4) the binary system watermark cipher-text information obtained in step (3) is carried out inverting random decryption, to obtain binary system watermarkCleartext information.
Preferably, the process for water mark operation being extracted to motion vector is according to motion vector residual error in motion vectorParity is realized.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and showBeneficial effect:
(1) since the present invention is during watermark telescopiny, be from it is in each frame image extracted, have it is good anti-Weight compression performance moving target in obtain motion vector, therefore the motion vector obtained and watermark be provided with it is good anti-heavyCompression performance;
(2) the flexible insertion of watermark capacity size may be implemented by way of threshold value is arranged in the present invention;
(3) the method for the present invention can further increase method by carrying out scrambling encryption processing to binary system watermark informationSafety;
(4) since motion vector residual error data is utilized in the method for the present invention, this method is widely portable toMPEG-4, H.264, H.265 etc. in the video of formats;
(5) since the present invention can realize loop embedding watermark, the attacks such as frame loss, frame replacement can be prevented, to carryRise robustness of the present invention for frame attack;
(6) since the motion vector of present invention extraction moving target and embedded watermark and extraction watermark are all at compression domainReason avoids video decoding and reconstruct completely, can improve the treatment effeciency of system in this way using partial-decoding operation,Convenient for applying in real time.
Description of the drawings
Fig. 1 is the binary system watermark information schematic diagram obtained after (1) encryption by the method for the present invention the step of;
The moving target label figure obtained in the step of Fig. 2 is the method for the present invention (2);
Fig. 3 shows to mark figure obtained in each frame image according to moving target in the step of the method for the present invention (2)Moving target;
Fig. 4 is shown in the step of the method for the present invention (2) obtained in the moving target in each frame image extractedMotion vector;
Fig. 5 is that the weight contracting number-PSNR curves of the present invention and existing method compare;
Fig. 6 is that weight contracting number-watermark error rate curves of the present invention and existing method compare;
Fig. 7 is that weight contracting number-video SSIM curves of the present invention and existing method compare;
Fig. 8 is the flow chart of the compressed domain video watermark embedding method the present invention is based on moving target;
Fig. 9 is the flow chart of the compressed domain video watermark extracting method the present invention is based on moving target.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, rightThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described belowIt does not constitute a conflict with each other and can be combined with each other.
As shown in figure 8, the compressed domain video watermark embedding method the present invention is based on moving target includes the following steps:
(1) scrambling encryption is carried out to binary system watermark information, to obtain encrypted binary system watermark information (such as Fig. 1 institutesShow);
Specifically, the scrambling encryption method used in this step can be Arnold conversion method, Fibonacci changesChange Encryption Algorithm, Hilbert curve transposition encryptions algorithm, affine transformation Encryption Algorithm or Magic Square Transformation Encryption Algorithm etc.;This stepThe binary system watermark information mentioned in rapid, can be bianry image, can also be { 0,1 } sequence.
(2) moving target that each frame image of video is obtained using the video object method for tracing based on compression domain is markedScheme (Fig. 2), the corresponding moving target (wheel of grey in such as Fig. 3 is obtained in each frame image according to the moving target label figureProfile area encompassed), and corresponding motion vector is obtained (as schemed from the moving target in each frame image extractedShown in 4);Specifically, the video object method for tracing based on compression domain used in this step is to be based on space-time MarkovVideo object method for tracing (the Video object tracking in the compressed domain using of modelSpatio-temporal Markov Random Fields)。
Corresponding motion vector is obtained from the moving target in each frame image extracted, is real in the following waysExisting:The position coordinates of moving target are searched in the moving target label figure of Fig. 2, and according to the moving target foundPosition coordinates search motion vector corresponding with the moving target in the motion vector of corresponding frame image.
(3) modulus value of all motion vectors of the moving target in each frame image that step (2) obtains is calculated, and is usedThe binary system watermark information obtained in step (1) is to being greater than or equal to the modulus value of a predetermined threshold value its corresponding fortune in all modulus valueDynamic vector carries out loop embedding water mark operation, to obtain the video after embedded watermark;
In the present embodiment, the value range of predetermined threshold value is greater than 0, is less than all motion vectors of moving targetMaximum value in modulus value.
Predetermined threshold value is smaller, can realize and completely be embedded in binary system watermark information in video, but can be to video qualityIt affects greatly;If predetermined threshold value is bigger, the influence to video quality is smaller, but predetermined threshold value is excessive, can causeBinary system watermark information can not be completely embedded among video.Preferably, the value of predetermined threshold value should be close to moving targetMaximum value in the modulus value of all motion vectors.
In this step, embedded water mark operation is carried out to motion vector using the binary system watermark information obtained in step (1)Process be to be realized by changing the parity of motion vector residual error in motion vector, i.e., if in binary system watermark informationA certain position be 0, then by the corresponding motion vector residual error of this (Motion vector difference, abbreviation MVD) changeThe corresponding MVD of this is revised as odd number if a certain position in binary system watermark information is 1 for even number.It should be appreciated thatIt is that can also be:If a certain position in binary system watermark information is 1, by the corresponding motion vector residual error (Motion of thisVector difference, abbreviation MVD) it is revised as even number, it is if a certain position in binary system watermark information is 0, this is rightThe MVD answered is revised as odd number.
As shown in figure 9, the compressed domain video watermark extracting method the present invention is based on moving target includes the following steps:
(1) video after embedded watermark is subjected to partial-decoding operation, is believed with obtaining motion vector and block coding patternBreath;
Specifically, the coding/decoding method used in this step is corresponding with the type of video, if video is H.264 latticeFormula, then corresponding coding/decoding method is exactly H.264 coding/decoding method.
(2) according to the motion vector and block coding pattern obtained after partial decoding of h in step (1) and using based on compression domainVideo object method for tracing obtain the moving target label figure of each frame image, extract the moving target in the video, and fromCorresponding motion vector is obtained in moving target in each frame image extracted;
Specifically, the video object method for tracing based on compression domain used in this step and above-mentioned watermark telescopinyThe process of middle step (2) is identical.
The specific mistake of corresponding motion vector is obtained in this step from the moving target in each frame image extractedJourney is identical with the process of step (2) in above-mentioned watermark telescopiny, and details are not described herein.
(3) modulus value of all motion vectors of the moving target in each frame image that step (2) obtains is calculated, and to instituteHave and be greater than or equal to the modulus value of a predetermined threshold value its corresponding motion vector in modulus value and extract water mark operation, with obtain two intoWatermark cipher-text information processed.
In this step, the process that water mark operation is extracted to motion vector is according to motion vector residual error in motion vectorParity realize, process with the process of embedded watermark in (3) the step of above-mentioned telescopiny be it is corresponding, i.e., such asFruit motion vector residual error MVD is even number, then position corresponding with the MVD in binary system watermark information is set as 0, if MVD isPosition corresponding with the MVD in binary system watermark information is then set as 1 by odd number;Can also be, if motion vector residual error MVDFor even number, then position corresponding with the MVD in binary system watermark information is set as 1, if MVD is odd number, by binary system waterPosition corresponding with the MVD is set as 0 in official seal breath.
(4) the binary system watermark cipher-text information obtained in step (3) is carried out inverting random decryption, to obtain binary system watermarkCleartext information;
The random decryption method that inverts used in this step is the scrambling encryption side with step (1) in above-mentioned embedded watermarking processThe corresponding algorithm for inversion of method.
Experimental result and analysis
One, the binary system watermark information performance obtained after watermark extraction process:
(1) Y-PSNR (Peak noise signal ratio, abbreviation PNSR)
Fig. 5 is by taking table tennis video sequence as an example, by recording the binary system watermark information extracted after each weight contractingPSNR values (Y-PSNR) come that comparison is of the invention and existing method contracts after video is embedded in watermark by multiple weight extractsThe damaged condition for the watermark arrived, from fig. 5, it can be seen that being respectively embedded into watermark with the present invention and existing method and by repeatedly pressureContracting, the speed that the watermark quality extracted is damaged in multiple compression process have prodigious difference, with the embedded watermark of the present inventionVideo watermark damage in multiple compression process is slower, disclosure satisfy that the protection of watermark quality.
(2) error rate ((Error Rate, abbreviation ER)
Fig. 6 is carried in compression process each time by the video of the embedded watermark of record by taking table tennis video sequence as an exampleThe error rate of the watermark obtained carrys out the comparison robustness of the invention with existing method water mark method, from fig. 6, it can be seen that with thisInvention and after existing method is respectively embedded into watermark, by repeatedly compressing, watermark error rate difference that two methods extract compared withGreatly, the watermark being embedded in the method for the present invention is after repeatedly compressing, and the variation speed and amplitude of variation of error rate are all than existingMethod will be got well.
Two, the video quality performance after embedded watermark:
(1)PNSR
Table 1
Upper table 1 is selecting video Stefan (Stefan), bus (bus), table tennis (tennis) the 1st, 10,20 frames pointNot Shi Yong the present invention and existing method insertion watermark rear video Y-PSNR contrast table, it can be seen from comparing resultIt is embedded in the method for the present invention smaller than existing method to the change of video quality after watermark, therefore the present invention can more preferably meet realityThe demand of border application.
(2) structural similarity (structural similarity index, abbreviation SSIM)
Fig. 7 is compared by recording the SSIM values of video frame in compression process each time by taking table tennis video sequence as an exampleCompared with the method for the present invention and existing method through excessive second compression picture damaged condition after video is embedded in watermark.From figure 7 it can be seen thatAfter being respectively embedded into watermark with the method for the present invention and existing method, speed that video quality damages in weight compression process has largerDifference, with the method for the present invention be embedded in watermark video in multiple compression process video quality damage it is slower, disclosure satisfy thatThe protection of video quality.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not toThe limitation present invention, all within the spirits and principles of the present invention made by all any modification, equivalent and improvement etc., should all includeWithin protection scope of the present invention.

Claims (7)

CN201810458733.8A2018-05-152018-05-15A kind of compressed domain video watermark insertion and extracting method based on moving targetActiveCN108521613B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810458733.8ACN108521613B (en)2018-05-152018-05-15A kind of compressed domain video watermark insertion and extracting method based on moving target

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810458733.8ACN108521613B (en)2018-05-152018-05-15A kind of compressed domain video watermark insertion and extracting method based on moving target

Publications (2)

Publication NumberPublication Date
CN108521613Atrue CN108521613A (en)2018-09-11
CN108521613B CN108521613B (en)2019-03-12

Family

ID=63430598

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810458733.8AActiveCN108521613B (en)2018-05-152018-05-15A kind of compressed domain video watermark insertion and extracting method based on moving target

Country Status (1)

CountryLink
CN (1)CN108521613B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109462763A (en)*2018-10-252019-03-12深圳北斗应用技术研究院有限公司A kind of video watermark treatment method and system
CN111182365A (en)*2020-01-152020-05-19中南民族大学Compressed domain video watermark embedding and extracting method based on visual sensitive block
CN115358911A (en)*2022-10-202022-11-18北京万里红科技有限公司Screen watermark generation method, device, equipment and computer readable storage medium
CN119477654A (en)*2025-01-142025-02-18麒麟软件有限公司 A method and device for realizing synthesizer watermark in wayland environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5960081A (en)*1997-06-051999-09-28Cray Research, Inc.Embedding a digital signature in a video sequence
CN101951520A (en)*2010-10-212011-01-19上海交通大学Adaptive H.264 compressed domain video watermark embedding and extracting method
CN102307320A (en)*2011-08-112012-01-04江苏亿通高科技股份有限公司Piracy tracing watermarking method applicable to streaming media environment
CN106713917A (en)*2016-12-052017-05-24南京航空航天大学Video steganography algorithm based on motion vector difference

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5960081A (en)*1997-06-051999-09-28Cray Research, Inc.Embedding a digital signature in a video sequence
CN101951520A (en)*2010-10-212011-01-19上海交通大学Adaptive H.264 compressed domain video watermark embedding and extracting method
CN102307320A (en)*2011-08-112012-01-04江苏亿通高科技股份有限公司Piracy tracing watermarking method applicable to streaming media environment
CN106713917A (en)*2016-12-052017-05-24南京航空航天大学Video steganography algorithm based on motion vector difference

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李玲慧: "基于运动矢量的视频水印算法", 《哈尔滨工业大学硕士学位论文》*
马馥竹: "基于 H.264 压缩域的数字视频水印技术的研究", 《南京航空航天大学硕士学位论文》*

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109462763A (en)*2018-10-252019-03-12深圳北斗应用技术研究院有限公司A kind of video watermark treatment method and system
CN111182365A (en)*2020-01-152020-05-19中南民族大学Compressed domain video watermark embedding and extracting method based on visual sensitive block
CN111182365B (en)*2020-01-152020-10-27中南民族大学Compressed domain video watermark embedding and extracting method based on visual sensitive block
CN115358911A (en)*2022-10-202022-11-18北京万里红科技有限公司Screen watermark generation method, device, equipment and computer readable storage medium
CN115358911B (en)*2022-10-202023-01-31北京万里红科技有限公司Screen watermark generation method, device, equipment and computer readable storage medium
CN119477654A (en)*2025-01-142025-02-18麒麟软件有限公司 A method and device for realizing synthesizer watermark in wayland environment

Also Published As

Publication numberPublication date
CN108521613B (en)2019-03-12

Similar Documents

PublicationPublication DateTitle
CN108521613B (en)A kind of compressed domain video watermark insertion and extracting method based on moving target
Fang et al.Screen-shooting resilient watermarking
Busch et al.Digital watermarking: From concepts to real-time video applications
CN101489133B (en)Geometric attack resisting real-time video watermarking method
JP4266677B2 (en) Digital watermark embedding method and encoding device and decoding device capable of using the method
CN105741224B (en) Reversible Watermarking Algorithm Based on PVO and Adaptive Block Partitioning
Bahrami et al.A new robust video watermarking algorithm based on SURF features and block classification
CN110889798B (en) A Zero Watermark Method for Copyright Protection of 2D Video Frames and Depth Maps in 3D Video
He et al.Robust blind video watermarking against geometric deformations and online video sharing platform processing
CN102194205B (en) A Method and Device for Restorable Text Watermarking Based on Synonym Replacement
Su et al.A practical design of digital watermarking for video streaming services
Liu et al.WRAP: Watermarking approach robust against film-coating upon printed photographs
Ke et al.Robust Video watermarking based on deep neural network and curriculum learning
Ahuja et al.Video watermarking scheme based on candidates I-frames for copyright protection
Lin et al.Automatic, robust and blind video watermarking resisting camera recording
Tzeng et al.A new technique for authentication of image/video for multimedia applications
Chen et al.Reversible image watermarking based on full context prediction
ShangA new invertible data hiding in compressed videos or images
Kelkoul et al.Digital cinema watermarking state of art and comparison
CN116389854A (en)High-capacity robust video watermarking method for resisting geometric attack
Narkedamilly et al.Discrete multiwavelet–based video watermarking scheme using SURF
Anitha et al.A color image digital watermarking scheme based on SOFM
Thakur et al.Different techniques of image and video steganography: A review
CN106851436A (en)Video point shape Fragile Watermark Algorithm in DCT domain
Kumar et al.Digital video steganography: an overview

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp