Monocular video virtual view synthesis method based on edge fuzzy localization and MRF optimization

Through the edge blur positioning combined with MRF optimization method, combined with the video frame edge depth information and the geometric relationship between virtual and real viewpoints, the problem of edge positioning accuracy and robustness in monocular video virtual view synthesis is solved, and high-quality and robust virtual view rendering is achieved. Rapid generation of high-quality content for autostereoscopic displays.

CN113658202BActive Publication Date: 2024-09-06JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110945182.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2024-09-06
Estimated Expiration
2041-08-17

AI Technical Summary

Technical Problem

Existing monocular video virtual view synthesis technology is prone to ambiguous matching in areas such as texture loss, occlusion, non-diffuse reflection, and translucency, resulting in IBR results with aliasing artifacts and inconsistent content in the virtual view angle domain, and edge-driven methods When the depth value error at the edge of the video frame may lead to positioning errors such as object edge breakage and drift.

Method used

The edge blur positioning combined with Markov Random Field (MRF) optimization method is adopted, and the edge-driven algorithm is combined with the edge depth information of the video frame and the geometric relationship between the virtual and real viewpoint epipolar lines to imitate human fuzzy thinking to achieve virtual view edge blur positioning, and utilize The MRF model describes the uncertainty problem and fuses sparse rough edges and dense smooth color information to improve the rendering quality and robustness of virtual views.

Benefits of technology

It improves the quality and robustness of virtual view rendering results, solves the problem of virtual view edge positioning accuracy and robustness, and achieves high-quality content generation under high-speed imaging conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113658202B
    Figure CN113658202B
Patent Text Reader

Abstract

The invention discloses a method for synthesizing a monocular video virtual view with edge fuzzy positioning and MRF optimization, which belongs to the technical field of free stereoscopic display. The invention comprises the following steps: 1. edge detection of video frames; 2. estimation of camera pose of video frames; 3. calculation of depth value of edge pixels and credibility of depth estimation for each video frame; 4. viewpoint interpolation of depth value and credibility of each video frame; 5. propagation of video information across viewpoints to virtual viewpoints given image resolution and camera pose of virtual viewpoints; 6. edge fuzzy positioning of virtual viewpoints using a snowball algorithm based on adaptive footprints; 7. weighted fusion of color images according to credibility maps using MRF global optimization to obtain virtual viewpoints. The invention combines the advantages of higher computational efficiency of edge-driven algorithm and more effective description of uncertainty problems by MRF model, and can realize high-quality and robust virtual view rendering, so as to quickly generate high-quality content for free stereoscopic display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of free stereoscopic display, and in particular relates to a monocular video virtual view synthesis method combining edge fuzzy positioning with MRF optimization. Background Art

[0002] As a cutting-edge technology in the current display field, free stereoscopic display will gradually replace the existing flat display and assisted 3D display media. Active exploration of free stereoscopic display has been carried out at home and abroad, especially in improving resolution, viewing angle, depth of field and other aspects. However, the bottleneck of the relative lack of high-quality content has not been substantially solved, which seriously restricts its popularization in many fields and the practical application of hardware devices such as 3D mobile phones, 3D TVs, and 3D large screens. One of the main reasons is that the mainstream acquisition methods of display content have certain shortcomings, such as the small stereoscopic parallax of microlens arrays and light field cameras, the high hardware cost of camera arrays, and cumbersome calibration, the difficulty of capturing large scenes around the image sequence collected along the track, and the limited detection range and low accuracy of depth sensors. With the development of high-speed imaging technology, trackless monocular video has become an effective way to quickly obtain multi-scale information on the entire surface of the scene. To generate virtual viewpoint images for video scenes, it is usually necessary to first estimate the scene depth through multi-view 3D reconstruction (Multi-View Stereo, MVS), and then use image-based rendering (Image-Based Rendering, IBR) technology to synthesize each virtual view.

