CN103533457B - Multimedia digital watermark embedding and separation method and device - Google Patents

Multimedia digital watermark embedding and separation method and device Download PDF

Info

Publication number
CN103533457B
CN103533457B CN201310362964.6A CN201310362964A CN103533457B CN 103533457 B CN103533457 B CN 103533457B CN 201310362964 A CN201310362964 A CN 201310362964A CN 103533457 B CN103533457 B CN 103533457B
Authority
CN
China
Prior art keywords
watermark
information
road
frame
key frame
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.)
Active
Application number
CN201310362964.6A
Other languages
Chinese (zh)
Other versions
CN103533457A (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.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN201310362964.6A priority Critical patent/CN103533457B/en
Publication of CN103533457A publication Critical patent/CN103533457A/en
Application granted granted Critical
Publication of CN103533457B publication Critical patent/CN103533457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention proposes a kind of multimedia digital watermark embedding method and separation method and device, and wherein watermark embedding method comprises: default stage, watermark processing stage and Dealing with encrypt code stage; The watermark processing stage comprises the step of calculating watermark fuse information and decryption information. The scheme that the present invention proposes can arrange the feature that watermark embeds according to user's request, strong robustness, and can generate the unique cipher-text information that can resolve watermark for mutual mandate.

Description

Multimedia digital watermark embedding and separation method and device
Technical field
The present invention relates to digital watermark technology field, relate in particular to a kind of multimedia digital watermark and embed and divideFrom method and apparatus.
Background technology
Along with the development of multimedia technology and social networks, increasing media file is produced and shares at netOn network, Copyright Protection just becomes the problem being more and more concerned, and a lot of technology are developed for doing numberThe copyright protection of word product, wherein digital watermarking is exactly the more effective protected mode of one. Multimedia digitalWatermark, is not that copyright information is embedded in digital carrier, neither affects the normal use of original vector, not yetEasily be tampered, thereby reach the object of copyright protection. In digital living, there are a lot of common multimedia watermarksExample, if the TV station's station symbol in television program is exactly a kind of watermark form; Inserting of Internet news reportIn figure, embed the mark of source of news; The online video display that Ge great video portal website plays also can be stamped its phaseThe commercial mark of answering, to inform copyright owner's identity.
At present, embed watermark information in multimedia file, is mainly to adopt in two ways, and one is to originalData are processed, namely in the process of media production in direct watermark embedded images or frame of videoPortion, telescopiny adopts cryptographic means, makes beholder direct viewing to stamp the content of watermark, orAfter corresponding deciphering means, watermark can be peeled off and watch the content that no-watermark effect is disturbed obtaining; AnotherThe mode of kind is directly to add the compression bit stream of data to transmit watermark, but this mode is compressedThe restriction of bit rate and have to limit the size of watermarked data volume, can not put up with user-defined waterOfficial seal breath. The application uses the former mode, i.e. embed digital watermark in the initial data of media file.
In media, embed the watermark of resembling trade mark, can declare current content all rights reserved information to beholder,Made by whom and issued etc. by whom, being generally making side carries out original image or frame of video and watermark informationMerge, make the effect of watermark can cover the initial data of certain area, realize visible or hide, receiveThe reverse method that square tube is crossed fusion from corresponding region, extract the watermark information of embedding and recover original inThe result of use of holding. If side property in watermark blending algorithm Shandong is strong not, easily undertaken by some editFuzzy processing is even directly extracted watermark information and is distorted, thereby may cause infringement of copyright behavior.
The form that watermark presents is varied, from static to motion, from high-visible to hiding to deeply. Wherein,The complexity of making video watermark is higher than still image watermark, and due to continuity rule between frame of video,Use interframe operation method easily the digital watermarking based on original data processing to be extracted, make copyright protection handSegment fault. And identical watermark information is compiled through overcompression after incorporating initial data with different definitionThe processes such as code, transmission and decoding, partial information may be lost, and causes copyright effect to weaken.
Software is made in most of digital watermarking on the market at present, only provides comparatively single static watermark to embed effectReally. Even if some software can provide some watermark dynamic effects, but only consider the manufacturing process that watermark embeds,Do not support watermark to separate.
Summary of the invention
The present invention proposes a kind of multimedia digital watermark embedding method, can watermark embedding be set according to user's requestThe feature entering, watermark directly incorporates in original image or video requency frame data, and strong robustness is difficult for by illegal handSection intercepts and even distorts, and unique cipher-text information that after embedding, generation can be resolved watermark is for mutual mandate.
The present invention also proposes a kind of multimedia digital watermark separation method, can realize dividing of multimedia digital watermarkFrom.
Technical scheme of the present invention is achieved in that
A kind of multimedia digital watermark embedding method, comprising: default stage, watermark processing stage and ciphertextProcessing stage;
The described default stage comprises: import watermark and embed demand; Described watermark embedding demand comprises watermark effectParameter; Described watermark effect parameter comprises video dynamic watermark, watermark original position, dynamic trajectory, motionSpeed or visible level;
The described watermark processing stage comprises the step of calculating watermark fuse information and decryption information; Described calculating waterThe step that prints fuse information and decryption information comprises:
Calculate key frame watermark and embed region, extract RGBSan road observational components; Use quick isolated componentParser calculates corresponding RGB tri-road separation matrixes; Calculate corresponding RGB tri-tunnel information source arrays;Find the low frequency vector index in each road information source matrix; Embed the requirement of demand to visible level according to watermark,Generate and merge matrix; Watermark information RGB component correspondence is mixed into each road RGB low frequency vector of key frameAnd calculate corresponding RGB tri-road low frequency vectors and the mixed three less important dope vectors in tunnel of watermark; DescribedRGB tri-road separation matrixes and low frequency vector index are decryption information, and described fusion matrix and less important information are vowedAmount is watermark fuse information;
The ciphertext in described Dealing with encrypt code stage comprises: watermark effect parameter, watermark key frame index, solution secret letterBreath and watermark fuse information.
In said method, watermark embeds demand and can also comprise: local coding and decoding scheme, watermark to be embeddedVideo or image, watermark picture and ciphertext encrypted ones.
In said method, in the described watermark processing stage, calculate the step of watermark fuse information and decryption informationBefore rapid, can also comprise: start encoding and decoding streamline, detect key frame; Described calculating watermark fuse informationCan also comprise afterwards with the step of decryption information: start watermark and embed streamline, generate watermarked matchmakerBody file.
In said method, described encoding and decoding streamline can be for opening decoding or coding work sequence;
Described decoding work sequence can be: resolve media file, reading out data is also exported the frame of RGB patternData;
Described coding work sequence can be: receive the frame data of RGB pattern, write the corresponding media that generateIn file.
For video file, detection key frame can be: in video-frequency band, detected energy distributes comparatively uniformFrame of video, using this frame of video as key frame; For image file, detection key frame can be: directly willDescribed image is as key frame.
In said method, starting watermark embedding streamline can comprise the following steps:
(1) calculate present frame watermark and embed region;
(2) resolve present frame watermark and embed region, extract RGBSan road observational components;
(3) use RGBSan road separation matrix to calculate RGBSan road information source matrix array;
(4) utilize fusion matrix that information source low frequency vector and watermark vector are merged mutually;
(5) the main information vector after merging is replaced to original low frequency vector, produce the letter after watermarkedSource;
(6) by separate inverse matrix with watermarked after information source calculate the watermarked RGB in three roads observation and divideAmount.
In said method, the Dealing with encrypt code stage can comprise: watermark fuse information and decryption information are write closeLiterary composition file and use password encryption ciphertext.
The present invention also proposes a kind of multimedia digital watermark separation method, comprising: default stage, Dealing with encrypt codeStage and watermark processing stage;
The described watermark processing stage comprises: locator key frame, utilize watermark fuse information and decryption information to recoverWatermark picture;
For image file, described locator key frame is: from video sequence, find pass by key frame indexKey frame position; For image file, described locator key frame is: directly using image as key frame;
Described watermark fuse information and the decryption information recovery watermark picture of utilizing comprises the following steps:
Calculate key frame watermark and embed region, extract RGBSan road observational components; Utilize corresponding RGB'sThree road separation matrixes calculate watermarked information source array, and utilize three tunnel information source medium and low frequency vector index to goExtract three tunnel information source low frequency vectors; Utilize watermark to merge matrix and key frame RGB tri-road low frequency vector and waterPrint and mix the less important dope vector in rear output San road, recover watermark information; Wherein, described RGB tri-tunnelsThe index of separation matrix and low frequency vector is decryption information, and described fusion matrix and less important dope vector are watermarkFuse information.
In said method, the default stage can comprise: import local coding and decoding scheme, watermarked imageOr video, encryption ciphertext, decrypt ciphertext password.
In said method, the Dealing with encrypt code stage can comprise the letter using in password decrypting ciphertext, parsing ciphertextBreath.
In said method, the watermark processing stage can also comprise: startup encoding and decoding streamline, startup watermark divideFrom streamline and recovery original media file.
In said method, starting watermark separated flow waterline can comprise the following steps:
(1) calculate present frame watermark and embed region;
(2) resolve present frame watermark and embed region, extract RGBSan road observational components;
(3) utilize corresponding RGB tri-road separation matrixes to calculate watermarked information source array, and utilize threeRoad information source medium and low frequency vector index removes to extract three tunnel information source low frequency vectors;
(4) utilize watermark to merge matrix and watermark Vector Message, calculate the three original low frequency vectors in tunnel;
(5) utilize separation matrix inverse matrix to recover the original observation array information in RGBSan road.
A kind of multimedia digital watermark flush mounting, comprising:
User interface is abstract, embeds demand for importing watermark; Described watermark embedding demand comprises watermark effectParameter; Described watermark effect parameter comprises video dynamic watermark, watermark original position, dynamic trajectory, motionSpeed or visible level;
Watermark processing engine, for calculating watermark fuse information and decryption information; Letter is merged in described calculating watermarkBreath comprises with the step of decryption information: calculate key frame watermark and embed region, extract the observation point of RGBSan roadAmount; Use FastICA algorithm to calculate corresponding RGB tri-road separation matrixes; Calculate correspondenceRGB tri-tunnel information source arrays; Find the low frequency vector index in each road information source matrix; Embed according to watermarkThe requirement of demand to visible level, generates and merges matrix; Watermark information RGB component correspondence is mixed into keyEach road RGB low frequency vector of frame also calculates corresponding RGB tri-road low frequency vectors and watermark mixed threeThe less important dope vector in road; Described RGB tri-road separation matrixes and low frequency vector index are decryption information, described inMerging matrix and less important dope vector is watermark fuse information;
Encrypt ciphertext module, for carrying out Dealing with encrypt code, the ciphertext of described Dealing with encrypt code comprises: watermark effectParameter, watermark key frame index, decryption information and watermark fuse information.
Said apparatus can also comprise:
Coding/decoding module, for opening decoding or coding work sequence;
Described decoding work sequence is: resolve media file, reading out data is also exported the frame data of RGB pattern;
Described coding work sequence is: receive the frame data of RGB pattern, write the corresponding media file generatingIn.
A kind of multimedia digital watermark separator, comprising:
User interface is abstract, default for carrying out;
Encrypt ciphertext module, for carrying out Dealing with encrypt code;
Watermark processing engine, for carrying out watermark processing, comprising: locator key frame, utilize watermark merge letterBreath recovers watermark picture with decryption information;
For image file, described locator key frame is: from video sequence, find pass by key frame indexKey frame position; For image file, described locator key frame is: directly using image as key frame;
Described watermark fuse information and the decryption information recovery watermark picture of utilizing comprises the following steps: calculateKey frame watermark embeds region, extracts RGBSan road observational components; Utilize corresponding RGB tri-tunnels to separateMatrix computations goes out watermarked information source array, and utilizes three tunnel information source medium and low frequency vector index to go to extract threeRoad information source low frequency vector; Utilize watermark to merge matrix and key frame RGB tri-road low frequency vector and watermarksAfter mixing, the less important dope vector in output San road, recovers watermark information; Wherein, three of described RGBThe index of road separation matrix and low frequency vector is decryption information, and described fusion matrix and less important dope vector areWatermark fuse information.
As fully visible, the present invention proposes the embedding of multimedia digital watermark flexibly and effectively and separation method and dressPut, user can arrange the feature that watermark embeds according to user's request, comprises watermark information, dynamicThe watermark effect that track and visibility etc. are abundant. Watermark directly incorporates in original image or video requency frame data,Strong robustness, is difficult for being intercepted even and distorting by illegal means, and after embedding, generation can be resolved the unique of watermarkCipher-text information is authorized for mutual.
Brief description of the drawings
Fig. 1 is the structural representation of multimedia digital watermark processing device in the embodiment of the present invention one;
Fig. 2 is the realization flow figure that in the embodiment of the present invention two, watermark embeds;
Fig. 3 is encoding and decoding streamline schematic diagram in the embodiment of the present invention three;
Fig. 4 is that in the embodiment of the present invention four, digital watermarking is merged and encrypts realization flow figure;
Fig. 5 is that in the embodiment of the present invention five, digital watermarking embeds streamline schematic diagram;
Fig. 6 is the cut-away view schematic diagram of cipher-text information in the embodiment of the present invention six;
Fig. 7 is the realization flow figure that in the embodiment of the present invention seven, digital watermarking separates;
Fig. 8 is that in the embodiment of the present invention eight, digital watermark information recovers realization flow figure;
Fig. 9 is that in the embodiment of the present invention nine, digital watermarking separates streamline schematic diagram.
Detailed description of the invention
Solution of the present invention is to provide a kind of multimedia digital watermark handling method, can be for image, videoThe embedding that file carries out watermark with separate. The method relies on local multimedia solution, to image orFrame of video is carried out coding-decoding operation, and its processing core is that image or the frame of video to extracting resolved,The mode that uses Independent Component Analysis Algorithm to find watermark picture and initial data mutually to merge, and weaken videoCorrelation between successive frame. Provide multiple watermark to embed form simultaneously, support video dynamic watermark direction, waterPrint visibility adjustment etc. The encryption ciphertext generating is applicable to the reverse process that watermark separates. Corresponding device is carriedSupply interface layer upwards, facilitated local application to use.
The invention provides a kind of multimedia digital watermark embedding method and device, and a kind of multimedia digital waterPrint separation method and device.
Watermark embedding method is divided into three phases, default stage, watermark processing stage and Dealing with encrypt code stage.
The default stage imports watermark by the upper level applications of the application's device and embeds demand. Wherein watermark embeds needsAsk, comprise the video of local coding and decoding scheme, watermark to be embedded or image, watermark picture, watermark effect ginsengNumber and ciphertext encrypted ones. Watermark effect parameter, comprises video dynamic watermark, watermark original position, movingThe information such as state track, movement rate or visible level.
The watermark processing stage, comprise start encoding and decoding streamlines, detect key frame, calculate watermark fuse information withDecryption information, startup watermark embed streamline, generate the steps such as watermarked media file.
Wherein encoding and decoding streamline, is to open two work sequence of decoding and coding, and decoding work sequence is resolved matchmakerBody file, reading out data is also exported the frame data of RGB pattern, coding work sequential reception RGB patternFrame data, write in the corresponding media file generating.
Detect key frame, refer to detected energy distribution frame of video comparatively uniformly in video-frequency band, the object of choosingBe to improve watermarking algorithm performance, optimize watermark and present effect. If source material is image and non-video,Directly image is processed as key frame.
Decryption information, comprises key frame RGB tri-road separation matrixes and corresponding three tunnel information source medium and low frequency vector ropesDraw. Watermark fuse information, comprises RGB tri-road low frequency vector and the watermarks of watermark fusion matrix and key frameThe less important dope vector in output San road after mixing. Calculate watermark fuse information and decryption information, be divided into following stepRapid:
(1) calculate key frame watermark and embed region;
(2) resolve key frame watermark and embed region, extract RGBSan road observational components;
(3) initialize separation matrix;
(4) use FastICA algorithm to calculate corresponding RGB tri-road separation matrixes;
(5) calculate corresponding RGB tri-tunnel information source arrays;
(6) find each road information source medium and low frequency vector index;
(7) embed the requirement of demand to visible level according to watermark, generate and merge matrix;
(8) watermark information RGB component correspondence is mixed into each road RGB low frequency vector and calculates correspondenceThe mixed three less important dope vectors in tunnel of RGB tri-road low frequency vectors and watermark.
Start watermark and embed streamline, be divided into following steps:
(1) calculate present frame watermark and embed region;
(2) resolve present frame watermark and embed region, extract RGBSan road observational components;
(3) use RGBSan road separation matrix to calculate RGBSan road information source matrix array;
(4) utilize fusion matrix that information source low frequency vector and watermark vector are merged mutually;
(5) the main information vector after merging is replaced to original low frequency vector, produce the information source after watermarked;
(6) by separate inverse matrix with watermarked after information source calculate the watermarked RGB in three roads observation and divideAmount.
In the Dealing with encrypt code stage that watermark embeds, comprise that watermark fuse information and decryption information write cryptograph files, makeUse password encryption ciphertext. Ciphertext text comprises watermark effect parameter, watermark key frame index, watermark solution secret letterBreath and watermark fuse information.
Watermark separation method is also divided into three phases, default stage, Dealing with encrypt code stage and watermark processing stage.
In the default stage, import local coding and decoding scheme, watermarked by the upper level applications of the application's deviceImage or video, encryption ciphertext, decrypt ciphertext password.
In the Dealing with encrypt code stage, use password decrypting ciphertext, resolve the information in ciphertext.
The watermark processing stage, comprise start encoding and decoding streamlines, locator key frame, utilize watermark fuse information withDecryption information recovers watermark picture, starts watermark separated flow waterline and recovers original media file.
Locator key frame is from video sequence, to find key frame position by key frame index. If source materialIt is image and non-video is directly processed image as key frame.
Utilize watermark fuse information and decryption information to recover watermark picture, be divided into following steps:
(1) calculate key frame watermark and embed region;
(2) resolve key frame watermark and embed region, extract RGBSan road observational components;
(3) utilize corresponding RGB tri-road separation matrixes to calculate watermarked information source array, and utilize three tunnelsInformation source medium and low frequency vector index removes to extract three tunnel information source low frequency vectors;
(4) utilizing watermark to merge matrix and key frame RGB tri-road low frequency vectors mixes with watermark and exports afterwardsThe three less important dope vectors in tunnel, calculate watermark information;
(5) recover watermark picture effect.
Start watermark separated flow waterline, be divided into following steps:
(1) calculate present frame watermark and embed region;
(2) resolve present frame watermark and embed region, extract RGBSan road observational components;
(3) utilize corresponding RGB tri-road separation matrixes to calculate watermarked information source array, and utilize three tunnelsInformation source medium and low frequency vector index removes to extract three tunnel information source low frequency vectors;
(4) utilize watermark to merge matrix and watermark Vector Message, calculate the three original low frequency vectors in tunnel;
(5) utilize separation matrix inverse matrix to recover the original observation array information in RGBSan road;
In order to make the application's object, technological means and advantage clearer, below in conjunction with accompanying drawing to this ShenPlease be described in further details.
Embodiment mono-:
If Fig. 1 is the structural representation of multimedia digital watermark processing device in the embodiment of the present invention one. As Fig. 1Shown in, the device configuring is abstract 101 by user interface, coding and decoding scheme module 102, watermark processing engine103, encrypting ciphertext module 104 and file storage module 105 forms. In this structure, user interface is abstract101 for docking with application program, receives the parameter that upper strata arranges, and certain application program is to multimedia digitalThe processing demands of watermark is described. Coding and decoding scheme module 102 can receive local multimedia scheme, supports to lookFrequently with the encoding and decoding of image, can extract the data in multimedia file, also multi-medium data can be writeIn the media file of certain form. Watermark processing engine 103 is processing centers of the application's method, is also thisThe core component of application device, is used for analyzing the multi-medium data of exporting from coding and decoding scheme module 102,Describe according to demand watermark is embedded in multimedia initial data or from media data and separated, for imageMedia can embed and separate static watermark information, can also support dynamic watermark, to flow for video mediaThe mode of waterline operation is processed, and can support storage and the media data input and output of form online. AddDense civilian module 104 is user interactions authorized component, and the user password according to demand, draws watermark processingHold up the information of 103 outputs and carry out textization and encrypt, for terminal room transmission and authority checking operation. File105 of memory modules are that the file to generating does stores processor, immediately play or storage, preserve local orPerson high in the clouds.
Embodiment bis-:
If Fig. 2 is the realization flow figure that in the embodiment of the present invention two, watermark embeds. Import to result from informationOutput, specifically describes as follows:
Multimedia digital watermark embeds main flow and first enters the default stage, in this stage by upper level applications toIn the application's device, demand parameter is set.
Step 201, imports local coding and decoding scheme demand, makes exactly the application's device get the many of this localityMedia processing capacity, supports follow-up encoding and decoding work.
Step 202, imports video or image resource, and this need to squeeze into the original media of watermark as userFile imports watermark picture simultaneously, and the user interface abstract 101 of the application's device provides and receives watermark figureSheet form to upper interface, and user's How to choose or create process and the interface wind of watermark pictorial informationLattice, provide interface to support by upper level applications.
Step 203, imports watermark parameters effect, and this step is exactly the requirement description that heap watermark will be set, onIn step 202, be provided with watermark picture, will have specifically described the presentation mode of watermark here.
Described watermark presentation mode comprises, is still in the watermark effect on certain fixed position; With certain motion railThe mark mobile dynamic effect etc. that flies. Description comprises the initial position of watermark, dynamical fashion, dynamicallySpeed, the much informations such as visible level, these information can affect in follow-up watermark embedding or separation processThe concrete enforcement of algorithm.
In described step 203, if embedded for the watermark of image resource, do not provide dynamic watermark demandDescribe, only provide static mode to present.
Step 204, imports ciphertext password, and this ciphertext password obtains during by upper level applications and user interactions,Object is encrypted for process prescription watermark being embedded with password string. Make the media after watermarkedWhen file need to carry out watermark lock out operation on another station terminal, must be first through awarding between certain userPower action is transmitted and is encrypted ciphertext, then uses password to be decrypted ciphertext, then utilizes close after decipheringLiterary composition content is carried out watermark separation. Also can receive non-encrypted situation, ciphertext generates with plaintext form. StepAfter rapid 204, carry out the watermark processing stage.
Step 205, before watermark data is processed, starts encoding and decoding streamline. Treat embedding owing to being provided with beforeThe video or the image resource that enter watermark, this step positions resource, and resource may also may in this localityBeyond the clouds in server, thus to determine resource acquisition mode, and attempt reading and Study document data. BeatUnwind two work sequence of code and coding, carry out encoding and decoding work to realize the order of real-time conversion and demonstration simultaneously. Specifically refer to tri-descriptions as embodiment.
Step 206, detects key frame. Watermark presentation mode may be static, may be also dynamic, rightIn the embedding of video watermark, because being directly to revise original media data, namely watermark to be embedded intoIn each frame data, if each frame all calculates separately and produces corresponding decryption information, amount of calculation is hugeAnd the decryption information generating is also very huge, be unfavorable for the convenience of real-time and transmission. So the application is in conjunction with fastSpeed Independent Component Analysis Algorithm (Fast-ICA) characteristic selects key frame to embed as watermark in sequence of frames of videoBenchmark, and need not be to all operation independents of each frame, to reduce amount of calculation and decryption information memory space.
Described key frame, refers to certain frame of video, and its Energy distribution is comparatively even, is exactly whole in frame data arrayThe equilibrium of volume data intensity profile, does not have obviously too bright or too dark region effect. Choosing like this, mainWhen implementing Fast-ICA algorithm, data separating successful, information source frequency distribution also more evenly andMake watermark effect better. If source material is image resource, directly image is processed as key frame.
Step 207, calculates key frame watermark fuse information (being called for short watermark fuse information) and decryption information. Look forAfter key frame, by needing watermarked region to resolve to these frame data, find a watermark and formerThe mode that beginning data merge mutually, as watermark fuse information, output simultaneously can be used as method reverse operationData segment, as decryption information. Specifically refer to following embodiment tetra-descriptions.
Step 208, writes cryptograph files by watermark fuse information and decryption information, and these information will be served as watermarkWhen separation must reference one of data be written into cryptograph files. Following embodiment five descriptions of specifically meeting each other.
Step 209, after the content of cryptograph files is determined, using user password as password is entered in full to ciphertextRow is encrypted, in order to mutual authority of authorizing between safe transmission and user.
Step 210, starts watermark and embeds streamline. Once determine key frame, analyzed watermark and merged letterBreath and decryption information, just can carry out watermark embedding to video-frequency band, starts the work sequence of streamline form,Frame of video is processed one by one. From decoding work sequence, obtain each frame initial data, export watermarkedFrame data. The following Fig. 6 that specifically meets each other describes.
Consider that user is to watermark demand, may in the process of making watermark video, change watermark picture,Need to need to again choose key frame and calculate at corresponding video intersegmental part for the watermark picture upgrading and merge letterBreath and decryption information. So described step 206 is to step 210, i.e. dotted line frame part, repeated for capable of circulationJourney.
Step 211, is to generate watermarked media file, is mainly that the frame data that step 210 is exported sendEnter in coding work sequence, write new media file.
Embodiment tri-:
If Fig. 3 is encoding and decoding streamline schematic diagram in the embodiment of the present invention three, specifically describe as follows:
Decoding work sequence:
Step 301, by local means or long-range means, gets media file data.
Step 302, analyzing medium file format, resolves container and data flow, and the demultiplexing before broadcasting, sentencesWhether disconnected this media file can be received and process by local multimedia scheme.
Step 303, if local multimedia scheme cannot be processed this media formats, proceeds to wrong processing, noticeUpper level applications.
Step 304, if compatible this media formats of local multimedia scheme provides abstract image or video frame numberAccording to.
Step 305, before view data or video requency frame data export watermark processing engine 103 to, is countedBe converted into rgb color pattern according to array, be convenient to later stage algorithm and implement.
Coding work sequence:
Step 306, first coding judges the whether compatible target code form of local multimedia scheme before carrying out.Proceed to step 303 if incompatible and do wrong processing.
Step 307, creates new file destination entity.
Step 308, the frame data of the RGB pattern that reception is exported by watermark processing engine 103.
Step 309, compresses frame data and writes in file destination entity.
Embodiment tetra-:
If Fig. 4 is that in the embodiment of the present invention four, digital watermarking is merged and encrypts realization flow figure, wherein core algorithmBe to use Fast-ICA, specifically describe as follows:
Step 401 has got key frame in above-mentioned steps 206, in this step from decoding workIn sequence, extract the RGB data of key frame.
Step 402, the watermark demand arranging according to upper layer application, original position, dynamic trajectory and motion speedThe information such as rate, calculate watermark and embed the regional location of this key frame, the region that namely watermark shows, itsArea size and watermark picture measure-alike. If but by watermark picture and viewing area direct toRatio is mixed, and is easy to utilize inter-frame algorithm to find fusion to specify and crack. The application's method is aobvious at thisAround showing region, carry out implicit expression expansion, use the mode of extending inquiry that these viewing area data are promoted to multidimensionalSpace, the dimension data having more all around extends and from this viewing area, forms multi-dimension array data,Be expressed as Observkey, its dimension is N, the data volume of every one-dimensional space is identical with watermark pictorial information amount, vacationIf watermark pictorial information amount is M, ObservkeyFor N × Metzler matrix. Although the increase of dimension can strengthen calculationThe robustness of method, but also can increase computation complexity simultaneously, in actual algorithm process, generally extend to the four-dimensionSpace can meet algorithm robust performance, does not affect again real-time performance.
Step 403, analyzes Observkey, therefrom split and extract the array data of corresponding RGB respectively, asThe three original observational componentses in tunnel, are expressed as Observkey-R、Observkey-GAnd Observkey-B
Step 404, Fast-ICA algorithm need to be inputted an initial separation matrix before implementing, and it is of a size ofN × N, matrix data obtains at random, is expressed as Woriginal
Step 405, after obtaining the initial random separation matrix HeRGB tri-original observational componentses in tunnel, implementsFast-ICA iteration, quantizes to seek in error range solving of isolated component that the degree of correlation is lower certain, withLower three formula have been described the relation solving:
Sourcekey-R=Wkey-R·Observkey-R(1)
Sourcekey-G=Wkey-G·Observkey-G(2)
Sourcekey-B=Wkey-B·Observkey-B(3)
According to algorithm principle, under the prerequisite of the observational components of known certain dimension, find out the letter of same dimensionSource, in this information source, between each dimension, mutual statistical is independent.
Step 406, according to the relation that solves in described step 405, i.e. formula (1) (2) (3), algorithm output is correspondingRGB tri-road separation matrix Wkey-R、Wkey-G、Wkey-B, be N × N square formation.
Step 407 according to the solution formula in described step 405, draws corresponding RGB tri-tunnel information sources simultaneouslyArray Sourcekey-R、Sourcekey-G、Sourcekey-B, be N × Metzler matrix.
Step 408, because Fast-ICA is the analytical method based on higher order statistical characteristic, presses observational components frequentlyThe projection of rate section forms information source component, and information source component medium and low frequency vector the inclusive projection, according to most of energy, dividesNot at Sourcekey-R、Sourcekey-G、Sourcekey-BIn find the low frequency vector index of its energy maximum, low frequencyVector representation is LowFrequencykey-R、LowFrequencykey-G、LowFrequencykey-B, its concordance list is shownIndexkey-R、Indexkey-G、Indexkey-B
Step 409, the key frame San road separation matrix W that step 406 is exportedkey-R、Wkey-G、Wkey-BWith stepThe low frequency vector index Index of the corresponding San road information source array of rapid 408 outputskey-R、Indexkey-G、Indexkey-B,Preserve as decryption information.
Step 410, because the low frequency vector of information source array has comprised most picture region energy, by waterOfficial seal breath carries out linearity with this low frequency vector and merges, and this linearity merges and is expressed as fusion matrix M ix, due to by twoIndividual one dimension Vector Message merges, and Mix is two-dimentional square formation.
Described fusion matrix M ix, its value is according to the requirement to watermark visibility in watermark demand.
Step 411, watermark information is expressed as a n dimensional vector n Watermark, is divided into RGBSan road vectorWatermarkR、WatermarkG、WatermarkB, below formula fusion process has been described:
Mix · LowFrequency key - R Watermark R = Primary key - R Secondary key - R - - - ( 4 )
Mix · LowFrequency key - G Watermark G = Primary key - G Secondary key - G - - - ( 5 )
Mix · LowFrequency key - B Watermark B = Primary key - B Secondary key - B - - - ( 6 )
Less important dope vector Secondary after output is mergedkey-R、Secondarykey-G、Secondarykey-B
Step 412, after the fusion that the fusion matrix M ix in step 410 and step 411 are exported, less important information is vowedAmount Secondarykey-R、Secondarykey-G、Secondarykey-BPreserve as watermark fuse information.
Embodiment five:
If Fig. 5 is that in the embodiment of the present invention five, digital watermarking embeds streamline schematic diagram, specifically describe as follows:
Step 501 is extracted frame RGB data from decoding work sequence, and note present frame index is n. If locateWhen the resource of reason is image, only need to extract frame data.
Step 502, the watermark demand arranging according to upper layer application, original position, dynamic trajectory and motion speedThe information such as rate, calculate watermark viewing area, its area size and watermark picture measure-alike. According to instituteState the description in step 402, extend to multi-dimension array data, be expressed as Observn, be N × Metzler matrix, NBe dimension, M is watermark pictorial information amount.
Step 503, analyzes Observn, therefrom split and extract the array data of corresponding RGB respectively, as threeThe original observational components in road, is expressed as Observn-R、Observn-GAnd Observn-B
Step 504, utilizes and has obtained RGB tri-road separation matrix Wkey-R、Wkey-G、Wkey-B, Dui San road is formerBeginning observational components carries out linear operation, corresponding following formula:
Sourcen-R=Wkey-R·Observn-R(7)
Sourcen-G=Wkey-G·Observn-G(8)
Sourcen-B=Wkey-B·Observn-B(9)
Be the equal of in the hyperspace of utilizing key frame to calculate, the observational components of each frame is all used to phaseSame projection coefficient produces corresponding information source component, the result output RGBSan road information source array of calculatingSourcen-R、Sourcen-G、Sourcen-B, index and the Index of each information source medium and low frequency componentkey-R、Indexkey-G、 Indexkey-BIdentical.
Step 505, is used identical fusion matrix M ix, watermark merged to the low frequency vector of information source component,Corresponding following formula:
Mix · LowFrequency n - R Watermark R = Primary n - R Secondary n - R - - - ( 10 )
Mix · LowFrequency n - G Watermark G = Primary n - G Secondary n - G - - - ( 11 )
Mix · LowFrequency n - B Watermark B = Primary n - B Secondary n - B - - - ( 12 )
Step 506, watermark is mixed to after information source low frequency vector, and mixed main information vector is replaced former lowFrequently vector, forms new information source component arrays Sourcen-R′、Sourcen-G′、Sourcen-B′。
Step 507, has obtained merging after the information source component after watermark, then it has been converted into newly by linear transformationObservational components, corresponding following formula:
W key - R - 1 · Source n - R ′ = Observ n - R ′ - - - ( 13 )
W key - G - 1 · Source n - G ′ = Observ n - G ′ - - - ( 14 )
W key - B - 1 · Source n - B ′ = Observ n - B ′ - - - ( 15 )
Step 508, generates new observational components array Observn-R′、Observn-G′、Observn-B' as embedding waterFrame data region after seal, the original area data before covering, thus form after new watermarked of a frameFrame data.
Step 509, by generate watermarked after frame data send into coding work sequence.
Embodiment six:
If Fig. 6 is the cut-away view schematic diagram of cipher-text information in the embodiment of the present invention six, comprise watermark effect ginsengSeveral 601, watermark key frame index 602, watermark decryption information 603 and watermark fuse information 604.
Described watermark effect parameter 601, be upper layer application arrange watermark demand, comprise video dynamic watermark,The information such as watermark original position, dynamic trajectory, movement rate or visible level.
Described watermark key frame index 602 is key frame index positions in sequence of frames of video.
Described watermark decryption information 603, comprises that step 406 exports San road separation matrix Wkey-R、Wkey-G、Wkey-BThe low frequency vector index Index of the corresponding three tunnel information source arrays of exporting with step 408key-R、Indexkey-G、Indexkey-B
Described watermark fuse information 604, comprises that fusion matrix M ix and the step 411 of output in step 410 exportedFusion after less important dope vector Secondarykey-R、Secondarykey-G、Secondarykey-B
Wherein said watermark key frame index 602, watermark decryption information 603 and watermark fuse information 604, canWith according to the quantity that watermark picture in demand is set, increase and decrease accordingly.
Embodiment seven:
If Fig. 7 is the realization flow figure that in the embodiment of the present invention seven, digital watermarking separates, import to from information equallyResult output, specifically describes as follows:
Step 701, imports local coding and decoding scheme demand, makes the application's device get local multimedia placeReason ability.
Step 702, imports watermarked video or image resource.
Step 703, imports the encryption ciphertext being generated by watermark embed process, and how this ciphertext carries out at terminal roomTransmit or how to share and do not belong to the application's coverage.
Step 704, import user password, if ciphertext text generate process in via user password encrypt,In the time resolving, need corresponding password as deciphering voucher, how user password does not belong in terminal room transmissionThe application's coverage.
Step 705, is used password to be decrypted processing to encrypting ciphertext, obtains the clear content of cryptograph files.
Step 706, resolves ciphertext, from content, analyzes and obtains described watermark effect parameter 601, watermark keyFrame index 602, watermark decryption information 603 and watermark fuse information 604.
Step 707, proceeds to the watermark processing stage, first starts encoding and decoding streamline, to be separated owing to being provided withThe video of watermark or image resource, this step positions resource, resource may be in this locality also may beIn cloud server, thus to determine resource acquisition mode, and attempt reading and Study document data. OpenTwo work sequence of decoding and coding are carried out encoding and decoding work to realize real-time conversion and demonstration simultaneously.
Step 708 according to the watermark key frame index 602 having obtained, is directly targeted in video sequenceKey frame position. In the time of the media resource of watermark to be separated, when image, key frame is exactly this image itself.
Step 709, melts according to the watermark effect parameter 601 of having obtained, watermark decryption information 603 and watermarkClose information 604, key frame is resolved. Extract watermark region, and the use contrary mistake contrary with telescopinyCheng Huifu watermark pictorial information, specifically describes the following Fig. 8 that meets each other and describes.
Step 710, starts watermark and embeds streamline. Use watermark fuse information and decryption information, to video-frequency bandCarry out watermark separation, start the work sequence of streamline form, frame of video is processed one by one. From decoding workIn sequence, obtain the watermarked data of each frame, the original frame data after output watermark. Specifically refer to as followsEmbodiment nine describes.
Consider watermark picture in video sequence change may, described step 708 is to step 710, i.e. dotted lineFrame part is repetitive process capable of circulation.
Step 711, is to recover original media file, is mainly that the frame data that step 710 is exported are sent into codingIn work sequence, write new media file.
Embodiment eight:
If Fig. 8 is that in the embodiment of the present invention eight, digital watermark information recovers realization flow figure, specifically describe as follows:
Step 801, above-mentioned steps 708 has been obtained key frame index position, from decoding work sequence, extractsGo out the RGB data of key frame.
Step 802, the information such as original position, dynamic trajectory and movement rate in watermark demand, calculates water outletPrint the position, viewing area that embeds this key frame. And by this viewing area data extending to hyperspace, have moreDimension data around extend and from this viewing area according to certain rule, form multi-dimension array data,This array is exactly corresponding to Observ described in step 402keyWatermarked array, be expressed as Observkey′,For N × Metzler matrix.
Step 803, by Observkey' be split as watermarked RGB tri-road observational components Observkey-R′、Observkey-G′、Observkey-B′。
Step 804, goes for the low of information source component according to the watermark decryption information 603 extracting from ciphertextFrequently vector, namely watermarked that vector at that time. First by RGBSan road observational componentsObservkey-R′、Observkey-G′、Observkey-B' HeRGB tri-road separation matrix Wkey-R、Wkey-G、Wkey-B, logicalCross linear combination and calculate information source array, corresponding formula is as follows:
Sourcekey-R′=Wkey-R·Observkey-R′(16)
Sourcekey-G′=Wkey-G·Observkey-G′(17)
Sourcekey-B′=Wkey-B·Observkey-B′(18)
Again by the low frequency vector index Index of RGBSan road information source arraykey-R、Indexkey-G、Indexkey-B, look forTo corresponding information source array RGB tri-road low frequency vector Primarykey-R、Primarykey-G、Primarykey-B
Step 805, removes to recover watermark information picture according to the watermark fuse information 604 extracting from ciphertext. AlsoBe exactly to use merge matrix M ix and merge rear less important dope vector Secondarykey-R、Secondarykey-G、Secondarykey-B, utilize above-mentioned formula (4) (5) (6) to calculate watermark information RGBSan road vectorWatermarkR、WatermarkG、WatermarkB, can merge into watermark pictorial information vector Watermark.
Step 806, is converted into watermark picture by watermark information vector Watermark, can be for showing or secondary volumeVolume.
Embodiment nine:
If Fig. 9 is that in the embodiment of the present invention nine, digital watermarking separates streamline schematic diagram, specifically describe as follows:
Step 901 is extracted frame RGB data from decoding work sequence, and note present frame index is n. If locateWhen the resource of reason is image, only need to extract frame data.
Step 902, according to the watermark effect parameter 601 of extracting from ciphertext, comprises video dynamic watermark, waterPrint the information such as original position, dynamic trajectory, movement rate or visible level, calculate watermark viewing area,According to the description in described step 402, extend to multi-dimension array data, be expressed as Observn', be N × M squareBattle array, N is dimension, M is watermark pictorial information amount.
Step 903, analyzes Observn', therefrom split and extract the array data of corresponding RGB respectively, as threeThe observational components that road is watermarked, is expressed as Observn-R′、Observn-G' and Observn-B′。
Step 904, for the observational components of present frame, according to the watermark decryption information extracting from ciphertext603 go for the low frequency vector of information source component, namely watermarked data vector at that time. First utilizeRGBSan road observational components Observn-R′、Observn-G' and Observn-B' HeRGB tri-road separation matrix Wkey-R、 Wkey-G、Wkey-B, calculating information source array by linear combination, corresponding formula is as follows:
Sourcen-R′=Wkey-R·Observn-R′(19)
Sourcen-G′=Wkey-G·Observn-G′(20)
Sourcen-B′=Wkey-B·Observn-B′(21)
Again by the low frequency vector index Index of RGBSan road information source arraykey-R、Indexkey-G、Indexkey-B, look forTo the corresponding information source array of present frame observational components RGB tri-road low frequency vector Primaryn-R、Primaryn-G、Primaryn-B
Step 905, according to described step 805, has extracted watermark information vector WatermarkR、WatermarkG、WatermarkB, the fusion matrix M ix in known ciphertext fuse information, adds information source simultaneouslyArray RGB tri-road low frequency vector Primaryn-R、Primaryn-G、Primaryn-B, can utilize above-mentioned formula(10) (11) (12) calculate the original low frequency vector LowFrequency when not watermarkedn-R、LowFrequencyn-G、LowFrequencyn-B
Step 906, in the information source of present frame observational components, with original low frequency vector LowFrequencyn-R、LowFrequencyn-G、LowFrequencyn-BRemove to replace Primaryn-R、Primaryn-G、Primaryn-B, obtainOriginal source array data Source when not watermarkedn-R、Sourcen-G、Sourcen-B
Utilize formula (7) (8) (9) to calculate the original observation array Observ when not watermarkedn-R、Observn-GAnd Observn-B
Step 907, RGBSan road original observation array Observn-R、Observn-GAnd Observn-BBe merged intoObservnThereby, recover original image or video requency frame data, supply to show or send into coding work sequence.
The present invention also proposes a kind of multimedia digital watermark flush mounting, comprising:
User interface is abstract, embeds demand for importing watermark; Described watermark embedding demand comprises watermark effectParameter; Described watermark effect parameter comprises video dynamic watermark, watermark original position, dynamic trajectory, motionSpeed or visible level;
Watermark processing engine, for calculating watermark fuse information and decryption information; Letter is merged in described calculating watermarkBreath comprises with the step of decryption information: calculate key frame watermark and embed region, extract the observation point of RGBSan roadAmount; Use FastICA algorithm to calculate corresponding RGB tri-road separation matrixes; Calculate correspondenceRGB tri-tunnel information source arrays; Find the low frequency vector index in each road information source matrix; Embed according to watermarkThe requirement of demand to visible level, generates and merges matrix; Watermark information RGB component correspondence is mixed into keyEach road RGB low frequency vector of frame also calculates corresponding RGB tri-road low frequency vectors and watermark mixed threeThe less important dope vector in road; Described RGB tri-road separation matrixes and low frequency vector index are decryption information, described inMerging matrix and less important dope vector is watermark fuse information;
Encrypt ciphertext module, for carrying out Dealing with encrypt code, the ciphertext of described Dealing with encrypt code comprises: watermark effectParameter, watermark key frame index, decryption information and watermark fuse information.
Said apparatus can also comprise:
Coding/decoding module, for opening decoding or coding work sequence;
Described decoding work sequence is: resolve media file, reading out data is also exported the frame data of RGB pattern;
Described coding work sequence is: receive the frame data of RGB pattern, write the corresponding media file generatingIn.
The present invention also proposes a kind of multimedia digital watermark separator, comprising:
User interface is abstract, default for carrying out;
Encrypt ciphertext module, for carrying out Dealing with encrypt code;
Watermark processing engine, for carrying out watermark processing, comprising: locator key frame, utilize watermark merge letterBreath recovers watermark picture with decryption information;
For image file, described locator key frame is: from video sequence, find pass by key frame indexKey frame position; For image file, described locator key frame is: directly using image as key frame;
Described watermark fuse information and the decryption information recovery watermark picture of utilizing comprises the following steps: calculate keyFrame watermark embeds region, extracts RGBSan road observational components; Utilize corresponding RGB tri-road separation matrix metersCalculate watermarked information source array, and it is low to utilize three tunnel information source medium and low frequency vector index to go to extract three tunnel information sourcesFrequently vector; After utilizing watermark fusion matrix and key frame RGB tri-road low frequency vectors to mix with watermark, exportThe three less important dope vectors in tunnel, recover watermark information; Wherein, described RGB tri-road separation matrix and low frequenciesThe index of vector is decryption information, and described fusion matrix and less important dope vector are watermark fuse information.
In the method that the present invention proposes, watermark embedding and separation process amount of calculation are little real-time, can adapt toLinear flow media play. The device that the present invention proposes can be deployed to various terminals, can be by various application programsInstitute is used, and is convenient to realize embedding, the separation of multimedia digital watermark and the end-to-end mutual mould of editing againFormula.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all at thisWithin the spirit and principle of invention, any amendment of making, be equal to replacement, improvement etc., all should be included inWithin the scope of protection of the invention.

Claims (15)

1. a multimedia digital watermark embedding method, is characterized in that, described method comprises: the default stage,Watermark processing stage and Dealing with encrypt code stage;
The described default stage comprises: import watermark and embed demand; Described watermark embedding demand comprises watermark effectParameter; Described watermark effect parameter comprises video dynamic watermark, watermark original position, dynamic trajectory, motionSpeed or visible level;
The described watermark processing stage comprises the step of calculating watermark fuse information and decryption information; Described calculating waterThe step that prints fuse information and decryption information comprises: calculate key frame watermark and embed region, extract RGB tri-Road observational components; Use FastICA algorithm to calculate corresponding RGB tri-road separation matrixes; MeterCalculate corresponding RGB tri-tunnel information source arrays; Find the low frequency vector index in each road information source matrix; According toWatermark embeds the requirement of demand to visible level, generates and merges matrix; By corresponding watermark information RGB component mixedBe incorporated into each road RGB low frequency vector of key frame and calculate corresponding RGB tri-road low frequency vectors and watermark mixedClose the Hou tri-less important dope vectors in tunnel; Described RGB tri-road separation matrixes and low frequency vector index are for separating secret letterBreath, described fusion matrix and less important dope vector are watermark fuse information;
The ciphertext in described Dealing with encrypt code stage comprises: watermark effect parameter, watermark key frame index, solution secret letterBreath and watermark fuse information.
2. method according to claim 1, is characterized in that, described watermark embeds demand and also comprises:Video or image, watermark picture and the ciphertext encrypted ones of local coding and decoding scheme, watermark to be embedded.
3. method according to claim 1, is characterized in that, in the described watermark processing stage, and meterThe step of calculating watermark fuse information and decryption information also comprises before: start encoding and decoding streamline, detect keyFrame;
After the step of described calculating watermark fuse information and decryption information, also comprise: start watermark and embed flowing waterLine, generate watermarked media file.
4. method according to claim 3, is characterized in that, described startup encoding and decoding streamline is for openingOpen decoding or coding work sequence;
Described decoding work sequence is: resolve media file, reading out data is also exported the frame data of RGB pattern;
Described coding work sequence is: receive the frame data of RGB pattern, write the corresponding media file generatingIn.
5. method according to claim 3, is characterized in that, for video file, described detection is closedKey frame is: detected energy distribution frame of video comparatively uniformly in video-frequency band, using this frame of video as key frame;
For image file, described detection key frame is: directly using described image as key frame.
6. method according to claim 3, is characterized in that, described startup watermark embeds streamline bagDraw together following steps:
(1) calculate present frame watermark and embed region;
(2) resolve present frame watermark and embed region, extract RGBSan road observational components;
(3) use RGBSan road separation matrix to calculate RGBSan road information source matrix array;
(4) utilize fusion matrix that information source low frequency vector and watermark vector are merged mutually;
(5) the main information vector after merging is replaced to original low frequency vector, produce the letter after watermarkedSource;
(6) by separate inverse matrix with watermarked after information source calculate the watermarked RGB in three roads observation and divideAmount.
7. method according to claim 1, is characterized in that, the described Dealing with encrypt code stage comprises: willWatermark fuse information and decryption information write cryptograph files and use password encryption ciphertext.
8. a multimedia digital watermark separation method, is characterized in that, described method comprises: the default stage,Dealing with encrypt code stage and watermark processing stage;
The described watermark processing stage comprises: locator key frame, utilize watermark fuse information and decryption information to recoverWatermark picture;
For image file, described locator key frame is: from video sequence, find pass by key frame indexKey frame position; For image file, described locator key frame is: directly using image as key frame;
Described watermark fuse information and the decryption information recovery watermark picture of utilizing comprises the following steps: calculate passThe watermark of key frame embeds region, extracts RGBSan road observational components; Utilize corresponding RGB tri-road separation matrixesCalculate watermarked information source array, and utilize three tunnel information source medium and low frequency vector index to go to extract three tunnel information sourcesLow frequency vector; Output after utilizing watermark fusion matrix and key frame RGB tri-road low frequency vectors to mix with watermarkThe less important dope vector in San road, recovers watermark information; Wherein, described RGB tri-road separation matrixes and lowFrequently the index of vector is decryption information, and described fusion matrix and less important dope vector are watermark fuse information.
9. method according to claim 8, is characterized in that, the described default stage comprises: importLocal coding and decoding scheme, watermarked image or video, encryption ciphertext, decrypt ciphertext password.
10. method according to claim 8, is characterized in that, the described Dealing with encrypt code stage comprisesUse password decrypting ciphertext, resolve the information in ciphertext.
11. methods according to claim 8, is characterized in that, the described watermark processing stage also comprises:Start encoding and decoding streamline, start watermark separated flow waterline and recover original media file.
12. methods according to claim 11, is characterized in that, described startup watermark separated flow waterlineComprise the following steps:
(1) calculate present frame watermark and embed region;
(2) resolve present frame watermark and embed region, extract RGBSan road observational components;
(3) utilize corresponding RGB tri-road separation matrixes to calculate watermarked information source array, and utilize threeRoad information source medium and low frequency vector index removes to extract three tunnel information source low frequency vectors;
(4) utilize watermark to merge matrix and watermark Vector Message, calculate the three original low frequency vectors in tunnel;
(5) utilize separation matrix inverse matrix to recover the original observation array information in RGBSan road.
13. 1 kinds of multimedia digital watermark flush mountings, is characterized in that, described device comprises:
User interface abstract module, embeds demand for importing watermark; Described watermark embedding demand comprises watermarkEfficacy parameter; Described watermark effect parameter comprise video dynamic watermark, watermark original position, dynamic trajectory,Movement rate or visible level;
Watermark processing engine, for calculating watermark fuse information and decryption information; Letter is merged in described calculating watermarkBreath comprises with the step of decryption information: calculate key frame watermark and embed region, extract the observation point of RGBSan roadAmount; Use FastICA algorithm to calculate corresponding RGB tri-road separation matrixes; Calculate correspondenceRGB tri-tunnel information source arrays; Find the low frequency vector index in each road information source matrix; Embed according to watermarkThe requirement of demand to visible level, generates and merges matrix; Watermark information RGB component correspondence is mixed into keyEach road RGB low frequency vector of frame also calculates corresponding RGB tri-road low frequency vectors and watermark mixed threeThe less important dope vector in road; Described RGB tri-road separation matrixes and low frequency vector index are decryption information, described inMerging matrix and less important dope vector is watermark fuse information;
Encrypt ciphertext module, for carrying out Dealing with encrypt code, the ciphertext of described Dealing with encrypt code comprises: watermark effectParameter, watermark key frame index, decryption information and watermark fuse information.
14. devices according to claim 13, is characterized in that, described device also comprises:
Coding/decoding module, for opening decoding or coding work sequence;
Described decoding work sequence is: resolve media file, reading out data is also exported the frame data of RGB pattern;
Described coding work sequence is: receive the frame data of RGB pattern, write the corresponding media file generatingIn.
15. 1 kinds of multimedia digital watermark separators, is characterized in that, described device comprises:
User interface abstract module, default for carrying out;
Encrypt ciphertext module, for carrying out Dealing with encrypt code;
Watermark processing engine, for carrying out watermark processing, comprising: locator key frame, utilize watermark merge letterBreath recovers watermark picture with decryption information;
For image file, described locator key frame is: from video sequence, find pass by key frame indexKey frame position; For image file, described locator key frame is: directly using image as key frame;
Described watermark fuse information and the decryption information recovery watermark picture of utilizing comprises the following steps: calculate passThe watermark of key frame embeds region, extracts RGBSan road observational components; Utilize corresponding RGB tri-road separation matrixesCalculate watermarked information source array, and utilize three tunnel information source medium and low frequency vector index to go to extract three tunnel information sourcesLow frequency vector; Output after utilizing watermark fusion matrix and key frame RGB tri-road low frequency vectors to mix with watermarkThe less important dope vector in San road, recovers watermark information; Wherein, described RGB tri-road separation matrixes and lowFrequently the index of vector is decryption information, and described fusion matrix and less important dope vector are watermark fuse information.
CN201310362964.6A 2013-08-19 2013-08-19 Multimedia digital watermark embedding and separation method and device Active CN103533457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310362964.6A CN103533457B (en) 2013-08-19 2013-08-19 Multimedia digital watermark embedding and separation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310362964.6A CN103533457B (en) 2013-08-19 2013-08-19 Multimedia digital watermark embedding and separation method and device

Publications (2)

Publication Number Publication Date
CN103533457A CN103533457A (en) 2014-01-22
CN103533457B true CN103533457B (en) 2016-05-04

Family

ID=49935061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310362964.6A Active CN103533457B (en) 2013-08-19 2013-08-19 Multimedia digital watermark embedding and separation method and device

Country Status (1)

Country Link
CN (1) CN103533457B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087098B (en) 2018-01-26 2021-12-03 阿里巴巴(中国)有限公司 Watermark processing method and device
CN112333557A (en) * 2020-10-20 2021-02-05 深圳市前海手绘科技文化有限公司 Method for adding watermark in video

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1253555A2 (en) * 2001-04-24 2002-10-30 Microsoft Corporation Robust and stealthy video watermarking
WO2002087250A1 (en) * 2001-04-13 2002-10-31 Markany Inc. Method of embedding/detecting digital watermark and apparatus for using thereof
CN1527585A (en) * 2003-03-05 2004-09-08 刘瑞祯 Safe digital information transmitting and applying method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002087250A1 (en) * 2001-04-13 2002-10-31 Markany Inc. Method of embedding/detecting digital watermark and apparatus for using thereof
EP1253555A2 (en) * 2001-04-24 2002-10-30 Microsoft Corporation Robust and stealthy video watermarking
CN1527585A (en) * 2003-03-05 2004-09-08 刘瑞祯 Safe digital information transmitting and applying method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《基于正交随机空间投影的数字音频扩频水印》;季兵,颜菲,章德,方晖;《南京大学学报(自然科学)》;20030731;第39卷(第4期);第566-572页 *
《抑制原始信号影响的数字音频水印算法》;颜菲,季兵,章德;《计算机应用》;20031231;第23卷(第12期);第111-113页 *

Also Published As

Publication number Publication date
CN103533457A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
EP2832102B1 (en) Methods and systems for cryptographic access control of video
Kundur et al. Video fingerprinting and encryption principles for digital rights management
CN100442835C (en) Digital copyright and digital watermark protecting method for video program
US20100100742A1 (en) Transport Stream Watermarking
CN106998475B (en) Video transmission path tracking and device
US10339283B2 (en) System and method for creating, processing, and distributing images that serve as portals enabling communication with persons who have interacted with the images
CN109479164A (en) Online Media content is provided via broadcasting-satellite system
CN102932650B (en) Video data integrity protection and verification method, equipment and system
CN105704545A (en) Secret key synchronizing information transmission method based on H.264 video stream
CN103873954A (en) Method of embedding invisible digital watermarking into streaming media, and apparatus and system thereof
CN106792088B (en) Plug-in subtitle encryption and decryption method and system and plug-in subtitle system
US8861729B2 (en) Method and system for the secure distribution of audiovisual data by transactional marking
WO2013149579A1 (en) Continuous vector graph description-based digital watermarking system and implementation method
CN109600620A (en) Video file guard method
CN102088611B (en) H.264 standard motion vector-based method for embedding and extracting fragile watermark
CN103533457B (en) Multimedia digital watermark embedding and separation method and device
Gao et al. A universal reversible data hiding method in encrypted image based on MSB prediction and error embedding
CN111988639B (en) Video encryption and decryption method based on cryptographic algorithm and reversible steganography
CN109829322B (en) Authorization information based real-time encryption and decryption method and system for digital media files
CN103250372B (en) Obtaining a control word to reveal a client device identity
CN103731654B (en) A kind of information insertion system and information extracting system using 2D/3D video
Banerjee et al. A secure high-capacity video steganography using bit plane slicing through (7, 4) hamming code
CN108595920A (en) Network video listens management support rights service subsystem
CN113489982A (en) Digital watermark copyright protection method based on AVS3 coding framework
CN202535486U (en) Device and system for preventing video fingerprint attack

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant