Blind watermark adding method and device, electronic equipment, storage medium and program product
By embedding a hidden blind watermark in the high-frequency region of the I-frame of a video image, selecting the target region using the irradiation expansion size and fill interval length, and adjusting the color channel frequency, the problem of traditional watermarks affecting user experience and being easily removed is solved, achieving concealment and stability, and improving the security and effectiveness of the watermark.
Patent Information
- Application Number
- CN202511549611.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-28
- Publication Date
- 2026-02-13
AI Technical Summary
Traditional watermarking methods damage images/videos, affect user experience, and are easily removed, lacking security and effectiveness.
The hidden blind watermarking technology is adopted. By obtaining the irradiation expansion size and the filling interval length, the watermark is embedded in the high-frequency region of the I-frame of the video image. The target filling area is selected by combining the irradiation expansion size and the filling interval length, and the hidden blind watermark is filled by adjusting the color channel frequency.
It achieves both concealment and stability of the watermark, balances copyright protection and information traceability, maintains the visual quality of videos and images, and increases the difficulty of cracking the watermark.
Smart Images

Figure CN121526863A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of communication technology, and in particular to a blind watermark adding method and device, electronic equipment, storage medium and program product. BACKGROUND
[0002] With the advent of the information age, more and more information is created by creators, and people's awareness of copyright protection of information is becoming stronger and stronger. In order to prove the ownership of the content, explicit watermark is usually added to video, image or article to prove the ownership of the copyright content.
[0003] However, the traditional watermark adding method has the following problems: (1) The traditional watermark adding technology will destroy the image / video itself, and the user can directly see the watermark content during browsing the image / video, which affects the user's viewing experience and the user's satisfaction is low; (2) With the development of image interception, PS content recognition and filling, AI intelligent image repair technology, the current watermark removal tool has greatly improved its ability, and the performance of the image content-based watermark removal repair method has reached a high level, making the cost of destroying / removing the traditional watermark very low, and the removal process is efficient and the removal effect is good. The traditional watermark faces great challenges in security and effectiveness. SUMMARY
[0004] The present disclosure provides a blind watermark adding method, device, electronic equipment, storage medium and program product to reduce the influence of watermark on user viewing video and improve the cracking difficulty of watermark to some extent.
[0005] In a first aspect, the present disclosure provides a method for adding a hidden blind watermark, comprising: obtaining an irradiation expansion size and a filling interval length of the hidden blind watermark based on an original video and hidden blind watermark content; obtaining a target filling area of the hidden blind watermark from a high-frequency area of a video image I frame of the original video based on the original video, the hidden blind watermark and the filling interval length; filling the hidden blind watermark into the original video based on the irradiation expansion size, the filling interval length and the target filling area.
[0006] In addition, according to the method of the first aspect of the present disclosure, the method for obtaining the irradiation expansion size and the filling interval length of the hidden blind watermark based on the original video and the hidden blind watermark content comprises: obtaining a first length of the hidden blind watermark based on a video resolution of the original video and the hidden blind watermark content; performing block processing on the video image I frame of the original video to obtain a color channel flux ratio corresponding to the video image I frame; obtaining a width of the hidden blind watermark and a second length of the hidden blind watermark matched with the width based on the color channel flux ratio and the first length; obtaining the irradiation expansion size based on the width and the second length; obtaining the filling interval length based on the irradiation expansion size.
[0007] Further, according to the method of the first aspect of the present disclosure, the target filling area of the hidden blind watermark is obtained from a high-frequency area of a video image I frame of the original video based on the original video, the hidden blind watermark and the filling interval length, comprising: performing block processing on the video image I frame of the original video to obtain a first spatial distribution feature of a low-frequency block and a second spatial distribution feature of a high-frequency block of the video image I frame; determining a starting filling position of the hidden blind watermark in the video image I frame based on the first spatial distribution feature and the second spatial distribution feature; determining the target filling area in the video image I frame based on the second spatial distribution feature, the starting filling position, the second length of the hidden blind watermark and the filling interval length.
[0008] Further, according to the method of the first aspect of the present disclosure, the hidden blind watermark is filled into the original video based on the irradiation expansion size, the filling interval length and the target filling area, comprising: obtaining a color channel depth matrix of a target block corresponding to the target filling area in the video image I frame; adjusting a frequency of an original color channel of the target block based on the color channel depth matrix, the irradiation expansion size and the filling interval length to obtain an adjusted color channel frequency; filling the hidden blind watermark into the video image I frame of the original video based on the adjusted color channel frequency.
[0009] Further, according to the method of the first aspect of the present disclosure, the hidden blind watermark is filled into the original video based on the irradiation expansion size and the target filling area, further comprising: obtaining an offset amount of the video image B frame and the video image P frame relative to the target filling area in the video image I frame; obtaining offset conversion information in the target filling area in the video image I frame; filling the hidden blind watermark into the video image B frame and the video image P frame based on the offset conversion information and the offset amount.
[0010] Further, according to the method of the first aspect of the present disclosure, the hidden blind watermark is filled into the video image B frame and the video image P frame based on the offset conversion information and the offset amount, comprising: determining a watermark density control parameter based on the irradiation expansion size, a video resolution of the original video and a minimum watermark density coefficient. The blind watermark is filled into the video image B frame and the video image P frame based on the watermark density control parameter, the offset conversion information and the offset amount.
[0011] In a second aspect, the present disclosure provides a blind watermark adding device, comprising: A first obtaining module configured to obtain an irradiation expansion size and a filling interval length of the blind watermark based on an original video and blind watermark content. A second obtaining module configured to obtain a target filling area of the blind watermark from a high-frequency area of a video image I frame of the original video based on the original video, the filling interval length and the filling interval length. A watermark adding module configured to fill the blind watermark into the original video based on the irradiation expansion size and the target filling area.
[0012] In a third aspect, the present disclosure provides an electronic device, comprising a memory for storing computer readable instructions, and a processor for running the computer readable instructions to enable the electronic device to perform the method of any of the embodiments of the first aspect.
[0013] In a fourth aspect, the present disclosure provides a non-transitory computer readable storage medium for storing computer readable instructions, which, when executed by a processor, enable the processor to perform the method of any of the embodiments of the first aspect.
[0014] In a fifth aspect, the present disclosure provides a computer program product comprising a computer program, which, when executed by a processor, implements the method of any of the embodiments of the first aspect.
[0015] The present disclosure provides a blind watermark adding method, device, electronic device, storage medium and program product. The present disclosure determines an irradiation expansion size and a filling interval length based on an original video and blind watermark content, plans a target filling area in a high-frequency area of an I frame of the original video according to the filling interval length, and fills the watermark into the target area in combination with the target filling area and the irradiation expansion size, thereby achieving the concealment and stability of watermark embedding, and effectively balancing the copyright protection, information tracing function of digital watermark and the visual quality of video and image.
[0016] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the subject technology claimed. BRIEF DESCRIPTION OF DRAWINGS
[0017] The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which: The accompanying drawings are provided to assist in understanding the embodiments of the present disclosure, and constitute a part of the specification. The accompanying drawings together with the present disclosure are used to explain the present disclosure and do not constitute a limitation on the present disclosure. In the drawings, the same reference numerals generally refer to the same parts or steps.
[0018] Figure 1 A schematic diagram of adding a visible watermark in the prior art for the disclosed embodiments; Figure 2 A schematic diagram of an application scenario of a hidden blind watermark adding method provided for the disclosed embodiments; Figure 3 A flowchart of a hidden blind watermark adding method provided for the disclosed embodiments; Figure 4 A GOP structure schematic diagram provided for the disclosed embodiments; Figure 5 A flowchart of another hidden blind watermark adding method provided for the disclosed embodiments; Figure 6 A hidden blind watermark schematic diagram provided for the disclosed embodiments; Figure 7 A method for calculating the color channel flux ratio D provided for the disclosed embodiments; Figure 8 A hidden blind watermark irradiation expansion size schematic diagram provided for the disclosed embodiments; Figure 9 A flowchart of another hidden blind watermark adding method provided for the disclosed embodiments; Figure 10 A flowchart of another hidden blind watermark adding method provided for the disclosed embodiments; Figure 11 A flowchart of another hidden blind watermark adding method provided for the disclosed embodiments; Figure 12 A flowchart of another hidden blind watermark adding method provided for the disclosed embodiments; Figure 13 A structure block diagram of a hidden blind watermark adding device provided for the disclosed embodiments; Figure 14 A hardware block diagram of an electronic device provided for the disclosed embodiments; Figure 15 A schematic diagram of a computer readable storage medium provided for the disclosed embodiments. DETAILED DESCRIPTION
[0019] In order to make the purposes, technical solutions and advantages of the present disclosure more obvious, the example embodiments according to the present disclosure will be described in detail below with reference to the drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the example embodiments described herein.
[0020] With the advent of the information age, more and more information is created by creators, and people's awareness of copyright protection of information is becoming stronger and stronger. In order to prove the ownership of the content, explicit watermark is usually added to video, image or article to prove the ownership of the copyright content, such as Figure 1 As shown in Figure 1 The existing technology provides a schematic diagram of adding a visible watermark for the disclosed embodiments. In the infringement monitoring process, the big data capability platform can extract the watermark feature information in the picture directly, and then identify the copyright / channel / source information contained in the watermark content, complete the infringement tracing and verification, so as to know whether the content published at present is published by the account himself.
[0021] In the actual use of watermark as a cloud disk video copyright protection measure, we found that the above technical solution has the following problems: (1) The traditional watermark adding method causes certain damage to the image / video itself: since the traditional watermark adding technology will damage the image / video itself, the user can directly see the watermark content during browsing the image / video, which affects the user's viewing experience and the user's satisfaction is low.
[0022] (2) The traditional watermark is easy to be removed under the existing technical conditions, and the security and effectiveness are both facing great challenges: with the development of image interception, PS content identification and filling, AI intelligent image repair and other technologies, the current watermark removal tool capability has been greatly improved, and the performance of the watermark removal and repair method based on image content has reached a high level, making the cost of destroying / removing the traditional watermark very low, and the removal process is efficient and the removal effect is good, the traditional watermark faces great challenges in security and effectiveness.
[0023] Based on the above technical problems, the present disclosure provides a hidden blind watermark adding method.
[0024] First, refer to Figure 2 The application scenario of the hidden blind watermark adding method according to the embodiments of the present disclosure is summarized.
[0025] Figure 2 The application scenario of the hidden blind watermark adding method according to the embodiments of the present disclosure is summarized. As shown in Figure 2As shown, the terminal 201 communicates with the server 203 through the network 202. The data storage system can store the data required by the server 203 to process. The data storage system can be integrated on the server 203, or placed on the cloud or other servers. When the user of the terminal 201 needs to add a blind watermark, the server 203 can be provided with video data, and the server 203 can add a blind watermark to the original video after obtaining the video data. The terminal 201 can be, but is not limited to, various desktop computers, notebook computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The network 202 can be a wired network, a wireless network, etc. The server 203 can be implemented by an independent server or a server cluster composed of multiple servers or a cloud server.
[0026] The present disclosure provides a blind watermark adding method. Please refer to Figure 3 , Figure 3 A flowchart of a blind watermark adding method provided by an embodiment of the present disclosure is shown in FIG. 3. As shown in FIG. 3, the method specifically includes the following steps: Figure 1 Step 301: Based on the original video and the blind watermark, the irradiation expansion size and the filling interval length of the blind watermark are obtained.
[0027] In an embodiment of the present disclosure, the original video refers to video data to which a covert blind watermark is to be added. The covert blind watermark is a digital watermarking technology embedded in a carrier (such as a video, an image, audio, etc.) that cannot be perceived by the human eye / human ear and does not need to rely on the original carrier to extract. It is essentially to integrate specific information (such as copyright identification, traceable coding, authorization information, etc.) into the carrier data in a hidden manner, while taking into account the "invisibility" and "independent extractability", and is one of the core technologies for digital content copyright protection and information tracing. The irradiation expansion size is a key parameter defined in the process of embedding an image in a covert blind watermark to deal with the "watermark edge effect" (that is, the watermark information not only affects the embedded region itself, but also spreads to the surrounding region, especially causing interference to high-fineness image quality); its specific range is composed of the "watermark direct embedding region" and the "peripheral region affected by the watermark diffusion". The core role of this parameter is to provide a basis for subsequent "planning watermark layout and avoiding the superposition of expansion regions of different watermarks" by clearly defining this overall range, and ultimately to reduce the damage to image quality caused by watermark embedding. The filling interval length refers to a spatial distance parameter used to determine the distance between adjacent two covert blind watermark embedding points (or covert blind watermark blocks) in the process of filling the original video with the covert blind watermark, which is used to control the distribution density of the watermark blocks in the original video, so as to avoid picture distortion caused by excessive concentration of watermarks, or difficulty in extracting watermarks caused by excessive sparseness. The original video and the covert blind watermark are analyzed, and the irradiation expansion size and the filling interval length of the covert blind watermark are obtained according to the analysis result.
[0028] In step 302, based on the original video, the covert blind watermark and the filling interval length, a target filling region of the covert blind watermark is obtained from a high-frequency region of a video image I-frame of the original video.
[0029] In an embodiment of the present disclosure, the video image I-frame is a key frame independently and completely coded in a video coding sequence GOP (group of pictures), which can be decoded without relying on other frames; the high-frequency region of the video image I-frame specifically refers to a spatial region (such as object contour, texture, text edge, etc.) in which the pixel value changes dramatically and the details are rich, which can cover the slight changes of the watermark to ensure the concealment. First, the original video is coded and analyzed to separate the video image I-frame set, the video image B-frame set and the video image P-frame set in the GOP; second, the high-frequency region is extracted from each video image I-frame in the video image I-frame set through image signal analysis (such as edge detection, frequency domain conversion, etc.); finally, the filling interval length (a spatial parameter for controlling the distance between adjacent watermarks) is used as a standard to plan evenly distributed watermark embedding points in the extracted high-frequency region, and the set of these embedding points is the target filling region. The structure of the GOP can refer to Figure 4 , Figure 4 The present disclosure provides a GOP structure diagram.
[0030] Step 303, based on the irradiation expansion size and the target filling area, fill the hidden blind watermark into the original video.
[0031] In an embodiment of the present disclosure, for each embedding point in the target filling area, the hidden blind watermark carrying range corresponding to the embedding point is determined according to the irradiation expansion size (to ensure that the diffusion influence of the hidden blind watermark after embedding is limited within the preset peripheral area and does not interfere with the quality of other areas), and the information data of the hidden blind watermark is filled into each watermark carrying range by using a traceless embedding algorithm (such as color channel frequency fine-tuning, high-frequency detail fusion, etc.), to complete the filling of the watermark in the high-frequency area of the original video I frame, and through the reference of the I frame, the watermark information can be synchronized to act on the subsequent associated video images B frame and video images P frame.
[0032] In summary, according to the technical scheme provided by the embodiment of the present disclosure, the present disclosure determines the irradiation expansion size and the filling interval length based on the original video and the hidden blind watermark content, then plans the target filling area in the high-frequency area of the original video I frame according to the filling interval length, fills the watermark into the target area in combination with the target filling area and the irradiation expansion size, and realizes the concealment and stability of watermark embedding, effectively balancing the copyright protection, information tracing function of digital watermark and the visual quality of video and images.
[0033] Figure 5 Another flowchart of a hidden blind watermark adding method provided by an embodiment of the present disclosure.
[0034] As shown in Figure 5 , based on the original video and the hidden blind watermark content, the irradiation expansion size and the filling interval length of the hidden blind watermark are obtained, specifically including the following steps: Step 501, based on the video resolution of the original video and the hidden blind watermark content, a first length of the hidden blind watermark is obtained.
[0035] In an embodiment of the present disclosure, since the video image space of the original video is limited, and it is necessary to ensure that the degree of decline in video image viewing quality caused by adding the hidden blind watermark is controllable, therefore, it is necessary to calculate the maximum allowed length of the blind watermark, if the length of the hidden blind watermark image exceeds this value, the content cannot be used.
[0036] The maximum allowed length of the hidden blind watermark is calculated as follows:
[0037] Among them, the number of video width pixels and the number of video height pixels can be obtained by analyzing the video resolution DPI, The maximum number of pixel changes. For coding redundancy, This represents the maximum allowed watermark density in the spectrogram (i.e., how many pixels are allowed to change by one pixel). , and It can be configured according to actual application needs.
[0038] See Figure 6 , Figure 6 This is a diagram illustrating the hidden blind watermarking technique. The hidden blind watermark content is... It includes the publisher ID ( ), release time ( ), original publishing platform ( Information such as text is typically presented in text format, and the specific encoding method for this text information is as follows:
[0039]
[0040] Where | indicates splicing, Indicates calculation The CRC cyclic redundancy check code has a target length of l. To add a hidden blind watermark with CRC cyclic redundancy check code The binary encoded vector is used to ensure that the hidden blind watermark can still be reliably decoded after the image has undergone compression, format conversion and other operations. The original watermark content must first be encoded into a binary vector; then the CRC algorithm is used to calculate the check code of the vector to form a complete encoding sequence of "original watermark vector + CRC check code"; finally, according to the requirements of the watermark embedding algorithm (such as adapting to the pixel / frequency domain matrix structure of the image), the complete sequence is reshaped into a binary matrix to increase the error detection and correction capabilities of the data.
[0041] Hidden blind watermark content Perform ASCII binary encoding, and calculate the encoded length using the function length = len(binary_text), which will be used as the length of the hidden blind watermark content. Then, based on the content of the hidden blind watermark... Calculate the minimum space requirement for hidden blind watermarks. The calculation formula is as follows:
[0042] In the formula, This indicates the concealment of blind watermark content. The length of the binary code, The ratio of the error-correcting code to the original code. To add a hidden blind watermark with CRC cyclic redundancy check code The binary encoded vector. Where, It can be configured according to actual application requirements. Then, based on the maximum allowed length of the hidden blind watermark... Minimum space requirements Calculate the first length of the hidden blind watermark. The calculation formula is as follows:
[0043] In practical applications, the minimum space requirement for concealing blind watermarks Less than or equal to the maximum allowed length of the hidden blind watermark If the watermark cannot be added, the process will continue; otherwise, the system will return to a message indicating that the watermark content cannot be added.
[0044] Step 502: Divide the original video image I-frame into blocks and obtain the color channel throughput ratio corresponding to the video image I-frame.
[0045] In one embodiment of this disclosure, the color channel throughput ratio is used to quantify the proportion of high-frequency regions suitable for watermark embedding in the I-frame. The original video image I-frame is divided into blocks, with a preset block size of 8×8. Each color channel in the RGB channels of the video image I-frame is divided independently. The number of blocks in the image frame height is... Number of image frame width blocks Image I-frame block result set for:
[0046] For sets Mid-block ,in These are the RGB three color channels. For any color channel, it is divided into blocks. The block color channel depth matrix is as follows:
[0047] This indicates that in an I-frame of an image, the coordinates of color channel k (where k is any of the RGB colors) are... The color depth value of the location is padded with 0 when the coordinates are outside the image range.
[0048] Based on the block color channel depth matrix of each image I-frame Calculate the set of block results frequency The specific formula is as follows: For any block its frequency The calculation logic is as follows:
[0049] in, , , Representing blocks Divide into blocks in each RGB channel , , The frequency of is calculated using the following logic:
[0050] Where u and v are two-dimensional discrete frequency indices, representing spatial frequencies in the horizontal and vertical directions, respectively, and p and q are variables in the spatial domain. In this context, j is the imaginary unit, which passes through the prime point at spatial location (p, q). The values of u and v are used to obtain the frequency characteristics at frequencies u and v. This is used to specify a particular frequency. Through this transformation, the frequency characteristics of the image, such as edges and textures, are obtained, thus completing the frequency feature extraction.
[0051] For the frequency of all blocks Sort the frequencies and calculate the median frequency. Based on this, the image is divided into high-frequency blocks. and low frequency segmentation Two parts; By adding a hidden blind watermark to the high-frequency part that is not sensitive to the human eye, the quality degradation problem that is visible to the naked eye caused by adding watermarks is reduced, while low-frequency data is used as the basic data source for positioning and transformation operations.
[0052] After integrating the frequencies of all blocks into a set By block frequency Sort and arrange the data, including the median number. The calculation method is as follows:
[0053] in, Indicates taking The ind-th value in the middle. Based on the median. The image is divided into two parts: a high-frequency region and a low-frequency region. The high-frequency region is: The number of its blocks is: ; The low-frequency region is The number of its blocks is: ; gather and The length of the feature in the set is the number of sets. Therefore... and Yes and The quantity value obtained after calculating the length value.
[0054] Based on the number of blocks in the high-frequency region Number of blocks in the low-frequency region The calculation logic for the color channel throughput ratio D (i.e., the ratio of the number of high-frequency region blocks to the number of low-frequency region blocks) is as follows:
[0055] For details on the process of calculating the color channel flux ratio, please refer to [link to relevant documentation]. Figure 7 , Figure 7 This is a schematic diagram illustrating the method for calculating the color channel throughput ratio D.
[0056] Step 503: Based on the color channel throughput ratio and the first length, obtain the width of the hidden blind watermark and the second length of the hidden blind watermark that matches the width.
[0057] In one embodiment of this disclosure, based on the color channel throughput ratio D and the first length Calculate the second width of the hidden blind watermark Its calculation logic is as follows:
[0058] Based on the width of the hidden blind watermark Update the first length of the hidden blind watermark and obtain the second length of the hidden blind watermark. :
[0059] The second length is a fine adjustment of the first length based on the proportion of high-frequency regions in the I-frame that can actually embed watermarks. This makes the length of the hidden blind watermark change from theoretically feasible to the optimal fit in the actual scenario, ultimately ensuring that the watermark can be successfully embedded while taking into account both concealment (depending on high-frequency regions) and robustness.
[0060] Step 504: Obtain the irradiation expansion size based on the width and the second length.
[0061] In one embodiment of this disclosure, based on the second length of the hidden blind watermark and width Calculate irradiation spread .
[0062] The length of the concealed blind watermark irradiation expansion dimension is:
[0063] The width of the hidden blind watermark irradiation expansion size is:
[0064] in, The calculation method for the area expansion edge ratio is as follows: Let k = 1, 2, 3, ...., Take the condition that satisfies: The minimum k value is used as The final value of k is determined when no k value satisfies the above conditions. Among them, the irradiation expansion size area The calculation logic is as follows: .in, Figure 8 This is a schematic diagram of the irradiation expansion size of a hidden blind watermark provided in an embodiment of this disclosure.
[0065] Step 505: Obtain the filling interval length based on the irradiation expansion size.
[0066] In one embodiment of this disclosure, to improve the dynamics of the location where the hidden blind watermark is added, the filling interval length between blocks is calculated, so that the filling position of the hidden blind watermark dynamically changes in the spectrum, and its filling interval length... The calculation logic is as follows:
[0067] in, The maximum jump interval is represented by the following logic:
[0068] In summary, according to the technical solution provided in this disclosure, the watermark length is determined by the video resolution of the original video and the content of the hidden blind watermark. The video image is divided into I-frames and frequency features are extracted to divide it into high-frequency and low-frequency blocks. The color channel throughput ratio is calculated, and the watermark width and second length are determined by combining the color channel throughput ratio and the watermark length. Then, the irradiation expansion size and filling interval length are obtained. These operations can effectively improve the concealment and robustness of the hidden blind watermark while ensuring the video viewing quality. At the same time, the dynamics of the watermark filling position are enhanced, so that the watermark can still be reliably decoded and extracted after video compression, format conversion and other operations.
[0069] Figure 9 This is a flowchart illustrating another method for adding a hidden blind watermark, as provided in this embodiment of the disclosure.
[0070] like Figure 9 As shown, based on the original video, the hidden blind watermark, and the filling interval length, the target filling region for the hidden blind watermark is obtained from the high-frequency region of the I-frame of the original video image, including: Step 901: Divide the original video image I-frame into blocks to obtain the first spatial distribution features of the low-frequency blocks and the second spatial distribution features of the high-frequency blocks of the video image I-frame.
[0071] In one embodiment of this disclosure, referring to the segmentation method in step 502 above, the first spatial distribution feature of low-frequency segmentation includes the number of segments in the low-frequency region after segmenting the video image I-frame of the original video, as well as the coordinate position information of each segment in the two-dimensional space of the image; the second spatial distribution feature of high-frequency segmentation includes the number of segments in the high-frequency region after segmenting the video image I-frame of the original video, as well as the coordinate position information of each segment in the two-dimensional space of the image.
[0072] Step 902: Based on the first spatial distribution features and the second spatial distribution features, determine the starting filling position of the hidden blind watermark in the I-frame of the video image.
[0073] In one embodiment of this disclosure, the hidden blind watermark needs to be added in a high-frequency region, and the watermark location... l It is configured on all high-frequency blocks. The coordinates of the starting padding position l of the hidden blind watermark in the video image I-frame are determined by utilizing the first spatial distribution features and the second spatial distribution features. l x , l y Specifically, since high-frequency and low-frequency blocks are spatially adjacent or co-occurring (e.g., the edges of smooth regions <low frequency> in an image are often detailed regions <high frequency>), the coordinate statistics of low-frequency blocks can more accurately locate the concentrated positions of high-frequency regions, serving as the starting embedding points for the watermark. The specific logic can be found in the following formula:
[0074]
[0075] in, (i.e., the aforementioned) (This refers to the low-frequency region) Number of blocks The number of blocks for the height of an image frame. The number of blocks to divide the image frame width. This represents the horizontal coordinate of the m-th low-frequency block. This represents the vertical coordinate of the m-th low-frequency block.
[0076] In one embodiment of this disclosure, the hidden blind watermark needs to be added in a high-frequency region. During the sequential traversal of the entire image block, it is necessary to determine which block is the starting block (i.e., to determine the starting filling position l of the hidden blind watermark in the I-frame of the video image). Since these image blocks may be high-frequency or low-frequency blocks, the hidden blind watermark should be added in a high-frequency block. Therefore, if a high-frequency block is identified, the watermark is directly filled; if a low-frequency block is identified, the first nearest high-frequency block (the minimum distance will not be 0) is selected, and the blind watermark is added in the high-frequency block. Specifically, the horizontal coordinates of the low-frequency block are averaged, rounded down, and then moduloed and remaindered to obtain the horizontal coordinates. For example, the nearest distance can be defined as the Euclidean distance between the block and each high-frequency block in the two-dimensional space of the image (with the coordinates of the upper left corner of the block as the reference point). By pre-generating a list of high-frequency block coordinates, the distance between each low-frequency block and each high-frequency block in the list is quickly calculated, and the high-frequency block corresponding to the minimum value is selected as the target.
[0077] Step 903: Based on the second spatial distribution characteristics, the starting filling position, the second length, and the filling interval length, determine the target filling region in the I-frame of the video image.
[0078] In one embodiment of this disclosure, all high-frequency blocks are extracted from the second spatial distribution features to form a candidate set. The distance between each block in the candidate set and the starting filling position is calculated based on the candidate set and the filling interval length. All high-frequency blocks are sorted from the starting filling position in ascending order of distance. The required number of blocks is calculated based on the second length. The top high-frequency blocks are selected from the sorted high-frequency blocks. The set of individual blocks constitutes the "target filling region".
[0079] For example, high-frequency regions are divided into blocks. In the middle, take the position closest to the starting fill position l(lx, ly). There are several partitioned regions, where the number of partitions is... For any block Its location is , and the starting fill position l The distance between them is:
[0080] In the formula: This represents the fill interval length.
[0081] Sort by distance in ascending order, then take the first few. The selected high-frequency regions are divided into blocks for watermark filling. (i.e., the target filling area in the I-frame of the video image).
[0082] In summary, according to the technical solution provided in this disclosure, by dividing a video image into I-frames and extracting the first spatial distribution features of the low-frequency blocks and the second spatial distribution features of the high-frequency blocks, and using the spatial co-occurrence relationship between the high-frequency and low-frequency blocks to determine the starting filling position of the watermark, and then selecting a specified number of blocks closest to the starting position in the high-frequency region as the target filling region based on the second spatial distribution features, the starting filling position, the second length, and the filling interval length, this series of operations can accurately and efficiently locate the high-frequency region in the video image suitable for embedding a hidden blind watermark. This fully utilizes the characteristic that the human eye is not sensitive to changes in high-frequency details, ensuring the concealment of the watermark, and through the reasonable application of spatial distribution features and distance filtering, makes the embedding position of the hidden blind watermark more targeted and reliable. This lays the foundation for the stable embedding of the hidden blind watermark and its reliable extraction even after the video has undergone compression, format conversion, and other operations, effectively improving the practicality and robustness of the hidden blind watermark technology. In the above process, by determining the starting and target filling positions, the watermark can be changed from static to dynamic. The filling logic will change for different videos, frames, and watermark content, which increases the difficulty of removing the copyright information watermark.
[0083] Figure 10 This is a flowchart illustrating another method for adding a hidden blind watermark, as provided in this embodiment of the disclosure.
[0084] like Figure 10 As shown, based on the irradiation spread size, fill interval length, and target fill area, a hidden blind watermark is filled into the original video, including: Step 1001: Obtain the color channel depth matrix of the target block corresponding to the target filling region in the I-frame of the video image.
[0085] In one embodiment of this disclosure, the target block refers to the block contained within the target filling region determined in a video image I-frame. The color channel depth matrix refers to the pixel depth information matrix extracted from the RGB channels (red, green, and blue) of the target block. In order to embed the hidden blind watermark into the video image I-frame, the target block within the target filling region is found in the video image I-frame, and the R, G, and B color channel depth matrices of the target block are extracted.
[0086] For example, after determining the target blocks within the target filling area, the blocks in the RGB channels of the target blocks are calculated based on the target blocks. , , ', thereby obtaining the color channel depth matrix corresponding to the target block. .
[0087] Step 1002: Based on the color channel depth matrix, irradiation expansion size, and fill interval length, adjust the frequency of the original color channels of the target block to obtain the adjusted color channel frequencies.
[0088] In one embodiment of this disclosure, the blocks in the RGB channels are calculated using the obtained color channel depth matrix. , , The frequency of the original color channels (i.e., the frequencies of the frequency spectrum blocks), its expression formula is as follows:
[0089] Next, considering the irradiation spread size and fill interval length, the original color channel frequencies of the blocks belonging to the target fill region within the target block are adjusted. Taking the r color channel as an example, the frequency of the spectrogram block is adjusted accordingly. The r color channel at coordinates p, q is filled with a hidden blind watermark according to the following logic:
[0090] in, , , mr(x) represents the average color depth value in each RGB channel, where mr(x) represents a threshold constraint on x. The specific calculation logic is as follows:
[0091] frequency The logic for filling the hidden watermark at coordinates p and q in the g and b color channels is the same as described above for r. The adjusted color channel frequencies are... .
[0092] Step 1003: Based on the adjusted color channel frequency, fill the hidden blind watermark into the video image I-frame of the original video.
[0093] In one example of this disclosure, adjusting the original color channel frequencies of the target blocks allows the hidden blind watermark to be filled into the target blocks within the target filling area of the original video image I-frame. After filling the high-frequency region of the original video I-frame with the hidden blind watermark, an inverse transformation of the hidden blind watermark spectrogram is used to restore the hidden blind watermark spectrogram image, resulting in the restored image containing the hidden blind watermark. The specific restoration logic is as follows:
[0094] In summary, according to the technical solution provided in this disclosure, the hidden blind watermark is precisely embedded into the target filling region of a video image I-frame through the synergistic effect of irradiation expansion size, filling interval length, and target filling region, achieving visual concealment of the hidden blind watermark. At the same time, the frequency domain adjustment and block embedding method are adopted to deeply fuse the hidden blind watermark with the high-frequency features of the video image, effectively improving its robustness against attacks such as video compression and filtering. Finally, the reliable embedding of the hidden blind watermark is completed without affecting the visual quality of the video, and without affecting the content of the video image itself.
[0095] Figure 11 This is a flowchart illustrating another method for adding a hidden blind watermark, as provided in this embodiment of the disclosure.
[0096] like Figure 11 As shown, based on the irradiation spread size and the target filling area, the hidden blind watermark is filled into the original video, which also includes: Step 1101: Obtain the offset of video image B frame and video image P frame relative to the target filling area in video image I frame.
[0097] In one example of this disclosure, the offset (i.e. displacement deviation) in spatial pixel position between video images B-frame and P-frame in the video and I-frame, which serves as a reference, is calculated.
[0098] For example, for the target block of the target filling region, the offset in spatial pixel position between video image B frame and video image P frame in the video and video image I frame used as reference is calculated respectively.
[0099] Specifically, for any block within the target filling region, the transformation matrix of video image B-frame and video image P-frame is... The calculation logic is as follows:
[0100] in, Divide the I-frames in the original image encoding into blocks. The B-frames and P-frames in the original image encoding are divided into blocks (where the original image encoding refers to the image encoding based on GOP encoding without adding a hidden blind watermark). It is a transformation matrix used to describe the block position offset relationship of video image B-frames and video image P-frames relative to video image I-frames, and is used to quantify the block offset of video image B-frames and video image P-frames relative to video image I-frames.
[0101] Step 1102: Obtain the offset transformation information within the target filling region in the I-frame of the video image.
[0102] In one embodiment of this disclosure, the offset conversion information refers to the parameter (or matrix) obtained by performing a difference operation between the image encoded data after embedding the hidden blind watermark and the original image encoded data without embedding the hidden blind watermark in the target filling area of the video image I frame, which is used to quantify the encoding difference in the area caused by the embedding of the hidden blind watermark.
[0103] For example, the offset transformation information of video image I-frames in any block of the target filling region. :
[0104] in, Encoded data after adding a watermark to a video image I-frame.
[0105] Step 1103: Based on the offset transformation information and offset, fill the hidden blind watermark into the B-frame and P-frame of the video image.
[0106] In one embodiment of this disclosure, using offsets, the associated blocks in video frames B and P that correspond to the target filling area in video frame I can be accurately located. Specifically, the blocks in video frame I that embed the watermark are positioned after displacement due to motion in video frames B and P, ensuring spatial matching between the watermark filling positions in video frames B and P and frame I. The watermark embedding pattern of video frame I is replicated to video frames B and P using the same offset conversion information, guaranteeing consistency between the hidden blind watermarks in video frames B and P and the hidden blind watermarks in video frames I.
[0107] In summary, according to the technical solution of this disclosure, by first obtaining the offsets of B-frames and P-frames relative to the target filling area of I-frame, and then obtaining the offset transformation information within the target filling area of I-frame, the associated blocks in B-frames and P-frames corresponding to the target filling area of I-frame are accurately located based on the offset transformation information and the offsets. The watermark embedding mode of I-frame is replicated, and the hidden blind watermark is filled into B-frames and P-frames, ensuring the consistency of the hidden blind watermark between B-frames, P-frames, and I-frame. Furthermore, by calculating the inter-frame offset transformation, the watermark addition of B-frames and P-frames in the GOP is performed following the inter-frame offset transformation, reducing the computational load in the process of adding and parsing the hidden blind watermark, and improving the efficiency of adding hidden blind watermarks to videos.
[0108] Figure 12 This is a flowchart illustrating another method for adding a hidden blind watermark, as provided in this embodiment of the disclosure.
[0109] like Figure 12As shown, based on offset transformation information and offset, the hidden blind watermark is filled into the B-frame and P-frame of the video image, including: Step 1201: Determine the watermark density control parameters based on the irradiation expansion size, the video resolution of the original video, and the minimum watermark density coefficient.
[0110] In one embodiment of this disclosure, watermark density control parameters are determined by combining the irradiation dilation size, the video resolution of the original video, and the minimum watermark density coefficient. Exemplarily, the calculation logic for the watermark density control parameters is as follows:
[0111] in, This represents the minimum watermark density coefficient. Indicates the width of the video in pixels. Indicates the height in pixels of the video. This indicates the number of blocks in frame mm where a hidden blind watermark has been added. When mm = 0, it represents an I-frame. At this time, it represents the mm-th B or P frame relative to the I frame in the GOP.
[0112] Step 1202: Based on the watermark density control parameters, offset conversion information, and offset, fill the hidden blind watermark into the B-frame and P-frame of the video image.
[0113] In one embodiment of this disclosure, a hidden blind watermark is embedded into B-frames and P-frames of a video image by comprehensively utilizing three types of key data: watermark density control parameters, offset conversion information, and offset amount.
[0114] For example, embedding a hidden blind watermark into B-frames and P-frames of a video image can be seen in the following logic:
[0115] in, This adds a hidden blind watermark to the B-frames and P-frames of a video image; 'in' indicates the sequential encoding of the B-frames and P-frames relative to the I-frames. For the B-frames and P-frames of the video image without hidden blind watermarks, the prediction direction (a,b) is determined by GOP encoding, starting from the original frame. Read directly from the encoding.
[0116] The process of adding a hidden blind watermark to the B-frames and P-frames of the video image described above is based on... Determine if the conditions for adding a watermark are met. If the value is 1, then combining the watermark density control parameter, offset conversion information, and offset amount, a new image with the watermark added is obtained; otherwise... If the value is 0, no watermark is added. In this way, while ensuring the video encoding logic (relying on GOP predictive coding), a hidden blind watermark is added to B-frames and P-frames, and the number and distribution of watermarks can be controlled.
[0117] For example, the process of adding a hidden blind watermark to B-frames and P-frames of video images described above can be specifically referred to as follows: A watermark is added to a video image I-frame. The watermark spectrum of the video image I-frame is obtained (i.e., the spectrum corresponding to the adjusted color channel frequencies of the I-frame). The spectrum of the video image I-frame is then inversely transformed to restore the original image, resulting in the image corresponding to the watermarked video image I-frame. The watermark transformation matrix is then obtained based on this image. (i.e., the aforementioned transformation matrix) The information includes offset conversion data, watermark density control parameters, and images represented by B-frames and P-frames of the video image without hidden blind watermarks. Acquire B-frames and P-frames of a video image after adding a hidden blind watermark. .
[0118] In summary, according to the technical solution provided in this disclosure, the watermark density control parameter is determined by combining the irradiation expansion size, video resolution, and minimum watermark density coefficient. Based on this parameter, offset conversion information, and offset amount, the hidden blind watermark is accurately and on demand filled into the B-frames and P-frames of the video image. This method, while adhering to the video GOP predictive coding logic, ensures the consistency of the hidden blind watermark in B-frames, P-frames, and I-frames, and effectively controls the quantity and distribution of watermark additions, giving the watermark good concealment and reasonable density without damaging the original video encoding and image quality. Furthermore, by dynamically adjusting the density of the hidden blind watermark addition (i.e., the watermark density control parameter), a certain amount of blind watermark is ensured in each GOP, and the watermark variation between frames is guaranteed while avoiding excessive concentration, maintaining a certain degree of dispersion and randomness, further increasing the difficulty of cracking and removing the watermark.
[0119] Based on the hidden blind watermarking methods described in the above embodiments, the inspection and recovery of hidden blind watermarks can be referred to as follows: Since the hidden blind watermark in this embodiment can be obtained by comparing the image after adding the blind watermark with the image before adding the blind watermark, the binary encoding data of the hidden blind watermark content added to the video can be obtained by reverse calculation, and the hidden blind watermark content can be restored by reversing the encoding of the binary encoding data.
[0120] Based on the hidden blind watermarking method described in the above embodiments, the copyright tracking platform system uses the following process: 1. Users publish their works through the platform; 2. The platform adds a hidden blind watermark to the published works; 3. The platform, through actual monitoring of information across the entire network and based on its own decryption capabilities, determines whether the watermark content corresponds to the publisher information; 4. If the content does not match, the work will be removed from the platform.
[0121] This disclosure also provides a device for adding a hidden blind watermark. Figure 13 A structural block diagram of a hidden blind watermarking device provided in this disclosure embodiment is shown below. Figure 10 As shown, the hidden blind watermarking device 1300 includes a first acquisition module 1301, a second acquisition module 1302, and a watermarking module 1303.
[0122] Specifically, the first acquisition module 1301 is configured to acquire the irradiation expansion size and filling interval length of the hidden blind watermark based on the original video and the hidden blind watermark content. Specifically, the second acquisition module 1302 is configured to acquire the target filling region of the hidden blind watermark from the high-frequency region of the video image I frame of the original video based on the original video, the filling interval length, and the filling interval length. Specifically, the watermarking module 1303 is configured to fill the original video with a hidden blind watermark based on the irradiation expansion size and the target filling area.
[0123] Figure 14 This is a hardware block diagram of an electronic device provided according to an embodiment of the present disclosure. The electronic device 1400 according to an embodiment of the present disclosure includes at least a processor and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor performs the hidden blind watermarking method described in any of the preceding embodiments of the present disclosure.
[0124] Figure 14 The illustrated electronic device 1400 specifically includes a central processing unit (CPU) 1401, a graphics processing unit (GPU) 1402, and a memory 1403. These units are interconnected via a bus 1404. The CPU 1401 and / or GPU 1402 can function as the aforementioned processor, and the memory 1403 can function as the aforementioned memory storing computer-readable instructions. Furthermore, the electronic device 1400 may also include a communication unit 1405, a storage unit 1406, an output unit 1407, an input unit 1408, and an external device 1409, all of which are also connected to the bus 1404.
[0125] Figure 15 This is a schematic diagram of a computer-readable storage medium provided according to an embodiment of this disclosure. (As shown) Figure 15As shown, a computer-readable storage medium 1500 according to an embodiment of the present disclosure stores computer-readable instructions 1501 thereon. When the computer-readable instructions 1501 are executed by a processor, the method for adding a hidden blind watermark according to any embodiment of the present disclosure described above with reference to the accompanying drawings is performed. The computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, optical disk, magnetic disk, etc.
[0126] This disclosure further provides a computer program product, including a computer program that, when executed by a processor, implements the hidden blind watermarking method described in any of the preceding embodiments of this disclosure.
[0127] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0128] For the above, please refer to the appendix. Figure 1 To be continued Figure 15This disclosure details the blind watermarking method, apparatus, electronic device, storage medium, and program product provided. Specifically, it divides a video image I-frame into blocks, further categorizing them into high-frequency and low-frequency regions. Low-frequency region information is used for positioning and data conversion calculations, while the high-frequency portion is used to fill the watermark. This ensures the added watermark can be restored through reverse calculation and that the added watermark only exists in the high-frequency blocks, minimizing interference with user viewing. By determining the initial and target filling positions, the watermark becomes dynamic, changing its filling logic for different videos, frames, and watermark content, increasing the difficulty of removing copyright information watermarks. A proprietary image-based content filling technology is used to add a hidden blind watermark in the high-frequency region blocks, which is imperceptible to the human eye. Adding blind watermarks to sensitive high-frequency regions avoids significant interference with video viewing while ensuring the video contains reversibly parsable copyright tracking information for monitoring and tracking copyright infringement. By calculating inter-frame offset transformations, watermarking is added to B and P frames within a GOP, reducing computational complexity during addition and parsing, thus improving efficiency. Dynamically adjusting the density of blind watermark additions ensures a certain amount of watermark in each GOP, while maintaining variation between frames and avoiding excessive concentration, thus increasing the difficulty of cracking and removing the watermark.
[0129] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.
[0130] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0131] Additionally, as used herein, the "or" used in a list of items beginning with "at least one" indicates a separate list, such that a list of, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not imply that the described example is preferred or better than other examples.
[0132] It should also be noted that in the systems and methods of this disclosure, the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions to this disclosure.
[0133] Various changes, substitutions, and modifications can be made to the technology described herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of this disclosure is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.
[0134] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.
[0135] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A method for adding a hidden blind watermark, characterized in that, include: Based on the original video and the hidden blind watermark content, the irradiation expansion size and filling interval length of the hidden blind watermark are obtained; Based on the original video, the hidden blind watermark, and the filling interval length, the target filling region of the hidden blind watermark is obtained from the high-frequency region of the video image I frame of the original video; Based on the irradiation expansion size, the filling interval length, and the target filling area, the hidden blind watermark is filled into the original video.
2. The method for adding a hidden blind watermark according to claim 1, characterized in that, The step of obtaining the irradiation expansion size and fill interval length of the hidden blind watermark based on the original video and the hidden blind watermark content includes: Based on the video resolution of the original video and the content of the hidden blind watermark, the first length of the hidden blind watermark is obtained; The original video image I-frame is segmented into blocks to obtain the color channel throughput ratio value corresponding to the video image I-frame; Based on the color channel throughput ratio and the first length, the width of the hidden blind watermark and the second length of the hidden blind watermark that matches the width are obtained; The irradiation expansion dimension is obtained based on the width and the second length; The filling interval length is obtained based on the irradiation expansion size.
3. The method for adding a hidden blind watermark according to claim 2, characterized in that, The step of obtaining the target filling region of the hidden blind watermark from the high-frequency region of the I-frame of the original video image based on the original video, the hidden blind watermark, and the filling interval length includes: The original video image I-frame is segmented into blocks to obtain the first spatial distribution features of the low-frequency blocks and the second spatial distribution features of the high-frequency blocks of the video image I-frame. Based on the first spatial distribution features and the second spatial distribution features, the starting filling position of the hidden blind watermark in the I-frame of the video image is determined; Based on the second spatial distribution characteristics, the starting filling position, the second length of the hidden blind watermark, and the filling interval length, the target filling region in the video image I-frame is determined.
4. The method for adding a hidden blind watermark according to claim 3, characterized in that, The step of filling the original video with the hidden blind watermark based on the irradiation expansion size, the fill interval length, and the target fill area includes: Obtain the color channel depth matrix of the target block corresponding to the target filling region in the I-frame of the video image; Based on the color channel depth matrix, the irradiation expansion size, and the fill interval length, the frequency of the original color channels of the target block is adjusted to obtain the adjusted color channel frequency. Based on the adjusted color channel frequency, the hidden blind watermark is filled into the video image I-frame of the original video.
5. The method for adding a hidden blind watermark according to claim 4, characterized in that, The step of filling the original video with the hidden blind watermark based on the irradiation expansion size and the target filling region further includes: Obtain the offsets of video image B-frame and video image P-frame relative to the target filling region in the video image I-frame; Obtain the offset transformation information within the target filling region in the I-frame of the video image; Based on the offset conversion information and the offset amount, the hidden blind watermark is filled into the B frame and P frame of the video image.
6. The method for adding a hidden blind watermark according to claim 5, characterized in that, The step of filling the hidden blind watermark into the B-frame and P-frame of the video image based on the offset conversion information and the offset amount includes: Based on the irradiation expansion size, the video resolution of the original video, and the minimum watermark density coefficient, the watermark density control parameters are determined. Based on the watermark density control parameters, the offset conversion information, and the offset amount, the hidden blind watermark is filled into the B-frame and P-frame of the video image.
7. A device for adding a hidden blind watermark, characterized in that, include: The first acquisition module is configured to acquire the irradiation expansion size and filling interval length of the hidden blind watermark based on the original video and the hidden blind watermark content. The second acquisition module is configured to acquire the target filling region of the hidden blind watermark from the high-frequency region of the video image I frame of the original video based on the original video, the filling interval length, and the filling interval length. The watermarking module is configured to fill the original video with the hidden blind watermark based on the irradiation expansion size and the target filling area.
8. An electronic device, characterized in that, include: Memory, used to store computer-readable instructions; as well as A processor for executing the computer-readable instructions, causing the electronic device to perform the hidden blind watermarking method as described in any one of claims 1-6.
9. A non-transitory computer-readable storage medium for storing computer-readable instructions, characterized in that, When the computer-readable instructions are executed by a processor, the processor performs the hidden blind watermarking method as described in any one of claims 1-6.
10. A computer program product, characterized in that, The method includes a computer program that, when executed by a processor, implements the method for adding a hidden blind watermark as described in any one of claims 1-6.