[0003] The MVS process is prone to ambiguous matching in areas with texture loss, occlusion, non-diffuse reflection, and translucency, which causes aliasing artifacts in the IBR results, inconsistency in the virtual view angle domain content, and ultimately loses the realism of the free stereoscopic display. Considering that the reconstruction of edges (such as object contours and color textures) is relatively accurate, the edge-driven IBR method projects the complete 3D edges pre-recovered by MVS to the virtual viewpoint, and then interpolates the sparse colors of the edge projection points based on the assumption of local smoothness of the object surface color. This method does not need to accurately reconstruct the weak texture area, so it has high computational efficiency, but the inherent image jitter and jelly effect of video data increase the difficulty of accurately reconstructing the edge area of ​​the scene. The error in the edge depth value of the video frame may cause the phenomenon of object edge breakage, drift, and other positioning errors in the virtual view. Therefore, how to make full use of the uncertainty of the MVS reconstruction of the scene edge and the temporal redundancy of high frame rate video to improve the edge positioning accuracy of IBR in the virtual viewpoint is crucial for the accuracy and robustness of the monocular video virtual view synthesis algorithm when applied to actual scenes. Summary of the invention

[0004] The purpose of the present invention is to provide a method for synthesizing a monocular video virtual view by combining edge fuzzy positioning with Markov Random Field (MRF) optimization. The present invention utilizes the advantage of high computational efficiency of the edge-driven algorithm, and by comprehensively considering the credibility of the edge depth information of the video frame and the epipolar geometric relationship between the virtual and real viewpoints, it imitates the fuzzy thinking mechanism of humans to achieve edge fuzzy positioning of the virtual view; in addition, combined with the effective description of the uncertainty problem by the MRF model, the mutually beneficial fusion of two color images with sparse rough edges and dense smooth color information is achieved for the virtual viewpoint. This method can simultaneously improve the quality and robustness of the virtual view rendering results, thereby quickly generating high-quality content for free-stereoscopic display to solve the problems raised in the above-mentioned background technology.

[0005] The method for synthesizing a monocular video virtual view by combining edge fuzzy positioning with MRF optimization of the present invention comprises the following steps:

[0006] 1.1 Use the Sobel operator to perform edge detection on all video frames;

[0007] 1.2 Use the motion recovery structure algorithm to estimate the camera pose of all video frames;

[0008] 1.3 For each video frame I k , calculate each edge pixel (x e ,y e ) and the credibility of the depth estimation, comprising the following steps:

[0009] 1.3.1 Each video frame I k The 100 adjacent video frames are used as reference images, and the pixel-level matching costs of all candidate depth values ​​are calculated. The candidate depth value with the minimum matching cost is used as the pixel matching cost of each edge pixel (x e ,y e )’s depth value d;

[0010] 1.3.2 Calculate each edge pixel (x e ,y e )’s confidence level c:

[0011]

[0012] Where: S∈[0,1] is the matching cost of d; D r are the edge depth maps of 6 randomly selected reference images; B, A and C represent the depth of each edge pixel (x e ,y e ) The reconstructed voxel and D r Whether there are three relationships between them: visibility consistency, free space conflict, and occlusion, if yes, it takes 1, otherwise it takes 0;

[0013] 1.4 Using the Jacobi iteration method that satisfies the edge preservation and local smoothness constraints, for each video frame I k The depth value and credibility of the viewpoint are interpolated to obtain the complete depth map D k and credibility graph C k Without loss of generality, let M t is the t-th convolution result of the depth map or credibility map, then the iterative process is described as:

[0014]

[0015] Where: {(x m ,y m )} represents the 4-neighborhood of pixel (x, y); δ(·) is the indicator function, which is 1 for non-empty pixels and 0 otherwise; if the t+1th convolution result M t+1 And the t-th convolution result M t The average difference between them is less than the given threshold ε1, and the iteration ends;

[0016] 1.5 Given the image resolution and camera pose of the virtual viewpoint, propagate the video information across viewpoints to the virtual viewpoint, including the following steps:

[0017] 1.5.1 Project the pixels of all video frames to the viewing plane of the virtual viewpoint, and then select the video frame number K with the smallest projection depth value for each projection point:

[0018]

[0019] Where: d k ' is the projection depth value at (x', y'); (x', y') is the depth of each video frame I k The pixel (x, y) in is calculated according to its depth value D k (x,y) and the projection relationship T v T k -1 The obtained projection point in the virtual view; T k -1 Represents each video frame I k Perform inverse projection transformation; T v Indicates the projection positive transformation of the virtual view;

