CN111953994A - Video watermark adding method and device - Google Patents

Video watermark adding method and device Download PDF

Info

Publication number
CN111953994A
CN111953994A CN202010895970.8A CN202010895970A CN111953994A CN 111953994 A CN111953994 A CN 111953994A CN 202010895970 A CN202010895970 A CN 202010895970A CN 111953994 A CN111953994 A CN 111953994A
Authority
CN
China
Prior art keywords
watermark
video
image
added
video images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010895970.8A
Other languages
Chinese (zh)
Other versions
CN111953994B (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Group 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 Vtron Group Co Ltd filed Critical Vtron Group Co Ltd
Priority to CN202010895970.8A priority Critical patent/CN111953994B/en
Publication of CN111953994A publication Critical patent/CN111953994A/en
Application granted granted Critical
Publication of CN111953994B publication Critical patent/CN111953994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The application discloses a video watermark adding method and a device, wherein the method comprises the following steps: determining a watermark area of each frame of video image in a video to be added with the watermark; calculating the image complexity of the watermark area of each frame of video image; calculating the gray difference value of two continuous frames of video images according to the image complexity of the two continuous frames of video images; after the pre-stored watermark to be added is obtained from the memory DC, the watermark to be added of the two continuous frames of video images is processed based on the gray difference value of the two continuous frames of video images, and the processed watermark to be added is added to the watermark area of the corresponding video image to obtain the video with the added watermark, so that the problem that the existing video watermark adding method is easy to directly deduct or simply replace by a color block by directly adding a complete watermark at a fixed position is solved; and the watermark image after adding the watermark in the video is more prominent, influence the technical problem of visual effect.

Description

Video watermark adding method and device
Technical Field
The present application relates to the field of multimedia technologies, and in particular, to a method and an apparatus for adding a video watermark.
Background
The watermark is to add some digital or word information to the data multimedia (such as video, document, photo, etc.) to achieve the effects of file authenticity identification, copyright protection, etc. At present, video watermarks are added in a variety of ways, but all have certain disadvantages. The existing method for adding water mark is to add complete water mark directly at fixed position, which is easy to be directly deducted or simply replaced by color block; moreover, the watermark image added with the watermark in the video is more prominent, and the visual effect is influenced.
Disclosure of Invention
The application provides a video watermark adding method and a video watermark adding device, which are used for solving the problem that the existing video watermark adding method is easy to directly deduct or simply replace by a color block by directly adding a complete watermark at a fixed position; and the watermark image after adding the watermark in the video is more prominent, influence the technical problem of visual effect.
In view of the above, a first aspect of the present application provides a video watermarking method, including:
determining a watermark area of each frame of video image in a video to be added with the watermark;
calculating the image complexity of the watermark area of each frame of the video image;
calculating the gray difference value of the two continuous frames of the video images according to the image complexity of the two continuous frames of the video images;
after pre-stored watermarks to be added are obtained from a memory DC, the watermarks to be added of two continuous frames of video images are processed based on the gray difference value of the two continuous frames of video images, and the processed watermarks to be added are added to the corresponding watermark areas of the video images to obtain videos with the watermarks.
Optionally, the calculating an image complexity of a watermark region of each frame of the video image further includes:
grading the video images of each frame according to the image complexity, and starting multithreading according to the graded number, so that the multithreading simultaneously carries out watermark adding operation on watermark areas of the video images of different grades to obtain a video added with a watermark;
wherein the number of the multiple threads is the same as the number of the divided levels.
Optionally, the calculating the image complexity of the watermark region of each frame of the video image includes:
and after carrying out binarization processing on the region image corresponding to the watermark region of each frame of the video image, calculating the pixel average value of each region image after binarization processing to obtain the image complexity of the watermark region of each video image.
Optionally, the calculating a gray scale difference value of two consecutive frames of the video image according to the image complexity of the two consecutive frames of the video image includes:
and calculating the average value of the image complexity of the video images of two continuous frames to obtain the gray difference value of the video images of two continuous frames.
Optionally, the processing the to-be-watermarked of the two consecutive frames of the video image based on the gray scale difference of the two consecutive frames of the video image, and adding the processed to-be-watermarked to the watermark area of the corresponding video image to obtain the watermarked video includes:
adding the gray difference value of two continuous frames of the video images on the basis of each gray value of the to-be-watermarked to obtain a first processed to-be-watermarked watermark, and subtracting the gray difference value of two continuous frames of the video images from each gray value of the to-be-watermarked to obtain a second processed to-be-watermarked;
adding the first processing watermark to be added to the watermark area of the video image with lower image complexity in the video images of two continuous frames, and adding the second processing watermark to be added to the watermark area of the video image with higher image complexity in the video images of two continuous frames.
Optionally, the watermark to be added is a text watermark and is generated by a GDI drawing carried by the Windows operating system.
Optionally, the watermark region is a lower right corner region of the video image of each frame.
A second aspect of the present application provides a video watermarking apparatus, including:
the determining unit is used for determining the watermark area of each frame of video image in the video to be added with the watermark;
the first calculating unit is used for calculating the image complexity of a watermark area of each frame of the video image;
the second calculating unit is used for calculating the gray difference value of the two continuous frames of the video images according to the image complexity of the two continuous frames of the video images;
and the watermark adding unit is used for processing the watermarks to be added of the two continuous frames of video images based on the gray difference values of the two continuous frames of video images after the pre-stored watermarks to be added are obtained from the memory DC, and adding the processed watermarks to be added to the corresponding watermark areas of the video images to obtain the videos with the watermarks.
Optionally, the method further comprises:
the grade division unit is used for carrying out grade division on the video images of each frame according to the image complexity and starting multithreading according to the divided grade number so that the multithreading simultaneously carries out watermark adding operation on watermark areas of the video images of different grades to obtain a video added with a watermark;
wherein the number of the multiple threads is the same as the number of the divided levels.
Optionally, the first computing unit is specifically configured to:
and after carrying out binarization processing on the region image corresponding to the watermark region of each frame of the video image, calculating the pixel average value of each region image after binarization processing to obtain the image complexity of the watermark region of each video image.
According to the technical scheme, the method has the following advantages:
the application provides a video watermark adding method, which comprises the following steps: determining a watermark area of each frame of video image in a video to be added with the watermark; calculating the image complexity of the watermark area of each frame of video image; calculating the gray difference value of two continuous frames of video images according to the image complexity of the two continuous frames of video images; after the pre-stored watermark to be added is obtained from the memory DC, the watermark to be added of the continuous two frames of video images is processed based on the gray difference value of the continuous two frames of video images, and the processed watermark to be added is added to the watermark area of the corresponding video image, so that the video with the watermark added is obtained.
According to the method, after a watermark area of each frame of video image added with the watermark is determined, the image complexity of the watermark area of each frame of video image is calculated, the gray level difference value of two continuous frames of video images is further calculated, the watermark to be added of the two continuous frames of video images is processed based on the gray level difference value of the two continuous frames of video images, the gray level value of the watermark of the two continuous frames of video images is adjusted through the gray level difference value, the watermark of the two continuous frames of video images is enabled to be in smooth transition, and the influence of overlarge color difference on visual effect is avoided; in addition, the watermark to be added is stored in the memory DC, and cannot be directly deducted, and the watermark cannot be removed through simple replacement because the complexity of each frame of video image is different and the color of the watermark of each frame of video image is also different, so that the problem that the existing video watermark adding method is easy to be directly deducted or simply replaced by a color block by directly adding a complete watermark at a fixed position is solved; and the watermark image after adding the watermark in the video is more prominent, influence the technical problem of visual effect.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a video watermarking method according to an embodiment of the present application;
fig. 2 is another schematic flow chart of a video watermarking method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video watermarking apparatus according to an embodiment of the present application.
Detailed Description
The application provides a video watermark adding method and a video watermark adding device, which are used for solving the problem that the existing video watermark adding method is easy to directly deduct or simply replace by a color block by directly adding a complete watermark at a fixed position; and the watermark image after adding the watermark in the video is more prominent, influence the technical problem of visual effect.
In order to make the technical solutions of the present application better understood, 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 of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For ease of understanding, referring to fig. 1, an embodiment of a video watermarking method provided by the present application includes:
step 101, determining a watermark area of each frame of video image in a video to be added with a watermark.
Before adding watermark to a video to be watermarked, a watermark region of each frame of video image in the video to be watermarked needs to be determined, the watermark region is a region to be watermarked and can be located at 4 corners of each frame of video image, in the embodiment of the application, the watermark region is preferably the lower right corner region of each frame of video image, the whole video vision is not affected, and the size of the watermark region can be 50 x 10.
And 102, calculating the image complexity of the watermark area of each frame of video image.
Before calculating the image complexity of the watermark region of each frame of video image, binarization processing needs to be performed on the region image corresponding to the watermark region of each frame of video image (YUV format or RGB format), and the calculation process of the image complexity of the watermark region of each frame of video image may be:
after binarization processing is carried out on the area image corresponding to the watermark area of each frame of video image, the pixel average value A of each area image after binarization processing is calculated, and the image complexity A of the watermark area of each video image is obtained.
And 103, calculating the gray difference value of the two continuous frames of video images according to the image complexity of the two continuous frames of video images.
If the image complexity difference of two continuous frames of video images is large and is not in a complexity area, the watermark is directly added in the watermark area of each frame of video image, so that a very large visual error exists on the two frames of video images, and the gray value cannot be in smooth transition.
Further, the calculation process of the gray difference value of two consecutive frames of video images may be: calculating the average value of the image complexity of two continuous frames of video images to obtain the gray difference value of the two continuous frames of video images, assuming that the image complexity of the two continuous frames of video images is A1 and A2 respectively, and the gray difference value of the two continuous frames of video images is M, namely:
M=(A1+A2)/2。
and step 104, after the pre-stored watermark to be added is obtained from the memory DC, processing the watermark to be added of the two continuous frames of video images based on the gray level difference value of the two continuous frames of video images, and adding the processed watermark to be added to the watermark area of the corresponding video image to obtain the video with the watermark added.
The watermark to be added in the embodiment of the application is pre-stored in the memory DC, after the pre-stored watermark to be added is obtained from the memory DC, the watermark to be added of the two continuous frames of video images is processed based on the gray level difference value of the two continuous frames of video images, and the processed watermark to be added is added to the watermark area of the corresponding video image, so that the video with the watermark added is obtained.
Further, processing the watermarks to be added to the two continuous frames of video images based on the gray level difference of the two continuous frames of video images, and adding the processed watermarks to be added to the corresponding watermark areas of the video images, wherein the specific process of obtaining the videos with the watermarks is as follows:
1. and adding the gray difference value of two continuous frames of video images on the basis of each gray value of the to-be-added watermark to obtain a first processed to-be-added watermark, and subtracting the gray difference value of two continuous frames of video images from each gray value of the to-be-added watermark to obtain a second processed to-be-added watermark.
Assuming that two consecutive video images are respectively represented as A, B, the image complexity of the watermark region of the a frame video image is a1, the image complexity of the watermark region of the B frame video image is a2, the grayscale value to be watermarked is (R, G, B), and the grayscale difference M is calculated to be (a1+ a 2)/2.
The method comprises the steps of carrying out two kinds of processing on gray values to be added with watermarks, adding gray difference values of two continuous frames of video images on the basis of each gray value to be added with the watermarks to obtain a first processed watermark to be added, wherein the gray value of the first processed watermark to be added is (R + M, G + M, B + M), subtracting the gray difference value of two continuous frames of video images from each gray value to be added with the watermarks to obtain a second processed watermark to be added, and the gray value of the second processed watermark to be added is (R-M, G-M, B-M).
2. Adding the first processing to-be-added watermark to the watermark area of the video image with lower image complexity in the two continuous frames of video images, and adding the second processing to-be-added watermark to the watermark area of the video image with higher image complexity in the two continuous frames of video images.
Assuming that the image complexity a1 of the watermark region of the a frame video image is high and the image complexity a2 of the watermark region of the B frame video image is low, the first processing to-be-watermarked is added to the watermark region of the B frame video image in the consecutive two frame video images, and the second processing to-be-watermarked is added to the watermark region of the a frame video image in the consecutive two frame video images. Therefore, the smooth transition of the video images with the watermarks added in two continuous frames is obtained, and the influence on vision caused by overlarge color difference is avoided.
In the embodiment of the application, after the watermark adding area of each frame of video image is determined, the image complexity of the watermark adding area of each frame of video image is calculated, the gray difference value of two continuous frames of video images is further calculated, the watermark to be added of the two continuous frames of video images is processed based on the gray difference value of the two continuous frames of video images, the gray value of the watermark of the two continuous frames of video images is adjusted through the gray difference value, the watermark of the two continuous frames of video images is enabled to be in smooth transition, and the influence on visual effect caused by overlarge color difference is avoided; in addition, the watermark to be added is stored in the memory DC, and cannot be directly deducted, and the watermark cannot be removed through simple replacement because the complexity of each frame of video image is different and the color of the watermark of each frame of video image is also different, so that the problem that the existing video watermark adding method is easy to be directly deducted or simply replaced by a color block by directly adding a complete watermark at a fixed position is solved; and the watermark image after adding the watermark in the video is more prominent, influence the technical problem of visual effect.
The above is an embodiment of a video watermarking method provided by the present application, and the following is another embodiment of a video watermarking method provided by the present application
For ease of understanding, referring to fig. 2, another embodiment of a video watermarking method provided by the present application includes:
step 201, determining a watermark area of each frame of video image in the video to be added with the watermark.
Step 202, calculating the image complexity of the watermark area of each frame of video image.
And step 203, calculating the gray difference value of the two continuous frames of video images according to the image complexity of the two continuous frames of video images.
The contents of step 201 to step 203 are consistent with the contents of step 101 to step 103, and the details of step 202 to step 203 are not repeated herein.
And step 204, carrying out grade division on each frame of video image according to the image complexity, and starting multithreading according to the divided grade number.
After calculating the image complexity of the watermark region of each frame of video image, each frame of video image is divided, preferably into 4 levels in the embodiment of the present application, for example, a video image with an image complexity M smaller than 50 is divided into one level, a video image with an image complexity M in the range [50,150) is divided into one level, a video image with an image complexity M in the range [150,200) is divided into one level, and a video image with an image complexity M in the range [200,255] is divided into one level.
After the classification, the multithreading is started according to the number of the classified grades, and the number of the multithreading is the same as the number of the classified grades.
Step 205, after the pre-stored watermark to be added is obtained from the memory DC, the watermark to be added of the two consecutive frames of video images is processed based on the gray scale difference of the two consecutive frames of video images, and the processed watermark to be added is added to the watermark area of the corresponding video image through multithreading, so as to obtain the video with the watermark added.
The existing video watermarking method generally depends on a third-party decoding library, the third-party decoding library needs to be purchased, and the watermarking cost is high. In order to solve the problem, the watermark to be added is a text watermark, is generated by GDI drawing carried by a Windows operating system and is stored in a memory DC, and the processing does not depend on any third-party library to add the watermark to the video, so that the watermark manufacturing cost is reduced.
In the embodiment of the application, the watermark adding operation is simultaneously carried out on the watermark areas of the video images with different grades by adopting multiple threads, so that the video with the added watermark is obtained. For example, each frame of image is divided into 4 levels in the application, correspondingly, 4 threads are started, each thread executes the watermark adding operation on each frame of video image of the same level, and compared with the method that one thread is adopted to perform the watermark adding operation on all the video images, the time is shorter, and the watermark adding efficiency is improved; moreover, video images with the same level of image complexity are processed in one thread, so that the error rate of watermark addition is reduced in an optimized manner; according to the embodiment of the application, the discontinuity of the colors of the watermark region is avoided by adopting the processing mode of the image complexity, and the problem that the watermark region is visually seen to have a lot of noise points due to the discontinuity of the colors of the watermark region is avoided.
The above is an embodiment of a video watermarking method provided by the present application, and the following is an embodiment of a video watermarking device provided by the present application.
For easy understanding, please refer to fig. 3, which illustrates an embodiment of a video watermarking apparatus provided in the present application, including:
a determining unit 301, configured to determine a watermark region of each frame of video image in a video to be watermarked;
a first calculating unit 302, configured to calculate an image complexity of a watermark region of each frame of video image;
the second calculating unit 303 is configured to calculate a gray scale difference value of two consecutive frames of video images according to the image complexity of the two consecutive frames of video images;
the watermark adding unit 304 is configured to, after obtaining the pre-stored watermark to be added from the memory DC, process the watermark to be added of the two consecutive frames of video images based on the gray-scale difference of the two consecutive frames of video images, and add the processed watermark to be added to the watermark area of the corresponding video image, so as to obtain the video to which the watermark is added.
The above is an embodiment of a video watermarking apparatus provided by the present application, and the following is another embodiment of a video watermarking apparatus provided by the present application, including:
a determining unit 301, configured to determine a watermark region of each frame of video image in a video to be watermarked;
a first calculating unit 302, configured to calculate an image complexity of a watermark region of each frame of video image;
the second calculating unit 303 is configured to calculate a gray scale difference value of two consecutive frames of video images according to the image complexity of the two consecutive frames of video images;
the watermark adding unit 304 is configured to, after obtaining the pre-stored watermark to be added from the memory DC, process the watermark to be added of the two consecutive frames of video images based on the gray-scale difference of the two consecutive frames of video images, and add the processed watermark to be added to the watermark area of the corresponding video image, so as to obtain the video to which the watermark is added.
As a further improvement, the method further comprises the following steps:
the level dividing unit 305 is configured to level divide each frame of video image according to the image complexity, and start multiple threads according to the number of divided levels, so that the multiple threads simultaneously perform watermark adding operations on watermark areas of video images of different levels to obtain a watermarked video.
Wherein the number of multiple threads is the same as the number of levels of division.
As a further improvement, the first computing unit 302 is specifically configured to:
after the region image corresponding to the watermark region of each frame of video image is subjected to binarization processing, the pixel average value of each region image subjected to binarization processing is calculated, and the image complexity of the watermark region of each video image is obtained.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described 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 apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, 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 through some interfaces, devices or units, 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A video watermarking method, comprising:
determining a watermark area of each frame of video image in a video to be added with the watermark;
calculating the image complexity of the watermark area of each frame of the video image;
calculating the gray difference value of the two continuous frames of the video images according to the image complexity of the two continuous frames of the video images;
after pre-stored watermarks to be added are obtained from a memory DC, the watermarks to be added of two continuous frames of video images are processed based on the gray difference value of the two continuous frames of video images, and the processed watermarks to be added are added to the corresponding watermark areas of the video images to obtain videos with the watermarks.
2. The video watermarking method according to claim 1, wherein the calculating of the image complexity of the watermark region of each frame of the video image further comprises:
grading the video images of each frame according to the image complexity, and starting multithreading according to the graded number, so that the multithreading simultaneously carries out watermark adding operation on watermark areas of the video images of different grades to obtain a video added with a watermark;
wherein the number of the multiple threads is the same as the number of the divided levels.
3. The video watermarking method according to claim 1, wherein the calculating of the image complexity of the watermark region of each frame of the video image comprises:
and after carrying out binarization processing on the region image corresponding to the watermark region of each frame of the video image, calculating the pixel average value of each region image after binarization processing to obtain the image complexity of the watermark region of each video image.
4. The method of claim 1, wherein the calculating a gray scale difference of two consecutive frames of the video image according to the image complexity of the two consecutive frames of the video image comprises:
and calculating the average value of the image complexity of the video images of two continuous frames to obtain the gray difference value of the video images of two continuous frames.
5. The method according to claim 1, wherein the processing the to-be-watermarked of the two consecutive frames of the video image based on a gray-scale difference value of the two consecutive frames of the video image, and adding the processed to-be-watermarked to a corresponding watermark area of the video image to obtain the watermarked video comprises:
adding the gray difference value of two continuous frames of the video images on the basis of each gray value of the to-be-watermarked to obtain a first processed to-be-watermarked watermark, and subtracting the gray difference value of two continuous frames of the video images from each gray value of the to-be-watermarked to obtain a second processed to-be-watermarked;
adding the first processing watermark to be added to the watermark area of the video image with lower image complexity in the video images of two continuous frames, and adding the second processing watermark to be added to the watermark area of the video image with higher image complexity in the video images of two continuous frames.
6. The video watermarking method of claim 1, wherein the watermark to be added is a text watermark generated by a GDI drawing carried by a Windows operating system.
7. The video watermarking method according to claim 1, wherein the watermark region is a lower right corner region of the video image of each frame.
8. A video watermarking apparatus, comprising:
the determining unit is used for determining the watermark area of each frame of video image in the video to be added with the watermark;
the first calculating unit is used for calculating the image complexity of a watermark area of each frame of the video image;
the second calculating unit is used for calculating the gray difference value of the two continuous frames of the video images according to the image complexity of the two continuous frames of the video images;
and the watermark adding unit is used for processing the watermarks to be added of the two continuous frames of video images based on the gray difference values of the two continuous frames of video images after the pre-stored watermarks to be added are obtained from the memory DC, and adding the processed watermarks to be added to the corresponding watermark areas of the video images to obtain the videos with the watermarks.
9. The video watermarking apparatus according to claim 8, further comprising:
the grade division unit is used for carrying out grade division on the video images of each frame according to the image complexity and starting multithreading according to the divided grade number so that the multithreading simultaneously carries out watermark adding operation on watermark areas of the video images of different grades to obtain a video added with a watermark;
wherein the number of the multiple threads is the same as the number of the divided levels.
10. The video watermarking apparatus according to claim 8, wherein the first computing unit is specifically configured to:
and after carrying out binarization processing on the region image corresponding to the watermark region of each frame of the video image, calculating the pixel average value of each region image after binarization processing to obtain the image complexity of the watermark region of each video image.
CN202010895970.8A 2020-08-31 2020-08-31 Video watermark adding method and device Active CN111953994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010895970.8A CN111953994B (en) 2020-08-31 2020-08-31 Video watermark adding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010895970.8A CN111953994B (en) 2020-08-31 2020-08-31 Video watermark adding method and device

Publications (2)

Publication Number Publication Date
CN111953994A true CN111953994A (en) 2020-11-17
CN111953994B CN111953994B (en) 2021-08-06

Family

ID=73367677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010895970.8A Active CN111953994B (en) 2020-08-31 2020-08-31 Video watermark adding method and device

Country Status (1)

Country Link
CN (1) CN111953994B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038141A (en) * 2021-03-26 2021-06-25 青岛海信移动通信技术股份有限公司 Video frame processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801977A (en) * 2012-08-07 2012-11-28 合肥极光科技股份有限公司 Method for embedding robust digital watermark in H.264 based on video complexity analysis
CN104182927A (en) * 2014-09-12 2014-12-03 北京国双科技有限公司 Method and device for adding watermark to image
US20170161862A1 (en) * 2015-12-04 2017-06-08 Le Holdings(Beijing)Co., Ltd. Method and electronic device for adding watermark to video
CN107256530A (en) * 2017-05-19 2017-10-17 努比亚技术有限公司 Adding method, mobile terminal and the readable storage medium storing program for executing of picture watermark
CN108109101A (en) * 2017-12-20 2018-06-01 广东工业大学 A kind of information concealing method based on multi-medium data, device and equipment
CN108198123A (en) * 2017-12-28 2018-06-22 上海传英信息技术有限公司 Watermark embedding method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801977A (en) * 2012-08-07 2012-11-28 合肥极光科技股份有限公司 Method for embedding robust digital watermark in H.264 based on video complexity analysis
CN104182927A (en) * 2014-09-12 2014-12-03 北京国双科技有限公司 Method and device for adding watermark to image
US20170161862A1 (en) * 2015-12-04 2017-06-08 Le Holdings(Beijing)Co., Ltd. Method and electronic device for adding watermark to video
CN107256530A (en) * 2017-05-19 2017-10-17 努比亚技术有限公司 Adding method, mobile terminal and the readable storage medium storing program for executing of picture watermark
CN108109101A (en) * 2017-12-20 2018-06-01 广东工业大学 A kind of information concealing method based on multi-medium data, device and equipment
CN108198123A (en) * 2017-12-28 2018-06-22 上海传英信息技术有限公司 Watermark embedding method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038141A (en) * 2021-03-26 2021-06-25 青岛海信移动通信技术股份有限公司 Video frame processing method and electronic equipment
CN113038141B (en) * 2021-03-26 2023-07-28 青岛海信移动通信技术有限公司 Video frame processing method and electronic equipment

Also Published As

Publication number Publication date
CN111953994B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
JP5640253B2 (en) Apparatus and method for improving bit resolution
US8144255B2 (en) Still subtitle detection apparatus and image processing method therefor
WO2009130820A1 (en) Image processing device, display, image processing method, program, and recording medium
CN107622504B (en) Method and device for processing pictures
CN111953994B (en) Video watermark adding method and device
CN112788329A (en) Video static frame detection method and device, television and storage medium
CN113487473B (en) Method and device for adding image watermark, electronic equipment and storage medium
KR20180011215A (en) Method and apparatus for determining a depth map for an image
US11954765B2 (en) Applying random patches to pixel block of an image utilizing different weights
WO2020108010A1 (en) Video processing method and apparatus, electronic device and storage medium
CN108924557B (en) Image processing method, image processing device, electronic equipment and storage medium
US6999621B2 (en) Text discrimination method and related apparatus
JPWO2014102876A1 (en) Image processing apparatus and image processing method
CN112700456A (en) Image area contrast optimization method, device, equipment and storage medium
CN107292825B (en) Image correction method and device
CN113556545B (en) Image processing method and image processing circuit
CN113689333A (en) Image enhancement method and device
CN114519694A (en) Seven-segment digital tube liquid crystal display screen identification method and system based on deep learning
US20110279447A1 (en) Rendering Transparent Geometry
US20110279448A1 (en) Rendering Transparent Geometry
CN117234320B (en) Energy-saving display method and system for LED display screen and display screen
CN111080550B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111325804B (en) Method and device for determining YUV image display parameters
JP2009010819A (en) Image discriminating apparatus and method, and program
CN118014816A (en) Watermark embedding method and device and electronic equipment

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