Video source identification method based on adaptive bayesian threshold estimation and bivariate shrinkage
By employing adaptive Bayesian threshold estimation and bivariate shrinkage, high-quality sensor pattern noise is extracted from compressed videos, solving the problem of poor recognition performance in compressed videos in existing technologies and achieving more efficient video source recognition.
Patent Information
- Application Number
- CN202311268222.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-09-27
AI Technical Summary
Existing video source recognition methods struggle to effectively extract sensor pattern noise when processing compressed videos, resulting in poor recognition performance, especially when there is overlap between video generation and image generation but significant information loss occurs during compression.
A method based on adaptive Bayesian threshold estimation and bivariate shrinkage is adopted. Through techniques such as loop removal filtering, dual-density dual-tree complex wavelet transform, Bayesian estimation and adaptive windowed Wiener filtering, high-quality sensor pattern noise is extracted from compressed video. The noise is then identified using the maximum likelihood estimation method with quantization parameter values weighted and peak correlation energy detection.
It significantly improves the accuracy and efficiency of compressed video recognition, better removes artifacts from compressed videos, and enhances the performance of video source recognition.
Smart Images

Figure CN117544819B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of image forensics, and in particular to a video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage. Background Technology
[0002] With the rapid development of information technology and the internet, more and more people are communicating online. Whether professionals or hobbyists, many tend to upload and download images, videos, and other media online. However, while images and videos are widely disseminated, some containing illegal or criminal content or false and defamatory information inevitably appear online. This poses a significant challenge to the field of cybersecurity. Therefore, ensuring the source and credibility of these shared photos and videos has become particularly important.
[0003] Video forensics is also a key topic in multimedia forensics. Current source camera identification methods mainly rely on inherent traces left in images by image acquisition hardware and image processing software. Examples include lens aberration (San Choi K, Lam EY, Wong KK Y. Source camera identification using footprints from lens aberration[C] / / Digital photography II. SPIE, 2006, 6069: 172-179.) and color filter array interpolation artifacts (Swaminathan A, Wu M, Liu KJ R. Nonintrusive componentforensics of visual sensors using output images[J]. IEEE Transactions on Information Forensics and Security, 2007, 2(1): 91-106.). With researchers' deeper understanding of this field, a significantly effective multimedia source detection method has emerged—a digital image video source detection method based on sensor pattern noise. This method has attracted considerable attention in current research because it can overcome the problems of previous methods to some extent while providing better detection results.
[0004] Sensors are a crucial component of camera imaging. Due to variations in manufacturing materials and processes, defects can exist that produce specific noise artifacts during imaging. These noise artifacts possess unique characteristics, and even cameras of the same model can produce different noise artifacts. Researchers refer to this unique noise artifact as sensor pattern noise. The main component of sensor pattern noise is photoresponse non-uniformity (PRNU) noise; therefore, PRNU is also considered a part of sensor pattern noise. PRNU can be viewed as a fingerprint of the camera, used for source detection in unknown images and videos.
[0005] Initially, Lukas (Lukas J, Fridrich J, Goljan M. Digital camera identification from sensor pattern noise[J]. IEEE Transactions on InformationForensics and Security, 2006, 1(2): 205-214.) proposed a digital image source identification system that first used PRNU (photo response non-uniformity). His method involved using wavelet denoising filters to extract the noise residual of the image, and then generating a reference PRNU for the camera by averaging the noise residual of a group of images taken by the same camera. (Cortiana A, Conotter V, Boato G, et al. Performance comparison of denoising filters for source camera identification[C] / / Media Watermarking, Security, and Forensics III. SPIE, 2011, 7880: 60-65.) extracted the PRNU from the image by introducing a complex BM3D filter. The BM3D algorithm, by identifying and combining similar blocks in an image, has proven to be very effective in image denoising. However, it should be noted that the search and grouping process of this algorithm is quite time-consuming. To address this issue, (Kang X, Chen J, Lin K, et al. A context-adaptive SPNpredictor for trustworthy source camera identification[J]. EURASIP Journal on Image and video Processing, 2014, 2014(1): 1-11.) proposed a content-adaptive interpolation-based predictor. This method estimates the PRNU by interpolating the center pixel using eight neighboring pixels, which can suppress the influence of scene and edges on the PRNU.(Lawgaly A, Khelifi F. Sensor pattern noise estimation based on improved locally adaptive DCT filtering and weighted averaging for source camera identification and verification[J]. IEEE Transactions on Information Forensics and Security, 2016, 12(2): 392-404.) proposes an improved locally adaptive discrete cosine transform filter and weighted averaging algorithm to further process and extract PRNU. Meanwhile, (Gao Changfeng, Xiao Yanhui, Tian Huawei. Image camera fingerprint extraction algorithm based on multi-stage progressive neural network[J]. Information Network Security, 2022, 22(10):15-23.) proposes a PRNU extraction algorithm based on multi-stage progressive neural network, which can extract image features more fully than the traditional wavelet method.
[0006] Current research on source camera identification technology mainly focuses on images captured by the camera, while there is not much research on video identification, especially compressed video. In existing video coding standards (such as H.264, MPEG series, etc.), a set of video frames consists of I-frames, P-frames, and B-frames (Chuang WH, Su H, Wu M. Exploring compression effects for improved source camera identification using strongly compressed video[C] / / 2011 18th IEEE International Conference on Image Processing. IEEE,2011: 1953-1956.), indicating that I-frames have higher reliability than P-frames in video forensics tasks. Furthermore, some studies have proposed improving the accuracy of PRNU estimation by mitigating the adverse effects of video compression standards, such as removing artifacts after decoding (Altinisik E, Tasdemir K, Sencar H T. Extracting PRNU noise from H. 264coded videos[C] / / 2018 26th European signal processing conference (EUSIPCO).IEEE, 2018: 1367-1371.). Taspinar et al. (S. Taspinar, M. Mohanty, N. Memon, Camera fingerprint extraction via spatial domain averaged frames, IEEE Transactions on Information Forensics and Security 15 (2020) 3270–3282.) proposed a method for extracting camera fingerprints by averaging video frames in the spatial domain. Compared to traditional methods, this method has the advantage of significantly improving the speed of PRNU extraction. However, when processing images with complex textures, more images are needed to achieve the same performance as traditional methods.Next, Yang et al. (Yang WC, Jiang J, Chen C H. Afast source camera identification and verification method based on PRNUanalysis for use in video forensic investigations[J]. Multimedia Tools and Applications, 2021, 80: 6617-6638.) proposed a video forensics method that simultaneously considers camera roll and video I-frames to improve processing accuracy and time.
[0007] To date, multimedia source detection and recognition have primarily focused on image source detection, while research on video, especially compressed video, remains limited. However, source attribution for video is more challenging than for images. Although the steps involved in video generation largely overlap with those for image generation, video generation significantly degrades PRNU noise estimation. Raw videos consist of multiple consecutive frames and cannot be directly stored or transmitted, thus requiring compression. Video compression leverages the principle of high similarity between short-term frames, significantly reducing spatial redundancy in videos, resulting in a much lower bitrate per frame compared to photos. Consequently, more relevant information is lost in videos than in images. Videos uploaded to platforms like social networks undergo further compression, further reducing PRNU noise components, while noise artifacts in the video become more complex with compression.
[0008] For the reasons mentioned above, in order to extract higher quality PRNU from compressed videos and improve the source camera recognition performance of compressed videos, it is necessary to explore an effective source detection algorithm for compressed images. Summary of the Invention
[0009] The purpose of this invention is to overcome the shortcomings of existing technologies and provide a video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage. This method can extract sensor pattern noise more completely from compressed videos, thereby effectively improving the recognition performance of compressed videos. Furthermore, this method also demonstrates strong recognition performance in short-duration compressed videos.
[0010] To achieve the above objectives, the technical solution provided by this invention is as follows:
[0011] Video source identification methods based on adaptive Bayesian threshold estimation and bivariate shrinkage include:
[0012] S1. Calculate the noise residuals of multiple reference compressed videos, aggregate the noise residuals using the maximum likelihood estimation method based on quantization parameter values, and estimate them with video frames to obtain the PRNU noise of multiple reference compressed videos.
[0013] S2. Calculate the noise residual of the test compressed video. Use the maximum likelihood estimation method based on quantization parameter values to aggregate the noise residual and estimate it with the video frame to obtain the PRNU noise of the test compressed video.
[0014] S3. Use signed peak correlation energy detection to determine the correlation between the PRNU noise of the test compressed video and the PRNU noise of multiple reference compressed videos. If the correlation between the PRNU noise of the test compressed video and the PRNU noise of a certain reference compressed video is the highest, and the correlation reaches or exceeds the set decision threshold, then it is determined that the test compressed video comes from the camera corresponding to that certain reference compressed video; otherwise, if the correlation does not meet the requirements, it is determined that the test compressed video does not come from the camera corresponding to that certain reference compressed video.
[0015] Furthermore, obtaining the PRNU noise of both the reference compressed video and the test compressed video includes the following steps:
[0016] A1. Re-encode and decode the compressed video using a loop de-circuit filter to obtain video frames; acquire N video frames and number them I1, I2, ..., IN; perform multi-layer dual-density dual-tree complex wavelet decomposition on each video frame;
[0017] A2. First, use a bivariate shrinkage algorithm based on Bayesian estimation to perform preliminary filtering estimation on all high-frequency subbands, and then use an adaptive windowed Wiener filter for secondary estimation to obtain the filtered high-frequency subbands; perform dual-density dual-tree complex wavelet inverse transform to obtain denoised video frames; subtract the video frames before and after denoising to obtain the noise residual of each video frame.
[0018] A3. The noise residual of each video frame is estimated using the maximum likelihood estimation method based on the quantization parameter value, and then estimated with the video frame. The average is then used to obtain the PRNU noise of the compressed video.
[0019] Furthermore, in step A1, the specific process of decomposition based on dual-density dual-tree complex wavelets includes:
[0020] After obtaining the video frames, each video frame is decomposed and reconstructed using two filter banks with a two-tree structure, namely the main filter bank and the dual filter bank. The first tree generates the real part, and the second tree generates the imaginary part. Each row of each tree constitutes one-dimensional data, which is then subjected to three one-dimensional wavelet decompositions to obtain two high-frequency components and one low-frequency component. In the first level of decomposition, there will be eight high-frequency components and one low-frequency component. Subsequently, in the next level of decomposition, the low-frequency component is further decomposed into two high-frequency components and one low-frequency component.
[0021] Furthermore, step A2 specifically includes:
[0022] The dual-density dual-tree complex wavelet transforms the image signal from the time domain to the wavelet domain and then decomposes it to obtain multi-scale wavelet coefficients, as shown in formula (1):
[0023] (1);
[0024] in, Represents the wavelet coefficients of the noisy signal at layer K. This represents the wavelet coefficients corresponding to the noise-free image at layer K. Wavelet coefficients representing the noise at the Kth layer;
[0025] The wavelet coefficients of the noise-free image signal are obtained by using the maximum a posteriori probability formula. As shown in formula (2):
[0026] (2);
[0027] After further derivation from Bayesian probability estimation, equation (2) is transformed into equation (3).
[0028] (3); (4);
[0029] From equations (3) and (4), it can be seen that in order to obtain the coefficient estimate of the true signal... You need to know and That is, the probability density function of the noise wavelet coefficients and the probability density function of the output image signal wavelet coefficients; Bayes uses prior density to estimate, that is, it uses two models, Equation (5) and Equation (6):
[0030] (5); (6);
[0031] Finally, the bivariate threshold shrinkage function is used to estimate the shrinkage coefficient. As shown in formula (8):
[0032] (7); (8);
[0033] To obtain the final shrinkage coefficient It also lacks the variance of the noise wavelet coefficients. With the Variance of layer decomposition coefficients The result can be obtained using the following formula:
[0034] (9); (10); (11); (12);
[0035] in, It is a median estimator; Represent the wavelet coefficients of the subband; obtain the contraction coefficient. Subsequently, the adaptive windowed Wiener filter function was used to further estimate the wavelet coefficients, as expressed in formula (13):
[0036] (13);
[0037] in The estimated wavelet coefficients, From formula (14):
[0038] (14);
[0039] This is the window size, typically set to 3, 5, 7, or 9.
[0040] Then, the normalized subband is inversely transformed to obtain the denoised image. The noise residual is obtained by subtracting the images before and after denoising.
[0041] Furthermore, in step A3, the noise residual of each video frame is estimated using a maximum likelihood estimation method based on quantization parameter values, where a normalized weight matrix is used. The PRNU is weighted using the formula (15):
[0042] (15);
[0043] Where N represents the number of video frames used. This represents the t-th frame of the video. This represents the noise residual of the t-th frame image. The denominator represents the weight matrix, while the weight matrix is in the denominator. This is to prevent estimation errors where the denominator is 0.
[0044] Furthermore, in step S3, the signed peak correlation energy is represented as:
[0045] (16);
[0046] Where sign() is the sign function, (a,b) represents the two-dimensional cyclic cross-correlation coefficients between the reference noise R and the test noise Q. MN is a product of the dimensions of a small area around (0,0), and is the product of the rows and columns of the video frame PRNU.
[0047] Compared with existing technologies, the principles and advantages of this technical solution are as follows:
[0048] 1. The dual-density dual-tree complex wavelet transform is employed. Its translation invariance means it can better handle translation and displacement operations in signals without introducing additional artifacts or distortion. The dual-density dual-tree complex wavelet transform also exhibits better direction selectivity, helping to capture texture and structural information in images more accurately. The dual-density dual-tree complex wavelet transform decomposes the signal into two independent trees: a real tree and an imaginary tree. These two trees complement each other during the decomposition process, with the imaginary part sampling position located in the middle of the real part. This information complementarity helps improve signal representation and reduce artifacts that may be introduced during denoising.
[0049] 2. A bivariate shrinkage algorithm based on Bayesian estimation is introduced to estimate the high-frequency subbands after video frame decomposition. Corresponding soft and hard thresholds are set. The threshold of the bivariate shrinkage algorithm is determined by Bayesian prior probability estimation, which is more in line with the actual situation. Furthermore, by combining it with dual-density dual-tree complex wavelet and adaptive windowed Wiener filtering, the artifact interference of compressed video can be better removed, resulting in a higher quality PRNU, thereby improving the accuracy of compressed video recognition.
[0050] 3. A complete PRNU extraction model is proposed. First, a loop-removing filter is used to encode and decode the video to obtain video frames. Then, a dual-density dual-tree complex wavelet is used to decompose the video frames into different sub-bands. The high-frequency sub-bands and low-frequency sub-bands are then processed separately and then aggregated into a PRNU, which can yield a higher quality PRNU, especially for compressed videos.
[0051] 4. Compared with existing PRNU extraction algorithms for compressed videos, this technical solution can better remove artifacts generated during the compression and transmission of compressed videos, while minimizing damage to the original sensor pattern noise. Therefore, it can obtain higher quality sensor pattern noise and thus has better performance in the recognition of compressed videos. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the services required in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a flowchart illustrating the principle of the video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage of the present invention.
[0054] Figure 2 This is a complete flowchart of the PRNU extraction process in the video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage of this invention; Detailed Implementation
[0055] The present invention will be further described below with reference to specific embodiments:
[0056] like Figure 1 As shown in this embodiment, the video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage includes the following steps:
[0057] S1. Calculate the noise residuals of multiple reference compressed videos, aggregate the noise residuals using the maximum likelihood estimation method based on the quantization parameter (QP) value, and estimate them with the video frames to obtain the PRNU noise of multiple reference compressed videos.
[0058] S2. Calculate the noise residual of the test compressed video. Use the maximum likelihood estimation method based on quantization parameter values to aggregate the noise residual and estimate it with the video frame to obtain the PRNU noise of the test compressed video.
[0059] S3. Use Sign Peak to Correlation Energy (SPCE) to detect the correlation between the PRNU noise of the test compressed video and the PRNU noise of multiple reference compressed videos. If the correlation between the PRNU noise of the test compressed video and the PRNU noise of a certain reference compressed video is the highest, and the correlation reaches or exceeds the set decision threshold, then it is determined that the test compressed video comes from the camera corresponding to that certain reference compressed video; otherwise, if the correlation does not meet the requirements, it is determined that the test compressed video does not come from the camera corresponding to that certain reference compressed video.
[0060] like Figure 2 As shown, the steps for calculating the PRNU noise of both the reference compressed video and the test compressed video are as follows:
[0061] A1. Re-encode and decode the compressed video using a loop de-circuit filter to obtain video frames; acquire N video frames and number them I1, I2, ..., IN; perform multi-layer dual-density dual-tree complex wavelet decomposition on each video frame;
[0062] Specifically, the decomposition process based on dual-density dual-tree complex wavelets includes:
[0063] After obtaining the video frames, each video frame is decomposed and reconstructed using two filter banks with a two-tree structure, namely the main filter bank and the dual filter bank. The first tree generates the real part, and the second tree generates the imaginary part. Each row of each tree constitutes one-dimensional data, which is then subjected to three one-dimensional wavelet decompositions to obtain two high-frequency components and one low-frequency component. In the first level of decomposition, there will be eight high-frequency components and one low-frequency component. Subsequently, in the next level of decomposition, the low-frequency component is further decomposed into two high-frequency components and one low-frequency component.
[0064] A2. First, use a bivariate shrinkage algorithm based on Bayesian estimation to perform preliminary filtering estimation on all high-frequency subbands, and then use an adaptive windowed Wiener filter for secondary estimation to obtain the filtered high-frequency subbands; perform dual-density dual-tree complex wavelet inverse transform to obtain denoised video frames; subtract the video frames before and after denoising to obtain the noise residual of each video frame.
[0065] The process is as follows:
[0066] The dual-density dual-tree complex wavelet transforms the image signal from the time domain to the wavelet domain and then decomposes it to obtain multi-scale wavelet coefficients, as shown in formula (1):
[0067] (1);
[0068] in, Represents the wavelet coefficients of the noisy signal at layer K. This represents the wavelet coefficients corresponding to the noise-free image at layer K. Wavelet coefficients representing the noise at the Kth layer;
[0069] The wavelet coefficients of the noise-free image signal are obtained by using the maximum a posteriori probability formula. As shown in formula (2):
[0070] (2);
[0071] After further derivation from Bayesian probability estimation, equation (2) is transformed into equation (3).
[0072] (3); (4);
[0073] From equations (3) and (4), it can be seen that in order to obtain the coefficient estimate of the true signal... You need to know and That is, the probability density function of the noise wavelet coefficients and the probability density function of the output image signal wavelet coefficients; Bayes uses prior density to estimate, that is, it uses two models, Equation (5) and Equation (6):
[0074] (5); (6);
[0075] Finally, the bivariate threshold shrinkage function is used to estimate the shrinkage coefficient. As shown in formula (8):
[0076] (7); (8);
[0077] To obtain the final shrinkage coefficient It also lacks the variance of the noise wavelet coefficients. With the Variance of layer decomposition coefficients The result can be obtained using the following formula:
[0078] (9); (10); (11); (12);
[0079] in, It is a median estimator; Represent the wavelet coefficients of the subband; obtain the contraction coefficient. Subsequently, the adaptive windowed Wiener filter function was used to further estimate the wavelet coefficients, as expressed in formula (13):
[0080] (13);
[0081] in The estimated wavelet coefficients, From formula (14):
[0082] (14);
[0083] The size of the window;
[0084] Then, the normalized subband is inversely transformed to obtain the denoised image. The noise residual is obtained by subtracting the images before and after denoising.
[0085] A3. The noise residual of each video frame is estimated using the maximum likelihood estimation method based on the quantization parameter value, and then estimated with the video frame. The average is then used to obtain the PRNU noise of the compressed video.
[0086] The weight matrix used is normalized. The PRNU is weighted using the formula (15):
[0087] (15);
[0088] Where N represents the number of video frames used. This represents the t-th frame of the video. This represents the noise residual of the t-th frame image. The denominator represents the weight matrix, while the weight matrix is in the denominator. This is to prevent estimation errors where the denominator is 0; it is a relatively small value.
[0089] Specifically, the signed peak correlation energy is represented as:
[0090] (16);
[0091] Where sign() is the sign function, (a,b) represents the two-dimensional cyclic cross-correlation coefficients between the reference noise R and the test noise Q. MN is a product of the dimensions of a small area around (0,0), and is the product of the rows and columns of the video frame PRNU.
[0092] The method described in this embodiment can extract sensor pattern noise more completely from compressed video, thereby effectively improving the recognition performance of compressed video. Furthermore, the method described in this embodiment also demonstrates strong recognition performance in short-duration compressed video.
[0093] The above-described embodiments are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Therefore, any changes made in accordance with the shape and principle of the present invention should be covered within the protection scope of the present invention.
Claims
1. A video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage, characterized in that, include: S1. Calculate the noise residuals of multiple reference compressed videos, aggregate the noise residuals using the maximum likelihood estimation method based on quantization parameter values, and estimate them with video frames to obtain the PRNU noise of multiple reference compressed videos. S2. Calculate the noise residual of the test compressed video. Use the maximum likelihood estimation method based on quantization parameter values to aggregate the noise residual and estimate it with the video frame to obtain the PRNU noise of the test compressed video. S3. Use signed peak correlation energy detection to determine the correlation between the PRNU noise of the test compressed video and the PRNU noise of multiple reference compressed videos. If the correlation between the PRNU noise of the test compressed video and the PRNU noise of a certain reference compressed video is the highest, and the correlation reaches or exceeds the set decision threshold, then it is determined that the test compressed video comes from the camera corresponding to that certain reference compressed video; otherwise, if the correlation does not meet the requirements, it is determined that the test compressed video does not come from the camera corresponding to that certain reference compressed video. Determining the PRNU noise of both the reference compressed video and the test compressed video involves the following steps: A1. Re-encode and decode the compressed video using a loop de-circuit filter to obtain video frames; acquire N video frames and number them I1, I2, ..., IN; perform multi-layer dual-density dual-tree complex wavelet decomposition on each video frame; A2. First, use a bivariate shrinkage algorithm based on Bayesian estimation to perform preliminary filtering estimation on all high-frequency subbands, and then use an adaptive windowed Wiener filter for secondary estimation to obtain the filtered high-frequency subbands; perform dual-density dual-tree complex wavelet inverse transform to obtain denoised video frames; subtract the video frames before and after denoising to obtain the noise residual of each video frame. A3. The noise residual of each video frame is estimated using the maximum likelihood estimation method based on the quantization parameter value, and then estimated with the video frame. The average is then used to obtain the PRNU noise of the compressed video.
2. The video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage according to claim 1, characterized in that, In step A1, the specific process of decomposition based on dual-density dual-tree complex wavelets includes: After obtaining the video frames, each video frame is decomposed and reconstructed using two filter banks with a two-tree structure, namely the main filter bank and the dual filter bank. The first tree generates the real part, and the second tree generates the imaginary part. Each row of each tree constitutes one-dimensional data, which is then subjected to three one-dimensional wavelet decompositions to obtain two high-frequency components and one low-frequency component. In the first level of decomposition, there will be eight high-frequency components and one low-frequency component. Subsequently, in the next level of decomposition, the low-frequency component is further decomposed into two high-frequency components and one low-frequency component.
3. The video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage according to claim 2, characterized in that, Step A2 specifically includes: The dual-density dual-tree complex wavelet transforms the image signal from the time domain to the wavelet domain and then decomposes it to obtain multi-scale wavelet coefficients, as shown in formula (1): (1); in, Represents the wavelet coefficients of the noisy signal at layer K. This represents the wavelet coefficients corresponding to the noise-free image at layer K. Wavelet coefficients representing the noise at the Kth layer; The wavelet coefficients of the noise-free image signal are obtained by using the maximum a posteriori probability formula. As shown in formula (2): (2); After further derivation from Bayesian probability estimation, equation (2) is transformed into equation (3). (3); (4); From equations (3) and (4), it can be seen that in order to obtain the coefficient estimate of the true signal... You need to know and That is, the probability density function of the noise wavelet coefficients and the probability density function of the output image signal wavelet coefficients; Bayes uses prior density for estimation, that is, it uses two models, Equation (5) and Equation (6): (5); (6); Finally, the bivariate threshold shrinkage function is used to estimate the shrinkage coefficient. As shown in formula (8): (7); (8); To obtain the final shrinkage coefficient It also lacks the variance of the noise wavelet coefficients. With the Variance of layer decomposition coefficients The result can be obtained using the following formula: (9); (10); (11); (12); in, It is a median estimator; Represent the wavelet coefficients of the sub-band; obtain the estimated value of the contraction coefficient. Subsequently, the adaptive windowed Wiener filter function was used to further estimate the wavelet coefficients, as expressed in formula (13): (13); in The estimated wavelet coefficients, From formula (14): (14); The size of the window; Then, the normalized subband after processing is inversely transformed to obtain the denoised image. The noise residual is obtained by subtracting the images before and after denoising.
4. The video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage according to claim 1, characterized in that, In step A3, the noise residual of each video frame is estimated using the maximum likelihood estimation method based on the quantization parameter values, where a normalized weight matrix is used. The PRNU is weighted using the formula (15): (15); Where N represents the number of video frames used. This represents the t-th frame of the video. This represents the noise residual of the t-th frame image. The denominator represents the weight matrix, while the weight matrix is in the denominator. This is to prevent estimation errors where the denominator is 0.
5. The video source identification method based on adaptive Bayesian threshold estimation and bivariate shrinkage according to claim 1, characterized in that, In step S3, the signed peak correlation energy is represented as: (16); Where sign() is the sign function, (a,b) represents the two-dimensional cyclic cross-correlation coefficients between the reference noise R and the test noise Q. MN is a product of the dimensions of a small area around (0,0), and is the product of the rows and columns of the video frame PRNU.
Citation Information
Patent Citations
Neighborhood adaptive Bayes shrinkage image denoising method based on dual-tree complex wavelet domain
CN102800056A
Compressed video source detection method based on multi-scale transform domain adaptive Wiener filtering
CN114554227A