[0020] 1.5.2 Generating Color Image I1 for Virtual Viewpoint v And credibility graph C1 v :

[0021]

[0022] Where: I K, C K Respectively represent the color image and the interpolated credibility image of the K-th video frame;

[0023] 1.6 Adopting the snowball algorithm based on adaptive footprint to perform edge blur positioning for the virtual view, including the following steps:

[0024] 1.6.1 Each video frame I k Each edge pixel (x e ,y e ) according to its depth value D k (x e ,y e ) is projected to the visual plane of the virtual viewpoint. If the difference between the projected depth value and the minimum projected depth value at the projection point (x', y') is greater than the given threshold ε2, then the projection of each edge pixel (x e ,y e )’s projection process;

[0025] 1.6.2 In each video frame I k In the direction of the epipolar line of the virtual view, find the distance μ(1-C k (x e ,y e )) of two pixels (x1', y1'), (x2', y2'); where: μ is a constant greater than 1. The larger its value, the more robust this method is, but the more computational effort it will cause;

[0026] 1.6.3 At each edge pixel (x e ,y e ) in the 8-neighborhood of each edge pixel (x n ,y n ) according to its depth value D k (x n ,y n ) is projected onto the viewing plane of the virtual viewpoint, and the projection point (x n ',y n ');

[0027] 1.6.4 The pixels (x1', y1'), (x2', y2') and the projection point (x n ',y n ') as the pixel pair {(x e ,y e ),(x n ,y n )}'s projection influence range Ψ(x e ,y e ,x n ,y n );

[0028] 1.6.5 The pixel pair {(x e ,y e ),(x n ,y n )} is superimposed on the cumulative credibility C according to Gaussian distribution. Σ , cumulative weighted color value J Σ , cumulative number of times N Σ :

[0029] C Σ (x",y")=C Σ (x",y")+w(x',y',x",y")

[0030] J Σ (x",y")=J Σ (x",y")+w(x',y',x",y")·I k (x e ,y e )

[0031] N Σ (x",y")=N Σ (x",y")+1

[0032] Where: Cumulative credibility C Σ , cumulative weighted color value J Σ , cumulative number of times N Σ are initialized to all 0; (x”, y”) represents the projection influence range Ψ(x e ,y e ,x n ,y n ) for each pixel covered by the footprint function w(x',y',x",y"), taking into account both the Euclidean distance between the projected point (x',y') and the pixel (x",y") and the distance between each edge pixel (x e ,y e ) and (x n ,y n ), the color difference between the two is calculated as follows:

[0033]

[0034] Among them: parameter σ s ∈[0,1],σ c ∈[0,1] are the spatial domain standard deviation and the value domain standard deviation respectively. The larger the values ​​of the two are, the smoother the edge of the final virtual view is;

[0035] 1.6.6 After completing the projection of all edge pixels of the video frame, calculate the color map I2 for the virtual viewpoint v and credibility graph C2 v:

[0036]

[0037] 1.7 Using the MRF global optimization method, the color image I1 is minimized by solving the energy function minimization problem of the following formula v and I2 v According to the credibility graph C1 v and C2 v Perform weighted fusion to obtain the final virtual view I virtual :

[0038]

[0039] Where: (x, y) is the virtual view I virtual Each pixel in; parameter λ1 source =λ2 source =1 respectively controls the color map I1 v 、I2 v The importance of parameter λ flat =2 controls the Laplace constraint The weight of virtual view I virtual Flatness; parameter λ smooth =2 controls the second-order derivative kernel |ΔI| (x,y) The weight of virtual view I virtual overall smoothness.

[0040] The edge fuzzy positioning combined with MRF optimization monocular video virtual view synthesis method proposed in the present invention effectively combines the advantages of higher computational efficiency of the edge-driven algorithm and more effective description of uncertainty problems by the MRF model in order to simultaneously improve the quality and robustness of virtual view rendering in actual complex situations such as video data jitter and jello effect. By fully exploring the credibility of edge depth estimation, the epipolar geometric relationship between virtual and real viewpoints, and the local smoothness constraints of the image, high-quality and robust virtual view rendering can be achieved, thereby quickly generating high-quality content for free-stereoscopic display.

