CN109309869B - Watermark embedding method, device and storage medium - Google Patents
Watermark embedding method, device and storage medium Download PDFInfo
- Publication number
- CN109309869B CN109309869B CN201811058778.2A CN201811058778A CN109309869B CN 109309869 B CN109309869 B CN 109309869B CN 201811058778 A CN201811058778 A CN 201811058778A CN 109309869 B CN109309869 B CN 109309869B
- Authority
- CN
- China
- Prior art keywords
- watermark
- embedded
- value
- frame
- block
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000000605 extraction Methods 0.000 claims abstract description 29
- 238000012545 processing Methods 0.000 claims description 9
- 238000000638 solvent extraction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 18
- 238000004590 computer program Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8358—Generation of protective data, e.g. certificates involving watermark
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Editing Of Facsimile Originals (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Image Processing (AREA)
Abstract
The application provides a watermark embedding method, a watermark embedding device and a storage medium, wherein the method comprises the following steps: acquiring a video to be embedded with a watermark; and embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark. According to the embodiment of the application, the watermark is redundantly embedded into the multi-frame images of the video, and the complete watermark can still be extracted based on the redundantly embedded multi-frame images of the watermark after the frame loss occurs to the video, so that the influence of the frame loss on watermark extraction is reduced.
Description
Technical Field
The present application relates to the field of multimedia information security technologies, and in particular, to a watermark embedding method, device, and storage medium.
Background
With the rapid development of the network era, videos serve as the most intuitive and efficient transmission carriers and face increasingly serious piracy, illegal transmission and other infringement behaviors, and the video watermarking technology is developed to protect the copyright of the videos.
However, frame loss occurs in the video in the transmission process, and when frame loss occurs in the video, watermark information embedded in the video is not complete, which may cause watermark extraction failure when watermark extraction is performed based on the video with frame loss, and the watermark may not effectively protect the copyright of the video.
Disclosure of Invention
In view of the above, an object of the present application is to provide a watermark embedding method, device and storage medium, so as to reduce the influence of frame loss on watermark information.
In a first aspect, an embodiment of the present application provides a watermark embedding method, where the method includes:
acquiring a video to be embedded with a watermark;
and embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where embedding a watermark value of a same bit of a watermark in consecutive multi-frame images in the video to be embedded with the watermark includes:
equally dividing each frame of image in the continuous multi-frame image into a plurality of areas to be embedded with watermarks;
and embedding the same watermark value of the watermark into the same watermark area to be embedded of the continuous multi-frame image.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where embedding a same watermark value of the watermark in a same watermark region to be embedded of the consecutive multi-frame images includes:
partitioning the watermark region to be embedded according to a preset pixel value to obtain a watermark block to be embedded;
calculating to obtain a watermark template value of the watermark block to be embedded according to the coordinate of the watermark block to be embedded and the embedding strength coefficient of the watermark block to be embedded;
and embedding the watermark value in the watermark into the watermark block to be embedded based on the watermark template value.
With reference to the second possible implementation manner of the first aspect, an embodiment of the present application provides a third possible implementation manner of the first aspect, where embedding a same-bit watermark value of a watermark into a consecutive multiple-frame image in the video to be embedded with the watermark includes:
and embedding the watermark value in the watermark into the watermark block to be embedded according to the sequence of the current frame image in the continuous multi-frame image and the watermark template value of the watermark block to be embedded.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where embedding a same-bit watermark value of a watermark into consecutive multi-frame images in the video to be embedded with the watermark includes:
determining the brightness change trend of the continuous multi-frame images according to the watermark value;
determining the strength of the watermark template value used by the current frame image according to the sequence of the current frame image in the continuous multi-frame image;
and superposing the watermark template value with corresponding strength and the brightness value of the watermark block to be embedded according to the brightness change trend of the continuous multi-frame images.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present application provides a fifth possible implementation manner of the first aspect, where embedding the watermark value in the watermark into the watermark block to be embedded according to an order in which a current frame image is located in the consecutive multiple frame images and the watermark template value of the watermark block to be embedded includes:
intercepting continuous 8 frames of images from the video to be embedded with the watermark;
when the current frame image is positioned in the first 4 frames of the continuous 8 frames of images, the brightness value of the watermark block to be embedded is added with the watermark template value to obtain a block embedded with the watermark value;
and when the current frame image is positioned in the last 4 frames of the continuous 8 frames of images, subtracting the watermark template value from the brightness value of the watermark block to be embedded to obtain the block embedded with the watermark value.
In a second aspect, an embodiment of the present application further provides a watermark extraction method, where the method includes:
acquiring a watermark video to be extracted;
extracting the same watermark value of the watermark from the continuous multi-frame image of the watermark video to be extracted;
and forming the watermark values into a watermark value sequence to further obtain the watermark.
With reference to the second aspect, this embodiment provides a first possible implementation manner of the second aspect, where extracting a same-bit watermark value of a watermark from consecutive multi-frame images of the video to be watermarked includes:
equally dividing each frame of image in the continuous multi-frame image into a plurality of watermark areas to be extracted;
and extracting the same watermark value of the watermark from the same watermark region to be extracted of the continuous multi-frame images.
With reference to the first possible implementation manner of the second aspect, this example provides a second possible implementation manner of the second aspect, where extracting a same watermark value of the watermark from a same watermark region to be extracted of the consecutive multi-frame images includes:
and extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multi-frame images.
With reference to the first possible implementation manner of the second aspect, this example provides a third possible implementation manner of the second aspect, where extracting a same watermark value of the watermark from a same watermark region to be extracted of the consecutive multi-frame images includes:
and extracting the watermark value by comparing the brightness value of the central 1/4 area of the same watermark region to be extracted of the adjacent frame images in the multi-frame images.
With reference to the second possible implementation manner of the second aspect, an embodiment of the present application provides a fifth possible implementation manner of the second aspect, where the extracting the watermark value by comparing luminance values of the same watermark region to be extracted of adjacent frame images in the multiple frame images includes:
the number of the brightness values of the previous frame which are larger than the brightness values of the next frame in the two adjacent frames of images is marked as A, and the number of the brightness values of the previous frame which are smaller than the brightness values of the next frame is marked as B;
when A is larger than B, the extracted watermark value is 1, and when A is smaller than B, the extracted watermark value is-1.
In a third aspect, an embodiment of the present application further provides a watermark embedding apparatus, where the watermark embedding apparatus includes:
the first acquisition module is used for acquiring a video to be embedded with a watermark;
and the embedding module is used for embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark.
In a fourth aspect, an embodiment of the present application further provides a watermark extraction apparatus, where the watermark extraction apparatus includes:
the second acquisition module is used for acquiring a watermark video to be extracted;
the extraction module is used for extracting the watermark value of the same bit of the watermark from the continuous multi-frame images of the watermark video to be extracted;
and the processing module is used for forming the watermark values into a watermark value sequence so as to obtain the watermark.
In a fifth aspect, an embodiment of the present application further provides a watermarking system, where the watermarking system includes:
the watermark embedding device is used for acquiring a video to be embedded with a watermark and embedding the same watermark value of the watermark into continuous multi-frame images in the video to be embedded with the watermark;
the watermark extraction device is used for acquiring a watermark video to be extracted, extracting the same watermark value of the watermark from continuous multi-frame images of the watermark video to be extracted, and forming the watermark value into a watermark value sequence.
According to the watermark embedding method, the watermark embedding device and the storage medium, when the watermark is embedded, the watermark is embedded into the multi-frame image of the video, and then when the watermark is extracted, the watermark can be extracted based on the multi-frame image of the video. Compared with the prior art that the watermark cannot be extracted when the frame loss of the video causes the watermark loss, the watermark redundancy is embedded into the multi-frame images of the video, and the complete watermark can still be extracted based on the multi-frame images with the watermark redundantly embedded after the frame loss of the video occurs, so that the influence of the frame loss on the watermark extraction is reduced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows a flowchart of a watermark embedding method provided by an embodiment of the present application;
fig. 2 shows a schematic diagram of watermark embedding provided by an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an area to be embedded with a watermark provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a watermark block to be embedded provided by an embodiment of the application;
FIG. 5 is a schematic diagram illustrating embedding of a same-bit watermark value into a plurality of consecutive frames of images according to an embodiment of the present application;
fig. 6 shows a flowchart of a watermark extraction method provided by an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a watermark extraction method provided in an embodiment of the present application;
fig. 8 is a block diagram of a watermark embedding apparatus according to an embodiment of the present application;
fig. 9 is a schematic block diagram illustrating a watermark extraction apparatus provided in an embodiment of the present application;
fig. 10 is a block diagram of a watermarking system according to an embodiment of the present application;
fig. 11 is a schematic diagram illustrating a hardware structure of an electronic device that executes a watermark embedding method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In view of the fact that in the related art, when a watermark is lost due to frame loss of a video, the watermark cannot be extracted, embodiments of the present application provide a watermark embedding method, an apparatus, and a storage medium, which are described below by way of embodiments.
For the understanding of the present embodiment, a detailed description will be given of a watermark embedding method disclosed in the embodiment of the present application.
Example one
Fig. 1 is a flowchart of a watermark embedding method according to an embodiment of the present application, and as shown in fig. 1, the watermark embedding method includes the following steps:
s110, acquiring a video to be embedded with a watermark;
and S120, embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark.
Specifically, fig. 2 is a schematic diagram of watermark embedding provided in the embodiment of the present application, and as shown in fig. 2, a video of a watermark to be embedded is obtained by loading data and the like, the video of the watermark to be embedded is decoded into YUV data, Y data in the YUV data is extracted as an image of the watermark to be embedded, and an image sequence of the watermark to be embedded is formed. Processing the watermark character into a binary watermark, setting watermark bits with the gray value of 0 in the binary watermark as-1, and setting watermark bits with the gray value of 255 as 1.
Dividing the watermark image to be embedded into a plurality of blocks according to the pixel specification of 32 × 32, dividing each block with the pixel specification of 32 × 32 into 16 blocks with the pixel specification of 8 × 8, and taking each block with the pixel specification of 8 × 8 as the minimum unit for calculating the watermark template value, namely the watermark block to be embedded. And calculating the DC coefficient of each watermark block to be embedded, calculating the average value of the DC coefficients of the 16 watermark blocks to be embedded, and calculating the watermark template value of each watermark block to be embedded based on the DC coefficient of the watermark block to be embedded and the average value of the DC coefficients of the 16 watermark blocks to be embedded.
And intercepting continuous multi-frame images from the image sequence to be embedded with the watermark according to a preset frame number, and embedding the same watermark value of the watermark into each frame image in the continuous multi-frame video images to obtain the image embedded with the watermark value. And embedding watermark values into the multi-section continuous multi-frame images according to the length of the watermark bit number until all watermark values of the watermark are embedded.
The image with the embedded watermark value is combined with U, V data corresponding to the image, namely the image with the embedded watermark is obtained. The invention is an implicit embedded watermark, and the image after the watermark is embedded can not be distinguished from the image before the watermark is embedded by naked eyes.
In the embodiment of the present application, the size of the watermark is not limited in principle, but the size of the watermark determines the length of the number of frames of the watermark to be embedded, and the larger the size of the watermark is, the more the number of frames of the watermark to be embedded is required to be.
By adopting the method of the embodiment of the application, the watermark is redundantly embedded into the multi-frame images of the video, and the complete watermark can still be extracted based on the redundantly embedded multi-frame images of the watermark after the frame loss of the video occurs, so that the influence of the frame loss on the watermark extraction is reduced.
Optionally, embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark includes:
equally dividing each frame of image in the continuous multi-frame image into a plurality of areas to be embedded with watermarks;
and embedding the same watermark value of the watermark into the same watermark area to be embedded of the continuous multi-frame image.
Specifically, fig. 3 is a schematic diagram of a to-be-embedded watermark region provided in this embodiment, and as shown in fig. 3, in this embodiment, a watermark with a size specification of 16 × 16 is selected, an image of the to-be-embedded watermark is equally divided into four to-be-embedded watermark regions, and a one-bit watermark value of the watermark is embedded in each to-be-embedded watermark region of the to-be-embedded watermark image, that is, each frame of the to-be-embedded watermark image may be embedded with 4 different watermark values.
For example, an image to be embedded with a watermark is averagely divided into four areas to be embedded with watermarks, a first bit watermark value 1 of the watermark is embedded into a first area to be embedded with the watermark in each frame of image to be embedded with the watermark, a second bit watermark value-1 of the watermark is embedded into a second area to be embedded with the watermark in each frame of image to be embedded with the watermark, a third bit watermark value-1 of the watermark is embedded into a third area to be embedded with the watermark in each frame of image to be embedded with the watermark, and a fourth bit watermark value 1 of the watermark is embedded into a fourth area to be embedded with the watermark in each frame of image to be.
Optionally, embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark includes:
according to a preset pixel value, partitioning the watermark region to be embedded to obtain a watermark block to be embedded;
calculating to obtain a watermark template value of the watermark block to be embedded according to the coordinate of the watermark block to be embedded and the embedding strength coefficient of the watermark block to be embedded;
and embedding the watermark value in the watermark into the watermark block to be embedded based on the watermark template value.
Specifically, fig. 4 is a schematic diagram of a watermark block to be embedded according to an embodiment of the present application, and as shown in fig. 4, a watermark region to be embedded of a watermark image is divided into a plurality of blocks according to a pixel 32 × 32 specification, and then each 32 × 32 block is divided into 16 8 × 8 blocks, and each 8 × 8 block is used as a minimum unit for calculating a watermark template value, that is, the watermark block to be embedded. And calculating the DC coefficient of each watermark block to be embedded, calculating the average value of the DC coefficients of 16 watermark blocks to be embedded, and calculating the watermark template value of each watermark block to be embedded based on the DC coefficient of each watermark block to be embedded and the average value of the DC coefficients of 16 watermark blocks to be embedded.
the formula for calculating the watermark template value of each watermark block to be embedded is as follows:
wherein i represents the number of frames of the watermark block to be embedded in the continuous multi-frame image, M represents the length of the watermark block to be embedded, N represents the width of the watermark block to be embedded, x represents the abscissa of the watermark block to be embedded, y represents the ordinate of the watermark block to be embedded, tx,yRepresenting the embedding strength coefficient of the watermark block to be embedded,representing an embedding strength constant, of 0.649.
Optionally, embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark includes:
and embedding the watermark value in the watermark into the watermark block to be embedded according to the sequence of the current frame image in the continuous multi-frame image and the watermark template value of the watermark block to be embedded.
Optionally, determining a brightness variation trend of the continuous multi-frame images according to the watermark value;
determining the strength of the watermark template value used by the current frame image according to the sequence of the current frame image in the continuous multi-frame image;
and superposing the watermark template value with corresponding strength and the brightness value of the watermark block to be embedded according to the brightness change trend of the continuous multi-frame images.
Optionally, embedding the watermark value in the watermark into the watermark block to be embedded according to the order in which the current frame image is located in the continuous multiple frame images and the watermark template value of the watermark block to be embedded, includes:
intercepting continuous 8 frames of images from the video to be embedded with the watermark;
when the current frame image is positioned in the first 3 frames of the continuous 8 frames of images, the brightness value of the watermark block to be embedded is added with the watermark template value to obtain a block embedded with the watermark value;
and when the current frame image is positioned in the last 4 frames of the continuous 8 frames of images, subtracting the watermark template value from the brightness value of the watermark block to be embedded to obtain the block embedded with the watermark value.
Specifically, fig. 5 is a schematic diagram of embedding the same watermark value into a continuous multi-frame image according to the embodiment of the present application, and as shown in fig. 5, 8 continuous frames of watermarks to be embedded are extracted from an image sequence of watermarks to be embedded, and when the watermark value of a watermark embedded into the watermark block to be embedded is 1, the rule of embedding the watermark is as follows:
when the current frame image is the 1 st frame image or the 2 nd frame image of the continuous 8 frames of images, adding 2 times of the watermark template value of the watermark block to be embedded to the brightness value of the watermark block to be embedded; when the current frame image is the 3 rd frame image of the continuous 8 frames of images, adding the brightness value of the watermark block to be embedded with the watermark template value of the watermark block to be embedded; when the current frame image is the 4 th frame image of the continuous 8 frames of images, the brightness value of the watermark block to be embedded is added with the watermark template value of 0 time of the watermark block to be embedded, namely the brightness value of the watermark block to be embedded is unchanged; when the current frame image is the 5 th frame image of continuous 8 frames of images, subtracting the watermark template value of the watermark block to be embedded from the brightness value of the watermark block to be embedded; when the current frame image is the 6 th frame image of continuous 8 frames of images, subtracting 2 times of the watermark template value of the watermark block to be embedded from the brightness value of the watermark block to be embedded; and when the current frame image is the 7 th frame image or the 8 th frame image of the continuous 8 frames of images, subtracting 3 times of the watermark template value of the watermark block to be embedded from the brightness value of the watermark block to be embedded.
When the watermark value of the watermark embedded into the watermark block to be embedded is-1, the embedding watermark rule is as follows:
when the current frame image is the 1 st frame image or the 2 nd frame image of the continuous 8 frames of images, adding-2 times of the watermark template value of the watermark block to be embedded to the brightness value of the watermark block to be embedded; when the current frame image is the 3 rd frame image of continuous 8 frames of images, adding-1 time of the watermark template value of the watermark block to be embedded to the brightness value of the watermark block to be embedded; when the current frame image is the 4 th frame image of the continuous 8 frames of images, the brightness value of the watermark block to be embedded is unchanged; when the current frame image is the 5 th frame image of continuous 8 frames of images, subtracting-1 time of the watermark template value of the watermark block to be embedded from the brightness value of the watermark block to be embedded; when the current frame image is the 6 th frame image of continuous 8 frames of images, subtracting-2 times of the watermark template value of the watermark block to be embedded from the brightness value of the watermark block to be embedded; and when the current frame image is the 7 th frame image or the 8 th frame image of the continuous 8 frames of images, subtracting the watermark template value of the watermark block to be embedded by minus 3 times from the brightness value of the watermark block to be embedded.
According to the mode, the watermark values are embedded into the multi-section continuous multi-frame images according to the length of the number of the watermark bits until all the watermark values of the watermark are embedded to obtain the image with the embedded watermark values, the image with the embedded watermark values is combined with U, V data corresponding to the image to obtain the image with the embedded watermark, and the image with the embedded watermark forms the video with the embedded watermark. And recording the generated video embedded with the watermark in a full screen mode through screen recording software, and storing the recorded and broadcasted video in an AVI format. If the time is not consistent, a section of synchronous watermark information bit needs to be embedded. The invention is an implicit embedded watermark, and the image after the watermark is embedded can not be distinguished from the image before the watermark is embedded by naked eyes.
Example two
Fig. 6 is a flowchart of a watermark extraction method according to an embodiment of the present application, and as shown in fig. 6, the watermark extraction method includes the following steps:
s210, acquiring a watermark video to be extracted;
s220, extracting the same watermark value of the watermark from the continuous multi-frame image of the video with the watermark to be extracted;
and S230, forming the watermark values into a watermark value sequence to further obtain the watermark.
Specifically, fig. 7 is a schematic diagram of a watermark extraction method provided in the embodiment of the present application, and as shown in fig. 7, a to-be-extracted watermark video is obtained, and after a synchronous watermark information bit in the to-be-extracted watermark video is detected, the watermark extraction is started. Decoding the watermark video to be extracted to obtain YUV data of the watermark video to be extracted, extracting Y data as the watermark image to be extracted, and forming a watermark image sequence to be extracted. And intercepting continuous multi-frame images from the watermark image sequence to be extracted according to a preset frame number, extracting the same watermark value of the watermark from each frame image in the continuous multi-frame video images, extracting all watermark values of the watermark from the watermark image sequence to be extracted according to the length of the extracted watermark bit number by adopting the mode to form a watermark value sequence, and further obtaining the watermark according to the watermark sequence.
By adopting the method of the embodiment of the application, the watermark is redundantly embedded into the multi-frame images of the video, and the complete watermark can still be extracted based on the redundantly embedded multi-frame images of the watermark after the frame loss of the video occurs, so that the influence of the frame loss on the watermark extraction is reduced.
Optionally, the extracting the same-bit watermark value of the watermark from the continuous multi-frame images of the video with the watermark to be extracted includes:
equally dividing each frame of image in the continuous multi-frame image into a plurality of watermark areas to be extracted;
and extracting the same watermark value of the watermark from the same watermark region to be extracted of the continuous multi-frame images.
Specifically, the watermark image to be extracted is averagely divided into four watermark regions to be extracted, and each watermark region to be extracted of the watermark image to be extracted extracts one-bit watermark value of the watermark, that is, each frame of watermark image to be extracted can extract 4 different watermark values.
Optionally, extracting a same watermark value of the watermark from a same watermark region to be extracted of the consecutive multi-frame images includes:
and extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multi-frame images.
Optionally, the watermark value is extracted by comparing the brightness values of the central 1/4 area of the same watermark region to be extracted of the adjacent frame images in the multi-frame images.
Optionally, the extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multiple frame images includes:
the number of the brightness value of the previous frame image in the two adjacent frames of images which is larger than the brightness value of the next frame image is marked as M, and the number of the brightness value of the previous frame image which is smaller than the brightness value of the next frame image is marked as N.
When M is larger than N, the extracted watermark value is 1, and when M is smaller than N, the extracted watermark value is-1.
Specifically, 8 continuous frames of watermarks to be extracted are intercepted from the watermark image sequence to be extracted, and the 2 nd frame image to the 6 th frame image in the 8 continuous frames of watermark images to be extracted are selected for watermark extraction. Averagely dividing the 5 frames of watermark images to be extracted into four watermark regions to be extracted, calculating the brightness mean value of 1/4 regions in the middle of each watermark region to be extracted, if the length of the watermark region to be extracted is J and the width of the watermark region to be extracted is k, taking J/2 as the length of the middle 1/4 region and taking k/2 as the width of the middle 1/4 region, and determining a quadrangle which has the same midpoint with the watermark region to be extracted as the middle 1/4 region. And taking the brightness mean value as the brightness value of the corresponding watermark region to be extracted.
Comparing the brightness values of the same to-be-extracted watermark areas of two adjacent frames of images, taking the number of the brightness values of the to-be-extracted watermark areas of the previous frame of image in the two adjacent frames of images larger than the brightness value of the to-be-extracted watermark area of the next frame of image as A, taking the number of the brightness values of the to-be-extracted watermark areas of the previous frame of image smaller than the brightness value of the to-be-extracted watermark area of the next frame of image as B, when A is larger than B, determining the watermark value of the to-be-extracted watermark area to be 1, and when A is smaller than B, determining the watermark value of the to-be-extracted watermark area to be.
By adopting the mode, according to the length of the extracted watermark bit number, all watermark values of the watermark are extracted from the image sequence of the watermark to be extracted to form a watermark value sequence, and then the watermark is obtained according to the watermark sequence.
Based on the same technical concept, embodiments of the present application further provide a watermark embedding apparatus, a watermark extracting apparatus, a watermark processing system, an electronic device, and a computer storage medium, and the like, which can be specifically referred to in the following embodiments.
EXAMPLE III
Fig. 8 is a block diagram of a watermark embedding apparatus according to an embodiment of the present application, and as shown in fig. 8, the watermark embedding apparatus includes:
the first acquisition module 310 is configured to acquire a video to be embedded with a watermark;
and the embedding module 320 is configured to embed the same bit watermark value of the watermark into the consecutive multi-frame images in the video to be embedded with the watermark.
Example four
Fig. 9 is a schematic block diagram of a watermark extraction apparatus according to an embodiment of the present application, and as shown in fig. 9, the watermark extraction apparatus includes:
the second acquisition module 410 is configured to acquire a watermark video to be extracted;
an extracting module 420, configured to extract a same-bit watermark value of a watermark from a continuous multi-frame image of the video to be watermarked;
a processing module 430, configured to compose the watermark values into a watermark value sequence.
EXAMPLE five
Fig. 10 is a schematic block diagram of a watermarking system according to an embodiment of the present application, where as shown in fig. 10, the watermarking system includes:
the watermark embedding device 300 is used for acquiring a video to be embedded with a watermark and embedding the same watermark value of the watermark into continuous multi-frame images in the video to be embedded with the watermark;
the watermark extraction device 400 is configured to obtain a video with a watermark to be extracted, extract a same-bit watermark value of the watermark from consecutive multi-frame images of the video with the watermark to be extracted, and form a watermark value sequence from the watermark values.
EXAMPLE six
Fig. 11 is a schematic diagram illustrating a hardware structure of an electronic device that executes a watermark embedding method according to an embodiment of the present application, where, as shown in fig. 11, the device includes:
one or more processors 610 and a memory 620, with one processor 610 being an example in fig. 11.
The processor 610 and the memory 620 may be connected by a bus or other means, such as by a bus in FIG. 11.
The memory 620, as a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to a watermarking method in the embodiments of the present application. The processor 610 executes various functional applications and data processing of the server by executing nonvolatile software programs, instructions and modules stored in the memory 620, so as to implement a watermarking method in the above method embodiment.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of a watermarking method, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 620 optionally includes memory located remotely from processor 610, which may be connected via a network to a processor running a watermarking method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform a method of watermarking in any of the method embodiments described above.
EXAMPLE seven
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of one of the above-mentioned method embodiments.
The computer program product for performing a watermark processing method provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (4)
1. A watermark embedding method, comprising:
acquiring a video to be embedded with a watermark;
embedding the same-bit watermark value of the watermark into the continuous multi-frame image in the video to be embedded with the watermark;
embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark, comprising the following steps: dividing each frame of image in the continuous multi-frame image into a plurality of areas to be embedded with watermarks; embedding the same watermark value of the watermark into the same watermark region to be embedded of the continuous multi-frame image;
embedding the same bit watermark value of the watermark into the same watermark region to be embedded of the continuous multi-frame image, comprising: partitioning the watermark region to be embedded according to a preset pixel value to obtain a watermark block to be embedded; calculating to obtain a watermark template value of the watermark block to be embedded according to the coordinate of the watermark block to be embedded and the embedding strength coefficient of the watermark block to be embedded; based on the watermark template value, embedding the watermark value in the watermark into the watermark block to be embedded;
embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark, comprising the following steps: embedding the watermark value in the watermark into the watermark block to be embedded according to the sequence of the current frame image in the continuous multi-frame image and the watermark template value of the watermark block to be embedded;
the watermark values include: processing the watermark character into a binary watermark, setting a watermark bit with a gray value of 0 in the binary watermark as-1, and setting a watermark bit with a gray value of 255 as 1;
embedding the watermark value in the watermark into the watermark block to be embedded according to the sequence of the current frame image in the continuous multi-frame image and the watermark template value of the watermark block to be embedded, including: intercepting continuous 8 frames of images from the video to be embedded with the watermark; when the current frame image is positioned in the first 4 frames of the continuous 8 frames of images, the brightness value of the watermark block to be embedded is added with the watermark template value to obtain a block embedded with the watermark value; when the current frame image is positioned in the last 4 frames of the continuous 8 frames of images, subtracting the watermark template value from the brightness value of the watermark block to be embedded to obtain a block embedded with the watermark value;
when the watermark value of the watermark embedded into the watermark block to be embedded is 1, the embedding watermark rule is as follows:
when the current frame image is positioned in the 2 nd frame, the 3 rd frame and the 4 th frame in the previous 4 frames of the continuous 8 frames of images, adding different multiples of the watermark template values of the watermark block to be embedded to the brightness value of the watermark block to be embedded, wherein the multiples are reduced in sequence; when the current frame image is positioned in the 5 th frame, the 6 th frame and the 7 th frame in the last 4 frames of the continuous 8 frames of images, subtracting the watermark template values of the watermark blocks to be embedded with different multiples from the brightness value of the watermark block to be embedded, wherein the multiples are increased in sequence;
when the watermark value of the watermark embedded into the watermark block to be embedded is-1, the embedding watermark rule is as follows:
when the current frame image is positioned in the 2 nd frame, the 3 rd frame and the 4 th frame in the previous 4 frames of the continuous 8 frames of images, adding the brightness value of the watermark block to be embedded with the opposite number of the watermark template values of the watermark block to be embedded with different multiples, wherein the multiples are reduced in sequence; when the current frame image is located in the 5 th frame, the 6 th frame and the 7 th frame of the last 4 frames of the continuous 8 frames of images, subtracting the opposite numbers of the watermark template values of the watermark blocks to be embedded with different multiples from the brightness value of the watermark block to be embedded, wherein the multiples are increased in sequence.
2. A watermark extraction method comprising the watermark embedding method of claim 1, the watermark extraction method further comprising:
acquiring a watermark video to be extracted;
extracting the same watermark value of the watermark from the continuous multi-frame image of the watermark video to be extracted;
forming the watermark values into a watermark value sequence;
extracting the watermark value of the same bit of the watermark from the continuous multi-frame image of the video with the watermark to be extracted, wherein the extracting comprises the following steps: each frame of image in the continuous multi-frame images comprises a plurality of watermark areas to be extracted; extracting the same watermark value of the watermark from the same watermark region to be extracted of the continuous multi-frame image;
extracting the same watermark value of the watermark from the same watermark region to be extracted of the continuous multi-frame images, wherein the extracting comprises the following steps: extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multi-frame images;
extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multi-frame images, wherein the watermark value extraction comprises the following steps: the number of the brightness value of the previous frame in the adjacent frame image which is larger than the brightness value of the next frame is marked as A, and the number of the brightness value of the previous frame which is smaller than the brightness value of the next frame is marked as B; when A is larger than B, the extracted watermark value is 1, and when A is smaller than B, the extracted watermark value is-1.
3. A watermark embedding apparatus, comprising:
the first acquisition module is used for acquiring a video to be embedded with a watermark;
the embedding module is used for embedding the same watermark value of the watermark into the continuous multi-frame image in the video to be embedded with the watermark;
embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark, comprising the following steps: dividing each frame of image in the continuous multi-frame image into a plurality of areas to be embedded with watermarks; embedding the same watermark value of the watermark into the same watermark region to be embedded of the continuous multi-frame image;
embedding the same bit watermark value of the watermark into the same watermark region to be embedded of the continuous multi-frame image, comprising: partitioning the watermark region to be embedded according to a preset pixel value to obtain a watermark block to be embedded; calculating to obtain a watermark template value of the watermark block to be embedded according to the coordinate of the watermark block to be embedded and the embedding strength coefficient of the watermark block to be embedded; based on the watermark template value, embedding the watermark value in the watermark into the watermark block to be embedded;
embedding the watermark value of the same bit of the watermark into the continuous multi-frame image in the video to be embedded with the watermark, comprising the following steps: embedding the watermark value in the watermark into the watermark block to be embedded according to the sequence of the current frame image in the continuous multi-frame image and the watermark template value of the watermark block to be embedded;
the watermark values include: processing the watermark character into a binary watermark, setting a watermark bit with a gray value of 0 in the binary watermark as-1, and setting a watermark bit with a gray value of 255 as 1;
embedding the watermark value in the watermark into the watermark block to be embedded according to the sequence of the current frame image in the continuous multi-frame image and the watermark template value of the watermark block to be embedded, including: intercepting continuous 8 frames of images from the video to be embedded with the watermark; when the current frame image is positioned in the first 4 frames of the continuous 8 frames of images, the brightness value of the watermark block to be embedded is added with the watermark template value to obtain a block embedded with the watermark value; when the current frame image is positioned in the last 4 frames of the continuous 8 frames of images, subtracting the watermark template value from the brightness value of the watermark block to be embedded to obtain a block embedded with the watermark value;
when the watermark value of the watermark embedded into the watermark block to be embedded is 1, the embedding watermark rule is as follows:
when the current frame image is positioned in the 2 nd frame, the 3 rd frame and the 4 th frame in the previous 4 frames of the continuous 8 frames of images, adding different multiples of the watermark template values of the watermark block to be embedded to the brightness value of the watermark block to be embedded, wherein the multiples are reduced in sequence; when the current frame image is positioned in the 5 th frame, the 6 th frame and the 7 th frame in the last 4 frames of the continuous 8 frames of images, subtracting the watermark template values of the watermark blocks to be embedded with different multiples from the brightness value of the watermark block to be embedded, wherein the multiples are increased in sequence;
when the watermark value of the watermark embedded into the watermark block to be embedded is-1, the embedding watermark rule is as follows:
when the current frame image is positioned in the 2 nd frame, the 3 rd frame and the 4 th frame in the previous 4 frames of the continuous 8 frames of images, adding the brightness value of the watermark block to be embedded with the opposite number of the watermark template values of the watermark block to be embedded with different multiples, wherein the multiples are reduced in sequence; when the current frame image is located in the 5 th frame, the 6 th frame and the 7 th frame of the last 4 frames of the continuous 8 frames of images, subtracting the opposite numbers of the watermark template values of the watermark blocks to be embedded with different multiples from the brightness value of the watermark block to be embedded, wherein the multiples are increased in sequence.
4. A watermark extraction apparatus comprising the watermark embedding apparatus as claimed in claim 3, the watermark extraction apparatus further comprising:
the second acquisition module is used for acquiring a watermark video to be extracted;
the extraction module is used for extracting the watermark value of the same bit of the watermark from the continuous multi-frame images of the watermark video to be extracted;
the processing module is used for forming the watermark values into a watermark value sequence so as to obtain the watermark;
extracting the watermark value of the same bit of the watermark from the continuous multi-frame image of the video with the watermark to be extracted, wherein the extracting comprises the following steps: each frame of image in the continuous multi-frame images comprises a plurality of watermark areas to be extracted; extracting the same watermark value of the watermark from the same watermark region to be extracted of the continuous multi-frame image;
extracting the same watermark value of the watermark from the same watermark region to be extracted of the continuous multi-frame images, wherein the extracting comprises the following steps: extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multi-frame images;
extracting the watermark value by comparing the brightness values of the same watermark region to be extracted of the adjacent frame images in the multi-frame images, wherein the watermark value extraction comprises the following steps: the number of the brightness value of the previous frame in the adjacent frame image which is larger than the brightness value of the next frame is marked as A, and the number of the brightness value of the previous frame which is smaller than the brightness value of the next frame is marked as B; when A is larger than B, the extracted watermark value is 1, and when A is smaller than B, the extracted watermark value is-1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811058778.2A CN109309869B (en) | 2018-09-11 | 2018-09-11 | Watermark embedding method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811058778.2A CN109309869B (en) | 2018-09-11 | 2018-09-11 | Watermark embedding method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109309869A CN109309869A (en) | 2019-02-05 |
CN109309869B true CN109309869B (en) | 2021-01-26 |
Family
ID=65224742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811058778.2A Active CN109309869B (en) | 2018-09-11 | 2018-09-11 | Watermark embedding method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109309869B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111641879B (en) * | 2020-06-08 | 2022-04-12 | 北京永新视博数字电视技术有限公司 | Video watermark adding method, device, storage medium and equipment |
CN112565780B (en) * | 2020-12-18 | 2023-08-15 | 咪咕互动娱乐有限公司 | Game state information sharing method, network device, and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136104A (en) * | 2007-10-18 | 2008-03-05 | 李颖 | Self-adapting multiple domains watermark method |
CN101330610A (en) * | 2008-07-22 | 2008-12-24 | 华为技术有限公司 | Method and apparatus for embedding and extracting watermark as well as processing system |
CN101364300A (en) * | 2008-05-30 | 2009-02-11 | 西安电子科技大学 | Digital watermarking method based on gray theory |
CN101668170A (en) * | 2009-09-23 | 2010-03-10 | 中山大学 | Digital television program copyright protecting method for resisting time synchronization attacks |
CN102905127A (en) * | 2012-08-09 | 2013-01-30 | 山东师范大学 | Video watermark implementation method |
CN103237271A (en) * | 2013-04-02 | 2013-08-07 | 北京中视广信科技有限公司 | Method and system for embedding and detecting large-capacity video digital watermarks |
CN103248898A (en) * | 2013-05-22 | 2013-08-14 | 张炯 | Adding and extracting method for digital watermark and device thereof |
CN103458320A (en) * | 2013-08-29 | 2013-12-18 | 上海美琦浦悦通讯科技有限公司 | Copyright control system based on watermark technology and method for adding digital watermarks to video |
CN103955877A (en) * | 2014-01-21 | 2014-07-30 | 广州大学 | Multimedia-sensing-network watermark verification and image restoration method and device |
CN105848010A (en) * | 2016-03-31 | 2016-08-10 | 天津大学 | Mobile device video watermark embedding and extracting method based on block combination |
CN106878827A (en) * | 2017-03-22 | 2017-06-20 | 河海大学 | A kind of high robust audio frequency and video intersect watermarking algorithm |
CN107911641A (en) * | 2017-10-27 | 2018-04-13 | 北京达佳互联信息技术有限公司 | Video watermark generation method, device and terminal |
CN108055493A (en) * | 2017-12-13 | 2018-05-18 | 苏州科达科技股份有限公司 | The method and device of embedded watermark in video image |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100461864C (en) * | 2005-06-25 | 2009-02-11 | 华为技术有限公司 | Multimedia video communication objective quality appraising method based on digital watermark |
-
2018
- 2018-09-11 CN CN201811058778.2A patent/CN109309869B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136104A (en) * | 2007-10-18 | 2008-03-05 | 李颖 | Self-adapting multiple domains watermark method |
CN101364300A (en) * | 2008-05-30 | 2009-02-11 | 西安电子科技大学 | Digital watermarking method based on gray theory |
CN101330610A (en) * | 2008-07-22 | 2008-12-24 | 华为技术有限公司 | Method and apparatus for embedding and extracting watermark as well as processing system |
CN101668170A (en) * | 2009-09-23 | 2010-03-10 | 中山大学 | Digital television program copyright protecting method for resisting time synchronization attacks |
CN102905127A (en) * | 2012-08-09 | 2013-01-30 | 山东师范大学 | Video watermark implementation method |
CN103237271A (en) * | 2013-04-02 | 2013-08-07 | 北京中视广信科技有限公司 | Method and system for embedding and detecting large-capacity video digital watermarks |
CN103248898A (en) * | 2013-05-22 | 2013-08-14 | 张炯 | Adding and extracting method for digital watermark and device thereof |
CN103458320A (en) * | 2013-08-29 | 2013-12-18 | 上海美琦浦悦通讯科技有限公司 | Copyright control system based on watermark technology and method for adding digital watermarks to video |
CN103955877A (en) * | 2014-01-21 | 2014-07-30 | 广州大学 | Multimedia-sensing-network watermark verification and image restoration method and device |
CN105848010A (en) * | 2016-03-31 | 2016-08-10 | 天津大学 | Mobile device video watermark embedding and extracting method based on block combination |
CN106878827A (en) * | 2017-03-22 | 2017-06-20 | 河海大学 | A kind of high robust audio frequency and video intersect watermarking algorithm |
CN107911641A (en) * | 2017-10-27 | 2018-04-13 | 北京达佳互联信息技术有限公司 | Video watermark generation method, device and terminal |
CN108055493A (en) * | 2017-12-13 | 2018-05-18 | 苏州科达科技股份有限公司 | The method and device of embedded watermark in video image |
Also Published As
Publication number | Publication date |
---|---|
CN109309869A (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9996891B2 (en) | System and method for digital watermarking | |
JP5415446B2 (en) | Method and apparatus for inserting removable watermark into image and method and apparatus for removing the watermark | |
US8774451B2 (en) | Method and apparatus for embedding a watermark image in a host image | |
CN102147912B (en) | Adaptive difference expansion-based reversible image watermarking method | |
US10354355B2 (en) | Digital watermarking | |
JP6073258B2 (en) | Select a watermark for watermarking compressed video | |
CN107749990B (en) | Video copyright protection method and device based on digital watermark | |
CN109309869B (en) | Watermark embedding method, device and storage medium | |
CN111223032A (en) | Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method | |
CN108681982A (en) | A kind of embedding algorithm and extracting method and system based on singular value decomposition | |
CN113538197B (en) | Watermark extraction method, watermark extraction device, storage medium and electronic equipment | |
US20050105763A1 (en) | Real time video watermarking method using frame averages | |
US7634105B2 (en) | Method and apparatus for embedding information in imaged data, printed material, and computer product | |
CN107274330B (en) | BFA and LSB based grid map copyright protection method | |
CN111836054B (en) | Video anti-piracy method, electronic device and computer readable storage medium | |
Hakka et al. | DCT-OFDM based watermarking scheme robust against clipping attack | |
CN112004148B (en) | Video processing method, video processing device, computer equipment and storage medium | |
CN113538198B (en) | Watermark adding method, device, storage medium and electronic equipment | |
US7295678B2 (en) | Method for inserting binary messages in a digital image | |
CN113284034A (en) | Image processing method and device | |
CN113825024A (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
CN117499664B (en) | Image data embedding and extracting method and device based on bit substitution | |
CN113395475A (en) | Data processing method and device, electronic equipment and storage equipment | |
CN117499665B (en) | Image data embedding and extracting method and device based on gray value quantization | |
JP4992678B2 (en) | Image processing method, control program, and image processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20220726 Granted publication date: 20210126 |
|
PP01 | Preservation of patent right |