Video processing method and device, computer equipment and storage medium
By preprocessing, wavelet decomposition and feature extraction of video data in the digital medical and financial fields, combining visual sensitivity and watermark embedding intensity, high-quality watermark embedding is achieved, solving the problem of image quality decline caused by traditional methods, and improving image management efficiency and diagnostic reliability.
Patent Information
- Application Number
- CN202411626665.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-13
AI Technical Summary
In the field of digital health and finance, traditional watermark embedding methods often cause certain distortion to the original image, resulting in a decline in image quality and affecting key links such as disease diagnosis, treatment and insurance compensation.
By obtaining the video data to be processed, pre-processing and three-layer wavelet decomposition processing, the watermark embedding position information is obtained; combining visual sensitivity and feature extraction, the video area is divided and the watermark embedding intensity is determined, and the watermark embedding is carried out to ensure that the image quality is not damaged.
It achieves the maximization of watermark embedding capacity while ensuring the unchanged image quality, improves the storage and management efficiency of images, and provides a more reliable basis for the accurate diagnosis of diseases and insurance compensation.
Smart Images

Figure CN119629436A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, specifically to the field of digital medicine, and in particular to a video processing method, apparatus, computer equipment and storage medium. Background Art
[0002] In the digital medical or financial fields, the archiving and management of images are gaining increasing attention. In order to ensure the authenticity and integrity of images and prevent them from being illegally tampered with or abused, a common method is to embed watermarks in images. This watermark technology can not only help identify the authenticity of images, but also trace the source and circulation process of images, providing strong protection for the privacy and security of images.
[0003] However, traditional watermark embedding methods often cause certain distortion to the original image, which may affect key links such as disease diagnosis, treatment and insurance payment. Therefore, any technology that may damage the image quality needs to be used with caution.
[0004] How to maximize the watermark embedding capacity while ensuring the losslessness of the image has become a technical problem that needs to be solved in the current digital medical and financial fields. Solving this problem can not only improve the storage and management efficiency of images, but also provide a more reliable basis for accurate diagnosis, treatment and insurance claims of diseases. In the future, with the continuous advancement of technology, I believe this problem will be solved more effectively. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a video processing method, apparatus, computer equipment and storage medium to solve the problem that watermark information cannot be embedded in the initial video data to obtain high-quality effective video data.
[0006] In order to solve the above technical problems, the embodiment of the present application provides a video processing method, which adopts the following technical solution:
[0007] Acquire the video data to be processed, and preprocess the video data to be processed to obtain initial video data;
[0008] Performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information;
[0009] Calculating visual sensitivity of the initial video data, and dividing the initial video data into regions according to the visual sensitivity to obtain video region information;
[0010] Performing feature extraction and feature fusion on the initial video data to obtain comprehensive video features;
[0011] Acquire preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information;
[0012] The watermark embedding strength is determined according to the video area information, and the initial video data is watermarked according to the comprehensive characteristics of the video, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data.
[0013] Furthermore, the step of performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information specifically includes:
[0014] Performing three-layer wavelet analysis on the initial video data to obtain a low-frequency sub-band, a medium-frequency sub-band, and a high-frequency sub-band;
[0015] Performing energy distribution calculation on the low frequency sub-band, the intermediate frequency sub-band, and the high frequency sub-band respectively to obtain sub-band energy distribution information;
[0016] The watermark embedding position information is generated according to the sub-band energy distribution information.
[0017] Furthermore, the video region information includes a complex video region and a smooth video region, and the step of calculating the visual sensitivity of the initial video data and dividing the initial video data into regions according to the visual sensitivity to obtain the video region information specifically includes:
[0018] Dividing the initial video data into image frames to obtain video image blocks;
[0019] Calculating a variance value of the video image block, and using the variance value as a visual sensitivity index of the video image block;
[0020] Determining whether the video sensitivity index is greater than or equal to a preset sensitivity threshold;
[0021] If the video sensitivity index is greater than or equal to the preset sensitivity threshold, marking the video image block as the video complex area;
[0022] If the video sensitivity index is less than the preset sensitivity threshold, the video image block is marked as the video smooth area.
[0023] Furthermore, the step of extracting and fusing features of the initial video data to obtain comprehensive video features specifically includes:
[0024] Extracting features from the initial video data based on a preset Sobel operator to obtain video edge features;
[0025] Performing feature extraction on the initial video data based on preset gray-level co-occurrence matrix parameters to obtain video texture features;
[0026] The video edge feature and the video texture feature are fused to obtain the video comprehensive feature.
[0027] Furthermore, the step of obtaining preset watermark information according to the initial video data and encrypting the preset watermark information to obtain encrypted watermark information specifically includes:
[0028] Obtaining a video data identifier corresponding to the initial video data, and extracting the preset watermark information from a database according to the video data identifier;
[0029] Performing binary encoding processing on the preset watermark information to obtain encoded watermark information;
[0030] The encoded watermark information is encrypted according to a preset symmetric encryption algorithm to obtain the encrypted watermark information.
[0031] Furthermore, the video region information includes a complex video region and a smooth video region, and the step of determining the watermark embedding strength according to the video region information, and embedding the watermark into the initial video data according to the comprehensive video features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain the effective video data specifically includes:
[0032] Identify whether the video region information is a complex video region or a smooth video region;
[0033] If the video region information is a complex video region, the watermark embedding strength is determined as a first watermark embedding strength, and a first embedding strength coefficient is extracted according to the first watermark embedding strength, the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the first embedding strength coefficient are combined to obtain first combined watermark information, and the initial video data is watermarked according to the first combined watermark information to obtain the valid video data;
[0034] If the video area information is a video smooth area, the watermark embedding strength is determined to be a second watermark embedding strength, and a second embedding strength coefficient is extracted based on the second watermark embedding strength. The video comprehensive characteristics, the encrypted watermark information, the watermark embedding position information, and the second embedding strength coefficient are combined to obtain second combined watermark information. The initial video data is watermarked according to the second combined watermark information to obtain the valid video data.
[0035] Furthermore, after the step of determining the watermark embedding strength according to the video area information, and embedding the watermark into the initial video data according to the comprehensive video features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data, the following steps are also included:
[0036] Performing peak signal-to-noise ratio calculation on the initial video data and the effective video data to obtain a video signal-to-noise ratio;
[0037] Determining whether the video signal-to-noise ratio is greater than or equal to a preset signal-to-noise ratio threshold;
[0038] If the video signal-to-noise ratio is greater than or equal to the preset signal-to-noise ratio threshold, it is determined that the video quality of the valid video data is qualified.
[0039] In order to solve the above technical problems, the embodiment of the present application further provides a video processing device, which adopts the following technical solution:
[0040] The video processing module is used to obtain the video data to be processed, pre-process the video data to be processed, and obtain the initial video data;
[0041] A video decomposition module, used for performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information;
[0042] A region division module, used for calculating visual sensitivity of the initial video data, and dividing the initial video data into regions according to the visual sensitivity to obtain video region information;
[0043] A feature acquisition module, used to extract and fuse features of the initial video data to obtain comprehensive video features;
[0044] A watermark acquisition module, used to acquire preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information;
[0045] The watermark embedding module is used to determine the watermark embedding strength according to the video area information, and to embed the watermark into the initial video data according to the comprehensive characteristics of the video, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data.
[0046] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0047] A computer device comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of any one of the above video processing methods when executing the computer-readable instructions.
[0048] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0049] A computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the video processing method described in any one of the above items are implemented.
[0050] Compared with the prior art, the embodiment of the present application has the following beneficial effects: the embodiment obtains the video data to be processed, pre-processes the video data to be processed, and obtains the initial video data; performs three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; performs visual sensitivity calculation on the initial video data, and divides the initial video data into regions according to the visual sensitivity to obtain video region information; performs feature extraction and feature fusion on the initial video data to obtain video comprehensive features; obtains preset watermark information according to the initial video data, and encrypts the preset watermark information to obtain encrypted watermark information; determines the watermark embedding strength according to the video region information, and embeds the watermark into the initial video data according to the video comprehensive features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data. Thus, the watermark information embedding of the initial video data is effectively realized to obtain high-quality effective video data. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0053] Figure 2 A flowchart of an embodiment of a video processing method according to the present application;
[0054] Figure 3 yes Figure 2 A flowchart of a specific implementation of step S20;
[0055] Figure 4yes Figure 2 A flowchart of a specific implementation of step S30;
[0056] Figure 5 yes Figure 2 A flowchart of a specific implementation of step S40;
[0057] Figure 6 yes Figure 2 A flowchart of a specific implementation of step S50;
[0058] Figure 7 yes Figure 2 A flowchart of a specific implementation of step S60;
[0059] Figure 8 is a structural schematic diagram of an embodiment of a video processing device according to the present application;
[0060] Fig. 9 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor does it refer to non-related or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0063] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0064] like Figure 1As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables.
[0065] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0066] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to a laptop computer 1011, a tablet computer 1012 or a mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.
[0067] The server 103 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal device 101 .
[0068] It should be noted that the video processing method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the video processing device is generally arranged in the server / terminal device.
[0069] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0070] Continue to refer Figure 2 , shows a flow chart of an embodiment of a method for video processing according to the present application. The video processing method comprises the following steps:
[0071] Step S10, obtaining the video data to be processed, and preprocessing the video data to be processed to obtain initial video data;
[0072] In this embodiment, the video data extraction identifier corresponding to the video data to be processed can be obtained by traversing and querying in the database to obtain the corresponding video data to be processed, wherein the video data extraction identifier is the unique identification information corresponding to the video data to be processed. Preprocessing includes denoising, contrast enhancement, brightness adjustment, etc., wherein denoising can be performed on the video data to be processed by median filtering, Gaussian filtering and other technologies, contrast enhancement can be achieved by linear change, and brightness adjustment can be achieved by image processing tools or by directly adjusting the grayscale value.
[0073] Step S20, performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information;
[0074] In this embodiment, three-layer wavelet decomposition is a signal processing technology that uses wavelet function as basis function to decompose the signal into a series of wavelet coefficients. The wavelet coefficients reflect the characteristics of the signal at different frequencies and time scales. The three-layer wavelet decomposition decomposes the initial video data into multiple sub-bands of different frequencies by performing three wavelet transforms on the signal of the initial video data, and then effectively determines the energy distribution of the initial video data based on these sub-bands of different frequencies, and then determines the watermark embedding position information for watermark embedding based on the energy distribution.
[0075] Step S30, calculating visual sensitivity of the initial video data, and dividing the initial video data into regions according to the visual sensitivity to obtain video region information;
[0076] In this embodiment, visual sensitivity refers to the variance value between video image blocks of the initial video data, and the variance value reflects the degree of difference between the video image blocks in terms of pixel value or brightness, etc. In this embodiment, the clarity, contrast, and stability of image quality of the video are evaluated based on the degree of difference, so as to effectively divide the image area of the initial video data and obtain video area information.
[0077] Step S40, extracting and fusing features of the initial video data to obtain comprehensive video features;
[0078] In this embodiment, the video comprehensive feature is a feature fused based on the video edge feature and the video texture feature, the video edge feature is a feature extracted from the initial video data based on the preset Sobel operator parameters, and the video texture feature is a feature extracted from the initial video data based on the preset gray-level co-occurrence matrix parameters. Among them, the preset Sobel operator parameters are parameter information of the Sobel operator, and the Sobel operator is an edge detection algorithm, through which the edge detection algorithm is used to effectively extract edge features from the initial video data. The gray-level co-occurrence matrix is a texture analysis method, through which the texture analysis method is used to effectively extract texture features from the initial video data.
[0079] Step S50, obtaining preset watermark information according to the initial video data, and encrypting the preset watermark information to obtain encrypted watermark information;
[0080] In this embodiment, the initial video data may be medical image data, and the preset watermark information is information pre-set according to the medical image data. The preset watermark information includes the model of the medical image shooting device, the shooting date and time, the patient identification number, etc. The preset watermark information can be extracted from the database through the image identification corresponding to the medical image data. The encryption of the preset watermark information can be achieved through a symmetric encryption algorithm. The symmetric encryption algorithm is an algorithm that uses the same key for encryption and decryption. In the symmetric encryption algorithm, the encryption and decryption processes use the same key, and the encryption and decryption are performed through forward and reverse algorithms.
[0081] Step S60, determining the watermark embedding strength according to the video area information, and embedding the watermark into the initial video data according to the comprehensive video characteristics, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data.
[0082] In this embodiment, the watermark embedding strength refers to the size or strength of the digital watermark image contained in the target image (or digital media such as video and audio) embedded with the watermark in the digital watermark system. The video region information includes the video complex region and the video smooth region. Different watermark embedding strengths are set for the video complex region and the video smooth region, respectively. The video complex region corresponds to a stronger watermark embedding strength, and the video smooth region corresponds to a weaker watermark embedding strength. The combined watermark information is obtained by combining the video comprehensive features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength, and then the combined watermark information is used to embed the watermark into the initial video data, thereby obtaining effective video data.
[0083] In this embodiment, the above method can be applied to a medical service system, in which a watermark is embedded in the medical video to be processed, thereby realizing video tamper-proof and traceability. Specifically, in this embodiment, the medical service system can be one or more of a medical insurance system and a disease insurance system, the video data to be processed is a medical image video collected by a mobile device or an image acquisition device, the video data to be processed is stored in the medical insurance system and the disease insurance system and is obtained from the database of the above system, and the valid video data is generated by the above system through the method of this embodiment and stored in the system database for preservation.
[0084] This embodiment obtains the video data to be processed, pre-processes the video data to be processed, and obtains the initial video data; performs three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; performs visual sensitivity calculation on the initial video data, and divides the initial video data into regions according to the visual sensitivity to obtain video region information; performs feature extraction and feature fusion on the initial video data to obtain video comprehensive features; obtains preset watermark information according to the initial video data, and encrypts the preset watermark information to obtain encrypted watermark information; determines the watermark embedding strength according to the video region information, and embeds the watermark into the initial video data according to the video comprehensive features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data. Thus, the watermark information embedding of the initial video data is effectively realized to obtain high-quality effective video data.
[0085] refer to Figure 3 In some optional implementations of this embodiment, step S20 includes the following steps:
[0086] Step S201, performing three-layer wavelet analysis on the initial video data to obtain a low-frequency sub-band, a medium-frequency sub-band, and a high-frequency sub-band;
[0087] In this embodiment, wavelet analysis is a signal processing method for decomposing a video signal corresponding to the initial video data into different frequency components, namely, a low-frequency sub-band, an intermediate-frequency sub-band, and a high-frequency sub-band. Among them, the low-frequency sub-band contains the main structural information of the initial video data image, such as edges and contours, and is the main energy of the initial video data image, the intermediate-frequency sub-band contains the detail information of the initial video data image, and the high-frequency sub-band contains the noise and tiny details of the initial video data image.
[0088] Step S202, respectively performing energy distribution calculation on the low frequency sub-band, the intermediate frequency sub-band, and the high frequency sub-band to obtain sub-band energy distribution information;
[0089] In this embodiment, energy distribution refers to the distribution of energy in different frequency sub-bands, which can be achieved by calculating the sum of squares of pixel values in each sub-band (or other similar metrics). The energy distribution information of each sub-band is used to describe the relative intensity of energy in different frequency components of the image of the initial video data.
[0090] Step S203: Generate the watermark embedding position information according to the sub-band energy distribution information.
[0091] In this embodiment, the watermark embedding position information is generated according to the sub-band energy distribution information by selecting a region with lower or medium energy to embed the watermark. In this embodiment, a region with medium energy is selected as an optional region for the watermark embedding position according to the sub-band energy distribution information. The optional region for the watermark embedding position is the watermark embedding position information.
[0092] This embodiment performs three-layer wavelet analysis on the initial video data to obtain low-frequency sub-band, medium-frequency sub-band, and high-frequency sub-band; respectively performs energy distribution calculation on the low-frequency sub-band, the medium-frequency sub-band, and the high-frequency sub-band to obtain sub-band energy distribution information; and generates the watermark embedding position information according to the sub-band energy distribution information. Thus, the appropriate watermark embedding position is effectively determined according to the energy distribution of the initial video data, so as to facilitate the subsequent corresponding watermark embedding according to the watermark embedding position information.
[0093] refer to Figure 4 In some optional implementations of this embodiment, step S30 includes the following steps:
[0094] Step S301, dividing the initial video data into image frames to obtain video image blocks;
[0095] In this embodiment, the initial video data is subjected to frame processing to obtain corresponding image frames, and then the image frames are divided into image blocks to obtain video image blocks. The frame processing can be performed by reading the frame rate of the video (the number of frames displayed per second), and then decomposing the continuous initial video data to obtain separate image frames. For the image block division of the image frame, the image frame can be divided according to a preset image block size, and the preset image block size can be set according to the watermark size in the preset watermark information. For example, the preset image block size can be set to 1.5 times the preset watermark size to reserve enough space for watermark setting.
[0096] Step S302, calculating the variance value of the video image block, and using the variance value as a visual sensitivity index of the video image block;
[0097] In this embodiment, the step of calculating the variance value for the video image block includes: calculating the average value of the pixel values of each video image block, calculating the difference between the pixel value of each pixel in the video image block and the average value, adding the average value differences of all video image blocks, and then dividing by the number of pixels in the video image block to obtain the variance value of the video image block.
[0098] Step S303, determining whether the video sensitivity index is greater than or equal to a preset sensitivity threshold;
[0099] In this embodiment, the video sensitivity index corresponds to a preset sensitivity threshold. The video sensitivity index is the variance value of the video image block. The unit of the video sensitivity index is pixel value, and the unit of the preset sensitivity threshold is also pixel value. By comparing the video sensitivity index with the preset sensitivity threshold, it is possible to effectively determine whether the video sensitivity index is greater than or equal to the preset sensitivity threshold.
[0100] Step S304: if the video sensitivity index is greater than or equal to the preset sensitivity threshold, marking the video image block as the video complex area;
[0101] In this embodiment, a specific mark (such as "1" or "complex") can be added to a video image block whose video sensitivity index is greater than or equal to a preset sensitivity threshold, so that it can be marked as a video complex area.
[0102] Step S305: if the video sensitivity index is less than the preset sensitivity threshold, the video image block is marked as the video smoothing area.
[0103] In this embodiment, a specific mark (such as "0" or "smooth") can be added to a video image block whose video sensitivity index is less than a preset sensitivity threshold, so that it is marked as a video smooth area.
[0104] This embodiment divides the initial video data into image frames to obtain video image blocks; calculates the variance value of the video image blocks and uses the variance value as the visual sensitivity index of the video image blocks; determines whether the video sensitivity index is greater than or equal to a preset sensitivity threshold; if the video sensitivity index is greater than or equal to the preset sensitivity threshold, the video image block is marked as the video complex area; if the video sensitivity index is less than the preset sensitivity threshold, the video image block is marked as the video smooth area. Thus, the image frames of the initial video data are effectively divided into regions, so as to facilitate the corresponding watermark embedding strength control for different video regions of each frame.
[0105] refer to Figure 5 In some optional implementations of this embodiment, step S40 includes the following steps:
[0106] Step S401, extracting features from the initial video data based on a preset Sobel operator to obtain video edge features;
[0107] In this embodiment, the Sobel operator is a discrete differential operator for edge detection, which combines Gaussian smoothing and differential derivation. The step of extracting features from the initial video data based on the preset Sobel operator includes: applying the horizontal and vertical templates of the Sobel operator to each frame of the initial video data for convolution operations, calculating the gradient amplitude and gradient direction of each pixel point, determining the edge points in the image according to the size of the gradient amplitude, and generating an edge feature map. The edge features of the video are extracted from the edge feature map, and the edge features can be represented as information such as the position, intensity or direction of the edge points.
[0108] Step S402, extracting features from the initial video data based on preset gray-level co-occurrence matrix parameters to obtain video texture features;
[0109] In this embodiment, the gray level co-occurrence matrix is a statistical method for describing the spatial relationship between the gray levels of an image. The gray level co-occurrence matrix reflects the texture characteristics of the image by analyzing the gray level relationship between the pixel pairs in the image. The step of extracting features from the initial video data based on the preset gray level co-occurrence matrix parameters includes: for each frame of the initial video data, the gray level co-occurrence matrix is calculated. By setting the parameters of the gray level co-occurrence matrix, such as the distance, angle and number of gray levels, a variety of texture features such as contrast, energy, homogeneity (uniformity) and correlation can be extracted from the gray level co-occurrence matrix to obtain video texture features reflecting the coarseness, brightness, uniformity and directionality of the texture in the image of the initial video data.
[0110] Step S403: Fusing the video edge feature and the video texture feature to obtain the video comprehensive feature.
[0111] In this embodiment, the video edge features and the video texture features are fused by feature splicing to obtain a video comprehensive feature that includes both the video edge features of the video edge information and the video texture features of the video texture information.
[0112] This embodiment obtains video edge features by extracting features from the initial video data based on a preset Sobel operator; obtains video texture features by extracting features from the initial video data based on preset gray-level co-occurrence matrix parameters; and fuses the video edge features and the video texture features to effectively obtain comprehensive video features that characterize the characteristics of the initial video data, so as to facilitate subsequent watermark embedding processing.
[0113] Continue to refer Figure 6In some optional implementations of this embodiment, step S50 includes the following steps:
[0114] Step S501, obtaining a video data identifier corresponding to the initial video data, and extracting the preset watermark information from a database according to the video data identifier;
[0115] In this embodiment, the video data identifier may be a video number or a video category of the initial video data, and a matching query is performed in the database according to the video number to obtain the corresponding preset watermark information.
[0116] Step S502, performing binary encoding processing on the preset watermark information to obtain encoded watermark information;
[0117] In this embodiment, the preset watermark information includes the model of the medical imaging device, the shooting date and time, and the patient identification number. The preset watermark information is binary-coded to obtain a binary code including the model of the medical imaging device, the shooting date and time, and the patient identification number. The binary code is the coded watermark information.
[0118] Step S503: encrypt the encoded watermark information according to a preset symmetric encryption algorithm to obtain the encrypted watermark information.
[0119] In this embodiment, the symmetric encryption algorithm adopts AES (Advanced Encryption Standard), and the coded watermark information is encrypted by AES. The AES encryption process includes multiple rounds of nonlinear transformation and key expansion. The nonlinear transformation includes byte replacement, row shift, column mixing, and round key addition. Among them, byte replacement is the only nonlinear transformation step in the AES encryption process. Each byte in the state matrix is mapped to another byte through a nonlinear replacement function (i.e., S box). Row shift is a permutation operation between bytes within a 4×4 state matrix, which is used to provide the diffusion of the algorithm. Column mixing is an operation of linearly transforming each column in the state matrix using arithmetic properties on the GF (2^8) field. Round key addition is a process of performing bit-by-bit XOR operations on the key matrix of each round and the data in the state matrix. The coded watermark information is processed by the above-mentioned symmetric encryption algorithm to obtain the encrypted encrypted watermark information. In this embodiment, when the watermark of the effective video data is subsequently removed, the decryption operation can be performed by the secret key of the symmetric encryption algorithm to effectively decrypt the encrypted watermark information.
[0120] This embodiment obtains the video data identifier corresponding to the initial video data, extracts the preset watermark information from the database according to the video data identifier; performs binary encoding on the preset watermark information to obtain encoded watermark information; encrypts the encoded watermark information according to a preset symmetric encryption algorithm, thereby effectively obtaining encrypted watermark information that has been effectively encrypted, so as to effectively improve the security of the video data after the watermark is embedded.
[0121] Continue to refer Figure 7 In some optional implementations of this embodiment, step S60 includes the following steps:
[0122] Step S601, identifying whether the video region information is a complex video region or a smooth video region;
[0123] In this embodiment, the area mark corresponding to the video area information is identified to determine whether the area is a complex video area or a smooth video area. For example, when the video area information is marked as "1" or "complex", the corresponding area is judged as a complex video area; when the video area information is marked as "0" or "smooth", the corresponding area is judged as a smooth video area.
[0124] Step S602: if the video region information is a complex video region, the watermark embedding strength is determined as a first watermark embedding strength, and a first embedding strength coefficient is extracted according to the first watermark embedding strength, the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the first embedding strength coefficient are combined to obtain first combined watermark information, and the initial video data is watermarked according to the first combined watermark information to obtain the valid video data;
[0125] In this embodiment, the first watermark embedding strength is a lower degree of watermark embedding. The first watermark embedding strength corresponds to a first embedding strength coefficient. The first embedding strength coefficient can be a numerical value used to adjust the "strength" of watermark embedding. The encrypted watermark information is guided to embed the watermark according to the first embedding strength coefficient. The video comprehensive feature is used to ensure that the embedding of the watermark is adapted to the video content, improve the robustness and invisibility of the watermark, and the encrypted watermark information can effectively protect the security of the watermark information during the embedding and transmission process. The watermark embedding position information is used to indicate the position of the watermark embedding in the initial video data. The first embedding strength coefficient is used to adjust the amplitude or strength of the watermark embedding to ensure the balance between the invisibility and robustness of the watermark. By combining the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the first embedding strength coefficient, the first combined watermark information is effectively obtained. The initial video data is watermarked according to the first combined watermark information to obtain effective video data.
[0126] Step S603: If the video area information is a video smooth area, the watermark embedding strength is determined as the second watermark embedding strength, and a second embedding strength coefficient is extracted according to the second watermark embedding strength, the video comprehensive characteristics, the encrypted watermark information, the watermark embedding position information, and the second embedding strength coefficient are combined to obtain the second combined watermark information, and the initial video data is watermarked according to the second combined watermark information to obtain the valid video data.
[0127] In this embodiment, the second watermark embedding strength is a lower degree of watermark embedding. The second watermark embedding strength corresponds to a second embedding strength coefficient. The second embedding strength coefficient can be a numerical value used to adjust the "strength" of watermark embedding. The encrypted watermark information is guided to embed the watermark according to the second embedding strength coefficient. The video comprehensive feature is used to ensure that the embedding of the watermark is adapted to the video content, improve the robustness and invisibility of the watermark, and the encrypted watermark information can effectively protect the security of the watermark information during the embedding and transmission process. The watermark embedding position information is used to indicate the position of the watermark embedding in the initial video data. The second embedding strength coefficient is used to adjust the amplitude or strength of the watermark embedding to ensure the balance between the invisibility and robustness of the watermark. By combining the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the second embedding strength coefficient, the second combined watermark information is effectively obtained. The initial video data is watermarked according to the second combined watermark information to obtain effective video data.
[0128] This embodiment identifies whether the video region information is a complex video region or a smooth video region; if the video region information is a complex video region, the watermark embedding strength is determined as the first watermark embedding strength, and the first embedding strength coefficient is extracted according to the first watermark embedding strength, the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the first embedding strength coefficient are combined to obtain the first combined watermark information, and the initial video data is watermarked according to the first combined watermark information to obtain the effective video data; if the video region information is a smooth video region, the watermark embedding strength is determined as the second watermark embedding strength, and the second embedding strength coefficient is extracted according to the second watermark embedding strength, the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the second embedding strength coefficient are combined to obtain the second combined watermark information, and the initial video data is watermarked according to the second combined watermark information to obtain the effective video data. Thus, the initial video data is quickly and effectively watermarked, so as to obtain effective video data with high security and high video quality.
[0129] In some optional implementations of this embodiment, after step S60, the following steps are further included:
[0130] Performing peak signal-to-noise ratio calculation on the initial video data and the effective video data to obtain a video signal-to-noise ratio;
[0131] In this embodiment, the initial video data and the effective video data can be compared and calculated by the peak signal-to-noise ratio calculation formula to obtain the video signal-to-noise ratio. For the selected video frame, the square of the difference between each pixel value is calculated, and then the mean square error (MSE) is obtained. Then the peak pixel value (MAX) of the initial video data and the effective video data is calculated, and the peak signal-to-noise ratio is calculated based on the military error and the peak pixel value. The peak signal-to-noise ratio calculation formula is:
[0132]
[0133] Wherein, PSNR is the peak signal-to-noise ratio, MAX is the maximum peak value of pixels in the initial video data and the effective video data, and MSE is the average of the square of the pixel value difference between the initial video data and the effective video data. The peak signal-to-noise ratio calculated by the above peak signal-to-noise ratio calculation formula is the video signal-to-noise ratio.
[0134] Determining whether the video signal-to-noise ratio is greater than or equal to a preset signal-to-noise ratio threshold;
[0135] In this embodiment, by comparing the video signal-to-noise ratio with the preset signal-to-noise ratio threshold, it is effectively determined whether the video signal-to-noise ratio is greater than or equal to the preset signal-to-noise ratio threshold. In this embodiment, the preset signal-to-noise ratio threshold is initially set to 40 decibels, and can be set and adjusted accordingly according to actual conditions.
[0136] If the video signal-to-noise ratio is greater than or equal to the preset signal-to-noise ratio threshold, it is determined that the video quality of the valid video data is qualified.
[0137] In this embodiment, the valid video data may be determined to have qualified video quality by adding a mark corresponding to qualified video quality to the valid video data.
[0138] If the video signal-to-noise ratio is less than the preset signal-to-noise ratio threshold, it is determined that the video quality of the valid video data is unqualified, and the video comprehensive features are reacquired, and the valid video data is generated according to the newly acquired video comprehensive features, and the iterative steps of valid video generation are continuously repeated until the video signal-to-noise ratio of the newly generated valid video data is greater than or equal to the preset signal-to-noise ratio threshold.
[0139] In this embodiment, the valid video data may be determined as having unqualified video quality by adding a mark corresponding to unqualified video quality to the valid video data.
[0140] This embodiment calculates the peak signal-to-noise ratio of the initial video data and the effective video data to obtain the video signal-to-noise ratio; determines whether the video signal-to-noise ratio is greater than or equal to the preset signal-to-noise ratio threshold; if the video signal-to-noise ratio is greater than or equal to the preset signal-to-noise ratio threshold, determines that the video quality of the effective video data is qualified. If the video signal-to-noise ratio is less than the preset signal-to-noise ratio threshold, determines that the video quality of the effective video data is unqualified, and re-acquires the video comprehensive features, and generates the effective video data according to the newly acquired video comprehensive features, and repeats the iterative steps of effective video generation until the video signal-to-noise ratio of the newly generated effective video data is greater than or equal to the preset signal-to-noise ratio threshold. Thus, the video quality of the effective video data is effectively guaranteed.
[0141] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0142] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0143] Further references Figure 8 , as a response to the above Figure 1 The present application provides an embodiment of a video processing device, and the device embodiment is Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0144] like Figure 8As shown, the video processing device 700 described in this embodiment includes: a video processing module 701, a video decomposition module 702, a region division module 703, a feature acquisition module 704, a watermark acquisition module 705, and a watermark embedding module 706. Among them:
[0145] The video processing module 701 is used to obtain the video data to be processed, and pre-process the video data to be processed to obtain initial video data;
[0146] The video decomposition module 702 is used to perform three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information;
[0147] A region division module 703 is used to calculate the visual sensitivity of the initial video data, and divide the initial video data into regions according to the visual sensitivity to obtain video region information;
[0148] The feature acquisition module 704 is used to extract and fuse features of the initial video data to obtain comprehensive video features;
[0149] The watermark acquisition module 705 is used to acquire preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information;
[0150] The watermark embedding module 706 is used to determine the watermark embedding strength according to the video area information, and embed the watermark into the initial video data according to the comprehensive characteristics of the video, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data.
[0151] By adopting the above-mentioned video processing device, this embodiment can obtain the video data to be processed, pre-process the video data to be processed, and obtain the initial video data; perform three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; perform visual sensitivity calculation on the initial video data, and divide the initial video data into regions according to the visual sensitivity to obtain video region information; perform feature extraction and feature fusion on the initial video data to obtain video comprehensive features; obtain preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information; determine the watermark embedding strength according to the video region information, and embed the watermark into the initial video data according to the video comprehensive features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data. Thus, the watermark information embedding of the initial video data is effectively realized to obtain high-quality effective video data.
[0152] To solve the above technical problems, the present application also provides a computer device. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.
[0153] The computer device 8 includes a memory 81, a processor 82, and a network interface 83 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 8 with components 81-83, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0154] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0155] The memory 81 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 81 can be an internal storage unit of the computer device 8, such as a hard disk or memory of the computer device 8. In other embodiments, the memory 81 can also be an external storage device of the computer device 8, such as a plug-in hard disk equipped on the computer device 8, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 81 can also include both the internal storage unit of the computer device 8 and its external storage device. In this embodiment, the memory 81 is generally used to store the operating system and various application software installed on the computer device 8, such as computer-readable instructions of the video processing method, etc. In addition, the memory 81 can also be used to temporarily store various types of data that have been output or are to be output.
[0156] The processor 82 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 82 is generally used to control the overall operation of the computer device 8. In this embodiment, the processor 82 is used to run computer-readable instructions stored in the memory 81 or process data, such as computer-readable instructions for running the video processing method.
[0157] The network interface 83 may include a wireless network interface or a wired network interface. The network interface 83 is generally used to establish a communication connection between the computer device 8 and other electronic devices.
[0158] By adopting the above-mentioned computer device, this embodiment can obtain the video data to be processed, pre-process the video data to be processed, and obtain the initial video data; perform three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; perform visual sensitivity calculation on the initial video data, and divide the initial video data into regions according to the visual sensitivity to obtain video region information; perform feature extraction and feature fusion on the initial video data to obtain video comprehensive features; obtain preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information; determine the watermark embedding strength according to the video region information, and embed the watermark into the initial video data according to the video comprehensive features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data. Thus, the watermark information embedding of the initial video data is effectively realized to obtain high-quality effective video data.
[0159] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the video processing method as described above.
[0160] By adopting the above-mentioned computer-readable storage medium, this embodiment can obtain the video data to be processed, pre-process the video data to be processed, and obtain the initial video data; perform three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; perform visual sensitivity calculation on the initial video data, and divide the initial video data into regions according to the visual sensitivity to obtain video region information; perform feature extraction and feature fusion on the initial video data to obtain video comprehensive features; obtain preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information; determine the watermark embedding strength according to the video region information, and embed the watermark into the initial video data according to the video comprehensive features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data. Thus, the watermark information embedding of the initial video data is effectively realized to obtain high-quality effective video data.
[0161] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0162] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
[0163] The non-Company software tools or components appearing in the embodiments of this application are merely examples and do not represent actual use.
Claims
1. A video processing method, characterized in that: The steps include: Acquire the video data to be processed, and preprocess the video data to be processed to obtain initial video data; Performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; Calculating visual sensitivity of the initial video data, and dividing the initial video data into regions according to the visual sensitivity to obtain video region information; Performing feature extraction and feature fusion on the initial video data to obtain comprehensive video features; Acquire preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information; The watermark embedding strength is determined according to the video area information, and the initial video data is watermarked according to the comprehensive characteristics of the video, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data.
2. The video processing method according to claim 1, characterized in that: The step of performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information specifically includes: Performing three-layer wavelet analysis on the initial video data to obtain a low-frequency sub-band, a medium-frequency sub-band, and a high-frequency sub-band; Performing energy distribution calculation on the low frequency sub-band, the intermediate frequency sub-band, and the high frequency sub-band respectively to obtain sub-band energy distribution information; The watermark embedding position information is generated according to the sub-band energy distribution information.
3. The video processing method according to claim 1, characterized in that: The video region information includes a complex video region and a smooth video region. The step of calculating the visual sensitivity of the initial video data and dividing the initial video data into regions according to the visual sensitivity to obtain the video region information specifically includes: Dividing the initial video data into image frames to obtain video image blocks; Calculating a variance value of the video image block, and using the variance value as a visual sensitivity index of the video image block; Determining whether the video sensitivity index is greater than or equal to a preset sensitivity threshold; If the video sensitivity index is greater than or equal to the preset sensitivity threshold, marking the video image block as the video complex area; If the video sensitivity index is less than the preset sensitivity threshold, the video image block is marked as the video smooth area.
4. The video processing method according to claim 1, characterized in that: The step of extracting and fusing features from the initial video data to obtain comprehensive video features specifically includes: Extracting features from the initial video data based on a preset Sobel operator to obtain video edge features; Performing feature extraction on the initial video data based on preset gray-level co-occurrence matrix parameters to obtain video texture features; The video edge feature and the video texture feature are fused to obtain the video comprehensive feature.
5. The video processing method according to claim 1, characterized in that: The step of obtaining preset watermark information according to the initial video data and encrypting the preset watermark information to obtain encrypted watermark information specifically includes: Obtaining a video data identifier corresponding to the initial video data, and extracting the preset watermark information from a database according to the video data identifier; Performing binary encoding processing on the preset watermark information to obtain encoded watermark information; The encoded watermark information is encrypted according to a preset symmetric encryption algorithm to obtain the encrypted watermark information.
6. The video processing method according to claim 1, characterized in that: The video region information includes a complex video region and a smooth video region, and the step of determining the watermark embedding strength according to the video region information, and embedding the watermark into the initial video data according to the comprehensive video features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data specifically includes: Identify whether the video region information is a complex video region or a smooth video region; If the video region information is a complex video region, the watermark embedding strength is determined as a first watermark embedding strength, and a first embedding strength coefficient is extracted according to the first watermark embedding strength, the video comprehensive feature, the encrypted watermark information, the watermark embedding position information, and the first embedding strength coefficient are combined to obtain first combined watermark information, and the initial video data is watermarked according to the first combined watermark information to obtain the valid video data; If the video area information is a video smooth area, the watermark embedding strength is determined to be a second watermark embedding strength, and a second embedding strength coefficient is extracted based on the second watermark embedding strength. The video comprehensive characteristics, the encrypted watermark information, the watermark embedding position information, and the second embedding strength coefficient are combined to obtain second combined watermark information. The initial video data is watermarked according to the second combined watermark information to obtain the valid video data.
7. The video processing method according to claim 1, characterized in that: After the step of determining the watermark embedding strength according to the video area information, and embedding the watermark into the initial video data according to the comprehensive video features, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain valid video data, the following steps are also included: Performing peak signal-to-noise ratio calculation on the initial video data and the effective video data to obtain a video signal-to-noise ratio; Determining whether the video signal-to-noise ratio is greater than or equal to a preset signal-to-noise ratio threshold; If the video signal-to-noise ratio is greater than or equal to the preset signal-to-noise ratio threshold, it is determined that the video quality of the valid video data is qualified.
8. A video processing device, characterized in that: include: The video processing module is used to obtain the video data to be processed, pre-process the video data to be processed, and obtain the initial video data; A video decomposition module, used for performing three-layer wavelet decomposition processing on the initial video data to obtain watermark embedding position information; A region division module, used for calculating visual sensitivity of the initial video data, and dividing the initial video data into regions according to the visual sensitivity to obtain video region information; A feature acquisition module, used to extract and fuse features of the initial video data to obtain comprehensive video features; A watermark acquisition module, used to acquire preset watermark information according to the initial video data, and encrypt the preset watermark information to obtain encrypted watermark information; The watermark embedding module is used to determine the watermark embedding strength according to the video area information, and to embed the watermark into the initial video data according to the comprehensive characteristics of the video, the encrypted watermark information, the watermark embedding position information, and the watermark embedding strength to obtain effective video data.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the video processing method according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the video processing method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Wavelet transform and Arnold based adaptive gray-scale watermark embedded method
CN102142258A
Self-adaptive image watermarking method
CN111968024A
Video watermark processing method and device, electronic equipment and storage medium
CN117061768A
Video secret photographing and secret recording traceability method based on digital watermarking
CN118540555A
An adaptive watermarking system and method
EP2154649A1