[0041] The present invention combines the advantages of higher computational efficiency of the edge-driven algorithm and more effective description of uncertainty problems by the MRF model, and can improve the quality and robustness of view rendering in situations where video has screen jitter and jello effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 Flowchart of the method for synthesizing virtual views of monocular video for edge blur localization combined with MRF optimization;

[0043] Figure 2 Schematic diagram for blurring the edge of a virtual view. DETAILED DESCRIPTION

[0044] The implementation process of the present invention is further described below in conjunction with the accompanying drawings. The method for synthesizing a monocular video virtual view by combining edge fuzzy positioning with MRF optimization is shown in the flowchart. Figure 1 As shown, the following steps are included:

[0045] 1. Use the Sobel operator to perform edge detection on all video frames;

[0046] 2. Use the structure-from-motion algorithm to estimate the camera pose of all video frames;

[0047] 3. For each video frame I k , calculate each edge pixel (x e ,y e ) and the credibility of the depth estimation, comprising the following steps:

[0048] 3.1 Each video frame I k The 100 adjacent video frames are used as reference images, and the pixel-level matching costs of all candidate depth values ​​are calculated. The candidate depth value with the minimum matching cost is used as the pixel matching cost of each edge pixel (x e ,y e )’s depth value d;

[0049] 3.2 Calculate each edge pixel (x e ,y e )’s confidence level c:

[0050]

[0051] Where: S∈[0,1] is the matching cost of d; D r are the edge depth maps of 6 randomly selected reference images; B, A and C represent the depth of each edge pixel (x e ,y e ) The reconstructed voxel and D r Whether there are three relationships between them: visibility consistency, free space conflict, and occlusion, if yes, it takes 1, otherwise it takes 0;

[0052] 4. Using the Jacobi iteration method that satisfies the edge preservation and local smoothness constraints, for each video frame I k The depth value and credibility of the viewpoint are interpolated to obtain the complete depth map D k and credibility graph C k Without loss of generality, let M t is the t-th convolution result of the depth map or credibility map, then the iterative process is described as:

[0053]

[0054] Where: {(x m ,y m )} represents the 4-neighborhood of pixel (x, y); δ(·) is the indicator function, which is 1 for non-empty pixels and 0 otherwise; if the t+1th convolution result M t+1 And the t-th convolution result M t The average difference between them is less than the given threshold ε1, and the iteration ends;

[0055] 5. Given the image resolution and camera pose of the virtual viewpoint, propagate the video information across viewpoints to the virtual viewpoint, including the following steps:

[0056] 5.1 Project the pixels of all video frames to the viewing plane of the virtual viewpoint, and then select the video frame number K with the smallest projection depth value for each projection point:

[0057]

[0058] Where: d k ' is the projection depth value at (x', y'); (x', y') is the depth of each video frame I k The pixel (x, y) in is calculated according to its depth value D k (x,y) and the projection relationship T v T k -1 The obtained projection point in the virtual view; T k -1 Represents each video frame I k Perform inverse projection transformation; T v Indicates the projection positive transformation of the virtual view;

[0059] 5.2 Generating Color Image I1 for Virtual Viewpoint v And credibility graph C1 v :

[0060]

[0061] Where: I K , C K Respectively represent the color image and the interpolated credibility image of the K-th video frame;

[0062] 6. The snowball algorithm based on adaptive footprint is used to perform edge fuzzy positioning for the virtual view, as shown in the schematic diagram. Figure 2 As shown, the following steps are included:

[0063] 6.1 Each video frame I k Each edge pixel (x e ,y e ) according to its depth value D k (xe ,y e ) is projected to the visual plane of the virtual viewpoint. If the difference between the projected depth value and the minimum projected depth value at the projection point (x', y') is greater than the given threshold ε2, then the projection of each edge pixel (x e ,y e )’s projection process;

[0064] 6.2 In each video frame I k In the direction of the epipolar line of the virtual view, find the distance μ(1-C k (x e ,y e )) of two pixels (x1', y1'), (x2', y2'); where: μ is a constant greater than 1. The larger its value, the more robust this method is, but the more computational effort it will cause;

[0065] 6.3 At each edge pixel (x e ,y e ) in the 8-neighborhood of each edge pixel (x n ,y n ) according to its depth value D k (x n ,y n ) is projected onto the viewing plane of the virtual viewpoint, and the projection point (x n ',y n ');

[0066] 6.4 The pixels (x1', y1'), (x2', y2') and the projection point (x n ',y n ') as the pixel pair {(x e ,y e ),(x n ,y n )}'s projection influence range Ψ(x e ,y e ,x n ,y n );

[0067] 6.5 The pixel pair {(x e ,y e ),(x n ,y n )} is superimposed on the cumulative credibility C according to Gaussian distribution. Σ , cumulative weighted color value J Σ , cumulative number of times N Σ :

[0068] C Σ (x",y")=C Σ(x",y")+w(x',y',x",y")

[0069] J Σ (x",y")=J Σ (x",y")+w(x',y',x",y")·I k (x e ,y e )

[0070] N Σ (x",y")=N Σ (x",y")+1

[0071] Where: Cumulative credibility C Σ , cumulative weighted color value J Σ , cumulative number of times N Σ are initialized to all 0; (x”, y”) represents the projection influence range Ψ(x e ,y e ,x n ,y n ) for each pixel covered by the footprint function w(x',y',x",y"), taking into account both the Euclidean distance between the projected point (x',y') and the pixel (x",y") and the distance between each edge pixel (x e ,y e ) and (x n ,y n ), the color difference between the two is calculated as follows:

[0072]

[0073] Among them: parameter σ s ∈[0,1],σ c ∈[0,1] are the spatial domain standard deviation and the value domain standard deviation respectively. The larger the values ​​of the two are, the smoother the edge of the final virtual view is;

[0074] 6.6 After completing the projection of all edge pixels of the video frame, calculate the color map I2 for the virtual viewpoint v and credibility graph C2 v :

[0075]

[0076] 7. Using the MRF global optimization method, the color image I1 is minimized by solving the energy function minimization problem of the following formula. v and I2 v According to the credibility graph C1 v and C2 v Perform weighted fusion to obtain the final virtual view I virtual :

[0077]

[0078] Where: (x, y) is the virtual view I virtual Each pixel in; parameter λ1 source =λ2 source =1 respectively controls the color map I1 v 、I2 v The importance of parameter λ flat =2 controls the Laplace constraint The weight of virtual view I virtual Flatness; parameter λ smooth =2 controls the second-order derivative kernel |ΔI| (x,y) The weight of virtual view I virtual overall smoothness.

Claims

1. A method for synthesizing a monocular video virtual view by combining edge fuzzy positioning with MRF optimization, characterized in that it comprises the following steps: 1.1 Use the Sobel operator to perform edge detection on all video frames; 1.2 Use the motion recovery structure algorithm to estimate the camera pose of all video frames; 1.3 For each video frame I k , calculate each edge pixel (x e ,y e ) and the credibility of the depth estimation, comprising the following steps: 1.3.1 Each video frame I k The 100 adjacent video frames are used as reference images, and the pixel-level matching costs of all candidate depth values ​​are calculated. The candidate depth value with the minimum matching cost is used as the pixel matching cost of each edge pixel (x e ,y e )’s depth value d; 1.3.2 Calculate each edge pixel (x e ,y e )’s confidence level c: Where: S∈[0,1] is the matching cost of d; D r are the edge depth maps of 6 randomly selected reference images; B, A and C represent the depth of each edge pixel (x e ,y e ) The reconstructed voxel and D r Whether there are three relationships between them: visibility consistency, free space conflict, and occlusion, if yes, it takes 1, otherwise it takes 0; 1.4 Using the Jacobi iteration method that satisfies the edge preservation and local smoothness constraints, for each video frame I k The depth value and credibility of the viewpoint are interpolated to obtain the complete depth map D k and credibility graph C k Without loss of generality, let M t is the t-th convolution result of the depth map or credibility map, then the iterative process is described as: Where: {(x m ,y m )} represents the 4-neighborhood of pixel (x, y); δ(·) is the indicator function, which is 1 for non-empty pixels and 0 otherwise; if the t+1th convolution result M t+1 And the t-th convolution result M t The average difference between them is less than the given threshold ε1, and the iteration ends; 1.5 Given the image resolution and camera pose of the virtual viewpoint, propagate the video information across viewpoints to the virtual viewpoint, including the following steps: 1.5.1 Project the pixels of all video frames to the viewing plane of the virtual viewpoint, and then select the video frame number K with the smallest projection depth value for each projection point: in: d k ' is the projection depth value at (x', y'); (x', y') is the depth of each video frame I k The pixel (x, y) in is calculated according to its depth value D k (x,y) and projection relationship The obtained projection point in the virtual view; Represents each video frame I k Perform inverse projection transformation; T v Indicates the projection positive transformation of the virtual view; 1.5.2 Generating Color Image I1 for Virtual Viewpoint v And credibility graph C1 v : Where: I K , C K Respectively represent the color image and the interpolated credibility image of the K-th video frame; 1.6 Adopting the snowball algorithm based on adaptive footprint to perform edge blur positioning for the virtual view, including the following steps: 1.6.1 Each video frame I k Each edge pixel (x e ,y e ) according to its depth value D k (x e ,y e ) is projected to the visual plane of the virtual viewpoint. If the difference between the projected depth value and the minimum projected depth value at the projection point (x', y') is greater than the given threshold ε2, then the projection of each edge pixel (x e ,y e )’s projection process; 1.6.2 In each video frame I k In the direction of the epipolar line of the virtual view, find the distance μ(1-C k (x e ,y e )) of two pixels (x1', y1'), (x2', y2'); where: μ is a constant greater than 1. The larger its value, the more robust this method is, but the more computational effort it will cause; 1.6.3 At each edge pixel (x e ,y e ) in the 8-neighborhood of each edge pixel (x n ,y n ) according to its depth value D k (x n ,y n ) is projected onto the viewing plane of the virtual viewpoint, and the projection point (x n ',y n '); 1.6.4 The pixels (x1', y1'), (x2', y2') and the projection point (x n ',y n ') as the pixel pair {(x e ,y e ),(x n ,y n )}'s projection influence range Ψ(x e ,y e ,x n ,y n ); 1.6.5 The pixel pair {(x e ,y e ),(x n ,y n )} is superimposed on the cumulative credibility C according to Gaussian distribution. Σ , cumulative weighted color value J Σ , cumulative number of times N Σ : C Σ (x",y")=C Σ (x",y")+w(x',y',x",y") C Σ (x",y")=C Σ (x",y")+w(x',y',x",y") J Σ (x",y")=J Σ (x",y")+w(x',y',x",y")·I k (x e ,y e ) N Σ (x",y")=N Σ (x",y")+1 Where: Cumulative credibility C Σ , cumulative weighted color value J Σ , cumulative number of times N Σ are initialized to all 0; (x”, y”) represents the projection influence range Ψ(x e ,y e ,x n ,y n ) for each pixel covered by the footprint function w(x',y',x",y"), taking into account both the Euclidean distance between the projected point (x',y') and the pixel (x",y") and the distance between each edge pixel (x e ,y e ) and (x n ,y n ), the color difference between the two is calculated as follows: Among them: parameter σ s ∈[0,1],σ c ∈[0,1] are the spatial domain standard deviation and the range standard deviation respectively. The larger the values ​​of the two are, the smoother the edge of the final virtual view is; 1.6.6 After completing the projection of all edge pixels of the video frame, calculate the color map I2 for the virtual viewpoint v and credibility graph C2 v : 1.7 Using the MRF global optimization method, the color image I1 is minimized by solving the energy function minimization problem of the following formula v and I2 v According to the credibility graph C1 v and C2 v Perform weighted fusion to obtain the final virtual view I virtual : Where: (x, y) is the virtual view I virtual Each pixel in; parameter λ1 source =λ2 source =1 respectively controls the color map I1 v 、I2 v The importance of parameter λ flat =2 controls the Laplace constraint The weight of virtual view I virtual Flatness; parameter λ smooth =2 controls the second-order derivative kernel |ΔI| (x,y) The weight of virtual view I virtual overall smoothness.