Image completion method and system based on fixation point prediction

The foveation point prediction model predicts the foveation point mask of the next frame in advance and combines it with the reconstruction network for image completion, which solves the problems of low image rendering quality and poor coherence in the existing technology, and achieves real-time, high-quality image completion effects. .

CN118735960APending Publication Date: 2024-10-01SHANDONG UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410960396.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing foveated rendering technology is difficult to achieve real-time, realistic image rendering under high resolution and strict latency constraints, and image completion methods are difficult to effectively utilize inter-frame information, resulting in low quality, poor coherence, and artifacts.

Method used

By combining the fixation point of the current frame and the fixation point prediction model, the fixation point mask of the next frame is predicted in advance for sparse rendering, and the reconstruction network and spatio-temporal multi-scale mixing technology are used for image completion to improve the continuity of user viewing.

Benefits of technology

It achieves real-time image completion while ensuring image quality, improves inter-frame stability and user viewing experience, and reduces artifact problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735960A_ABST
    Figure CN118735960A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image completion, and provides an image completion method and system based on fixation point prediction, and the method comprises the steps: carrying out the prediction of a reference fixation point based on a current frame fixation point through a fixation prediction model, calculating a fixation probability graph based on the current frame fixation point and the reference fixation point, combining the two fixation probability graphs, and carrying out the calculation of a fixation probability graph. Obtaining a fixation point mask of the next frame; according to the fixation point mask of the next frame, sparse rendering is carried out on the image of the next frame, and a sparse image of the next frame is obtained; based on the next frame of motion vector, the current frame of complemented image is combined, after distortion re-projection is obtained through calculation, distortion re-projection features after re-weighting are obtained through calculation in combination with the next frame of sparse image; and generating a motion mask based on the next frame of motion vector, splicing the next frame of sparse image and the auxiliary features thereof with the reweighted distorted reprojection features, and performing network reconstruction and space-time multi-scale mixing to obtain the next frame of complemented image. And the watching continuity of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image completion application, and in particular relates to an image completion method and system based on gaze point prediction. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] With the widespread application of virtual reality and augmented reality technologies in various fields such as medicine, education, military and entertainment, large-scale high-resolution display devices such as head-mounted displays are gradually becoming a major part of people's daily lives. However, achieving real-time, realistic rendering under high resolution and strict latency constraints remains one of the main challenges facing computer graphics, so foveated rendering technology has become increasingly important. Traditional foveated rendering technology usually adjusts the quality of the image according to the position of the gaze point during the rendering process through methods such as adaptive resolution, geometric simplification, and shading simplification, rendering the gaze area with high quality and reducing the rendering quality in the peripheral areas of vision. Although these methods reduce the amount of rendering calculations, they inevitably lead to a decrease in image quality and introduce visual artifacts between the gaze area and the peripheral area.

[0004] In recent years, as deep learning has made continuous achievements in the field of computer graphics, some methods combining foveated rendering and deep learning have been proposed, including foveated-based image completion, which first sparsely renders the image according to the foveation point, and then completes it through a neural network to output a complete image. However, on the one hand, the existing completion methods are difficult to effectively utilize inter-frame information, resulting in problems such as low quality, poor inter-frame coherence, and artifacts in the completed image. On the other hand, the completion method needs to obtain the foveation point information of the current frame. The current high-precision foveation point acquisition method is usually obtained through an eye tracker. However, the eye tracker can only measure the current foveation point and cannot predict the future position. This delay may cause the user to feel incoherent when watching. Summary of the invention

[0005] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides an image completion method and system based on gaze point prediction, which combines the gaze point of the current frame with a gaze point prediction model, predicts the gaze point mask of the next frame in advance for sparse rendering, and performs image completion on this basis, thereby improving the continuity of user viewing.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A first aspect of the present invention provides an image completion method based on gaze point prediction, comprising:

[0008] Obtain the current frame fixation point; based on the current frame fixation point, predict the reference fixation point through the fixation prediction model, calculate a fixation probability map based on the current frame fixation point and the reference fixation point, merge the two fixation probability maps, and obtain the next frame fixation point mask;

[0009] Obtain the next frame image and the next frame motion vector, perform sparse rendering on the next frame image according to the next frame gaze point mask, and obtain the next frame sparse image; based on the next frame motion vector, combined with the current frame complement image, calculate the distorted reprojection, and then combine with the next frame sparse image to calculate the re-weighted distorted reprojection features;

[0010] Based on the motion vector of the next frame, a motion mask is generated. The sparse image of the next frame and its auxiliary features are spliced ​​with the re-weighted distorted reprojection features. After the reconstruction network and spatiotemporal multi-scale mixing, the completed image of the next frame is obtained.

[0011] Furthermore, the prediction of the reference gaze point is combined with the dynamic object position sequence of the current frame and the historical gaze point position sequence.

[0012] Furthermore, the calculation steps of the reweighted distorted reprojection features include: extracting auxiliary features of the next frame from the next frame sparse image, performing feature extraction on the auxiliary features of the next frame to obtain a sparse depth map of the next frame, performing two-layer convolution on the distorted reprojection and the next frame sparse depth map to obtain distorted reprojection features, concatenating the distorted reprojection features and the auxiliary features of the next frame into a tensor, performing three-layer convolution on the tensor to obtain pixel weights, multiplying the pixel weights by the distorted reprojection features to obtain reweighted distorted reprojection features.

[0013] Furthermore, the reconstruction network includes an encoder and a decoder; each layer of the encoder consists of a convolutional layer and a maximum pooling down-sampling, each layer of the decoder consists of a bilinear interpolation up-sampling and a convolutional layer, and the layers of the same scale between the encoder and the decoder use jump connections; different layers of the decoder output completed images and mixing weights of different scales.

[0014] Furthermore, the last layer output of the decoder is convolved to obtain a pixel spatial kernel and a pixel temporal kernel;

[0015] The pixel spatial kernel is multiplied by the last layer output of the decoder to obtain a spatial filtering result;

[0016] The pixel time kernel is multiplied with the warped reprojected image to obtain a time filtering result.

[0017] Furthermore, the spatial filtering result, the temporal filtering result, the motion mask and the completed images of different scales are mixed by mixing weights to obtain a completed image of the next frame.

[0018] A second aspect of the present invention provides an image completion system based on gaze point prediction, comprising:

[0019] A gaze point prediction module is configured to: obtain a current frame gaze point; based on the current frame gaze point, predict a reference gaze point through a gaze prediction model, calculate a gaze probability map based on the current frame gaze point and the reference gaze point, respectively, and merge the two gaze probability maps to obtain a next frame gaze point mask;

[0020] The sparse rendering module is configured to: obtain a next frame image and a next frame motion vector, perform sparse rendering on the next frame image according to the next frame gaze point mask, and obtain a next frame sparse image; based on the next frame motion vector, in combination with the current frame complement image, calculate the distorted reprojection, and in combination with the next frame sparse image, calculate the re-weighted distorted reprojection feature;

[0021] The completion module is configured to generate a motion mask based on the motion vector of the next frame, splice the sparse image of the next frame and its auxiliary features with the re-weighted distorted reprojection features, and obtain the completed image of the next frame through a reconstruction network and spatiotemporal multi-scale mixing.

[0022] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described image completion method based on gaze point prediction.

[0023] The fourth aspect of the present invention provides a computer device, including a computer-readable storage medium, a processor, and a computer program stored on the computer-readable storage medium and executable on the processor, wherein when the processor executes the program, the steps in the image completion method based on gaze point prediction as described above are implemented.

[0024] A fifth aspect of the present invention provides a computer program product, which is a computer program product containing a computer program. When a processor executes the computer program, the steps in the image completion method based on gaze point prediction as described above are implemented.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] The present invention combines the gaze point of the current frame with a gaze point prediction model, predicts the gaze point mask of the next frame in advance for sparse rendering, and performs image completion on this basis, thereby improving the continuity of user viewing.

[0027] The present invention realizes real-time image completion while ensuring image quality through a network architecture that combines direct prediction with kernel prediction.

[0028] The present invention achieves better image quality and inter-frame stability than existing methods and can run at real-time speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0030] Figure 1 is a flow chart of an image completion method based on gaze point prediction according to the first embodiment of the present invention;

[0031] Figure 2 is a spatiotemporal multi-scale completion network graph of the first embodiment of the present invention;

[0032] Figure 3 is a comparison diagram of the results of the first embodiment of the present invention and other comparison and completion methods;

[0033] Figure 4 This is a diagram of user test results of different devices in different scenarios according to the first embodiment of the present invention;

[0034] Figure 5 Graphs of user test results of Embodiment 1 of the present invention and a comparative method in different scenarios and on different devices;

[0035] Figure 6 It is a structural diagram of a computer device according to a fourth embodiment of the present invention. DETAILED DESCRIPTION

[0036] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0037] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0038] Embodiment 1

[0039] This embodiment provides an image completion method based on gaze point prediction.

[0040] This embodiment provides an image completion method based on gaze point prediction, such as Figure 1 As shown, the following steps are included:

[0041] Step 1: First, obtain the gaze point position of the current frame (i-th frame) through a virtual reality head-mounted device (i.e., an eye tracker).

[0042] Secondly, the dynamic object position sequence and the historical gaze point position sequence of the current frame (i-th frame) in the virtual reality head mounted device are obtained. This information can be used to assist in predicting the gaze point.

[0043] The dynamic object is an object that moves in the current frame (i-th frame), and the dynamic object position sequence refers to a sequence consisting of the positions (x, y, z) of all dynamic objects in the current frame (i-th frame).

[0044] The historical gaze point position sequence is composed of the gaze point position of the iqth frame to the gaze point position of the i-1th frame, wherein n is the number of data in the historical gaze point position sequence, which is 50 in this embodiment.

[0045] Step 2: Predict the fixation point.

[0046] Based on the current frame gaze point position obtained by the virtual reality head-mounted device, combined with the dynamic object position sequence of the current frame (i-th frame) in the virtual reality head-mounted device and the gaze point position sequence of the historical 50 frames (i.e., the historical gaze point position sequence), the gaze prediction model DGaze (CNN-Based Gaze Prediction in Dynamic Scenes) is used to predict the gaze point position of the i+2-th frame (also known as the reference gaze point position or the future gaze point position).

[0047] Step 3: Sparse rendering.

[0048] According to the two gaze point positions obtained in step 1 and step 2, two gaze probability maps are calculated respectively, and the two gaze probability maps are merged to obtain the gaze probability map of the i+1th frame, and the gaze point mask of the i+1th frame is generated according to the gaze probability map. Finally, the image of the i+1th frame is sparsely rendered according to the gaze point mask to obtain the sparse image of the next frame (i+1th frame) and its auxiliary features.

[0049] Among them, the outputs of the eye tracker and DGaze are the coordinate positions of the gaze point. Therefore, the gaze area, mixed area and peripheral area should be divided according to the coordinates of the gaze point.

[0050] The specific steps of merging the two gaze point positions obtained in step 1 and step 2 are as follows:

[0051] (1) Based on the gaze point position of the current frame (the i-th frame) obtained in step 1, the gaze probability function of formula (1) is used to obtain the gaze probability map pEye of the i-th frame; based on the gaze point position of the i+2-th frame obtained in step 2, the gaze probability function of formula (1) is used to obtain the gaze probability map pDGaze of the i+2-th frame.

[0052] In this embodiment, a method of dividing pixels according to the distance from the gaze point is adopted. Pixels within 20 from the gaze point are set as the gaze area, and the pixels in this area are given a higher gaze probability. Pixels between 20 and 40 are set as the mixed area, and the gaze probability is slightly reduced. Pixels beyond the distance of 40 are defined as the peripheral area, and the gaze probability is low. According to this linear distance division, the gaze probability function of formula (1) is used to generate two gaze probability maps peye and pDGaze for the two gaze points respectively:

[0053]

[0054] Among them, p x is the probability that the pixel at position x is being looked at, x f is the gaze point coordinate, and x represents the coordinate of the pixel in the sparse image of the current frame (i-th frame).

[0055] (2) Then, the two fixation probability maps are merged according to Formula 2 to serve as the fixation probability map of the i+1th frame.

[0056]

[0057] Finally, according to the gaze probability map pmask, each pixel is uniformly sampled and the obtained sampling value is compared with the gaze probability p corresponding to the pixel. x If the sampling value is less than the fixation probability, then the pixel is set to p mask =1, otherwise p mask =0, thus obtaining the gaze point mask.

[0058] According to the value of each pixel in the gaze mask, the i+1th frame image of the camera sequence is rendered. Specifically, the pixels whose gaze mask is 1 are rendered, and the pixels whose gaze mask is 0 are skipped, thereby obtaining the i+1th frame image of sparse rendering (i.e., the i+1th frame sparse image). In this embodiment, rendering is performed with the help of Unity High Definition Render Pipeline.

[0059] Step 4: Data acquisition.

[0060] First, the sparse image of the i+1th frame and its auxiliary features, motion vectors (including dual motion vectors and traditional motion vectors) and the completion result of the current frame (i-th frame) (ie, the completed image of the i-th frame) are obtained.

[0061] Among them, auxiliary features are extracted from sparse images.

[0062] Among them, the traditional motion vector first projects the current frame pixel xi back to the world coordinate system to obtain the world coordinate corresponding to the pixel, and then transforms it back to the world coordinate of the i-1th frame according to the movement of the object, and finally projects the i-1th frame world coordinate back to the screen space to obtain the corresponding pixel position. However, the traditional motion vector may not always be accurate. For example, changes in the occlusion relationship and shadow in the scene will cause the motion vector to point to the wrong pixel. Therefore, some scholars have proposed improvements to the motion vector, namely the dual motion vector (DMV, Dual Motion Vector), which designs a separate motion vector for various situations (occlusion, shadow, reflection, etc.) and combines them together to generate the final motion vector. The results show that the dual motion vector is more accurate and reliable than the traditional motion vector. Among them, the acquisition and calculation methods of the traditional motion vector and the dual motion vector are consistent with the patent with application number 202310934428.2 and the invention name is a real-time image super-resolution completion method and system.

[0063] Step 5: Distort and reproject.

[0064] Based on the dual motion vectors of the i+1th frame and the completion result (ie, reconstruction result) of the ith frame, the warped reprojection is calculated.

[0065] The specific calculation method is consistent with the patent with application number 202310934428.2, and the invention name is A real-time image super-resolution completion method and system.

[0066] Step 6: Complete.

[0067] The sparse image of the i+1th frame and its auxiliary features as well as the distorted reprojected image are input into the spatiotemporal multi-scale completion network (i.e., reconstruction network) together with the dual motion vector and the traditional motion vector to obtain the completion result of the i+1th frame.

[0068] The sparse image and auxiliary features of the i+1th frame are combined with the distorted reprojection obtained in step 5 as input. Through the spatiotemporal multi-scale completion network, multi-scale direct prediction results, spatiotemporal pixel-by-pixel kernel weights and mixing weights are obtained. The generated motion mask is applied to the direct prediction image and distorted reprojection of the final scale quickly, and all the results are mixed to output a complete, artifact-free, high-quality completed image.

[0069] In this embodiment, the spatiotemporal multi-scale completion network includes a feature extraction and feature re-weighting module, a direct prediction module, a kernel prediction module, a motion mask generation module and a spatiotemporal multi-scale mixing module.

[0070] (1) Feature extraction and feature re-weighting module.

[0071] After the warped reprojection and the sparse depth map of the i+1th frame (i.e., the depth information obtained from the depth buffer in the auxiliary features of the next frame of the sparse image) are concatenated into a tensor, feature extraction is performed in sequence through two layers of convolution (the number of channels is 32, 32, respectively) to obtain the features of the warped reprojection; the obtained warped reprojection features and the auxiliary features of the i+1th frame (i.e., the auxiliary features of the sparse image of the i+1th frame) are then concatenated into a tensor for feature reweighting. The feature reweighting module is configured to: perform three layers of convolution on the input tensor (the number of channels is 32, 32, 1, respectively) to obtain the per-pixel weight of the warped reprojection of 1 channel, and multiply the weight by the warped reprojection feature to eliminate invalid pixels and obtain the reweighted warped reprojection feature.

[0072] (2) Direct prediction module.

[0073] The patent with application number 202310934428.2 and invention name “A real-time image super-resolution completion method and system” is completion plus super-resolution, so the network input is low resolution. In this example, only completion is performed, so the network faces the problem of significantly increased running time when high-resolution images are input. For this reason, this embodiment simplifies the network structure and realizes a lightweight multi-scale completion network combining direct prediction with kernel prediction. Even at 2K high resolution, it achieves real-time performance of about 26ms and ensures that the quality of the completed image has no obvious quality loss.

[0074] The sparse image of the i+1th frame and its auxiliary features (albedo, normal, depth) and the reweighted distorted reprojection features are concatenated into a tensor of size (192, 256) according to the channel dimension as input, and sent to the direct prediction module (i.e., reconstruction network) of the completion network for learning. In the last three layers of the direct prediction module, the direct prediction results (i.e., RGB completion images) and mixing weights of different scales are output respectively through convolution. In this embodiment, the weight is multiplied by the direct prediction result, and the direct prediction result is a complete image, which can provide more image information than the sparse image, so that the result is better.

[0075] Figure 2The details of the direct prediction module in the completion network are shown. The direct prediction module is an encoder-decoder structure, using a 3×3 kernel size convolution layer and a Relu activation function. The encoder has five layers. The first layer is two convolution layers with 48 channels and a 2×2 maximum pooling downsampling. The last layer is a single convolution layer with 48 channels. The remaining layers are all a convolution layer with 48 channels and a 2×2 maximum pooling downsampling. The decoder has four layers, each of which is a bilinear interpolation upsampling and two convolution layers with 64 channels. Skip connections are used between layers of the same size to form a symmetrical U-shaped network structure.

[0076] The direct prediction module convolves the feature layers of the last three layers of the decoder to output direct prediction results and mixing weights of different scales. Specifically, the first output layer, that is, the last layer outputs (768, 1024), which includes direct prediction results and the temporal mixing weights of a channel. The second output layer, that is, the second-to-last layer outputs (384, 512), which includes direct prediction results and a channel inter-layer mixing weight. The third output layer, that is, the third-to-last layer outputs (192, 256), which includes direct prediction results and a channel inter-layer mixing weight.

[0077] (3) Kernel prediction module.

[0078] In addition to convolving the last three feature layers of the direct prediction module to output direct prediction results and mixing weights of different scales, an additional convolution is performed on the last feature layer (768, 1024) of the direct prediction module to output a 3×3 pixel spatial kernel and a 3×3 pixel temporal kernel. The pixel spatial kernel is multiplied with the result of the first output layer in the direct prediction module to obtain the spatial filtering result.

[0079] Multiply the pixel temporal kernel with the warped reprojected image to obtain the temporal filtering result.

[0080] (4) Motion mask generation module.

[0081] Based on the motion vector of the next frame (i+1th frame), a motion mask is generated.

[0082] The specific motion mask generation method is consistent with the patent with application number 202310934428.2, and the invention name is A real-time image super-resolution completion method and system.

[0083] (5) Spatiotemporal multi-scale mixing module.

[0084] The spatiotemporal multiscale mixing module includes spatial hierarchical mixing and temporal mixing.

[0085] The specific mixing method is basically consistent with the patent with application number 202310934428.2 and invention name "A real-time image super-resolution completion method and system". The difference is that: when spatially mixing, this embodiment uses the third output layer result (192×256) of the direct prediction module, the second output layer result (384×512) and the spatial filtering result obtained by multiplying the pixel space kernel with the first output layer result.

[0086] Specifically, the third output layer result (192×256) and the second output layer result (384×512) obtained by the direct prediction module are first mixed using the inter-layer mixing weights to obtain a sub-fine mixing result (384×512). Subsequently, the sub-fine mixing result is mixed with the spatial filtering result (768×1024) obtained by the kernel prediction module using the inter-layer mixing weights to obtain a spatial multi-scale mixing result. Finally, the motion mask is multiplied with the temporal filtering result obtained by the kernel prediction module to cover the artifact area, and the temporal mixing weight is used to perform a weighted summation with the spatial multi-scale mixing result to obtain a spatiotemporal multi-scale mixing result, which is used as the completion result of the i+1th frame.

[0087] In this embodiment, the Pytorch framework and the Adam optimizer are used to construct and train the spatiotemporal multi-scale completion network, with an initial learning rate of 0.0001 and 100 generations of training each time. The Unity framework is used to obtain the comparison map, auxiliary feature cache and two motion vectors.

[0088] In this embodiment, the DGaze model is retrained using the data set of this embodiment.

[0089] The graphics processor and data set of this embodiment are consistent with the patent with application number 202310934428.2, and the invention name is A real-time image super-resolution completion method and system.

[0090] The loss function of the spatiotemporal multi-scale completion network in this embodiment is L1 spatial loss, L1 temporal loss, and perceptual loss L perceptual The weighted sum of the loss and SSIM loss is as follows:

[0091] Loss = (1-SSIM) + ω s ·L spatial +ω t ·L temporal +ω p ·L perceptual (3)

[0092] Among them, ω s ,ω t ,ω p are the weights of spatial loss, temporal loss and perceptual loss respectively.

[0093] The real-time image completion method based on gaze point prediction of this embodiment can be performed at a real-time rate, with an average time of 23.81ms per frame, which can be subdivided into three time-consuming parts: gaze point prediction (1.09ms), sparse rendering (6.52ms), and image completion (16.2ms). Among them, the image completion part can be subdivided into five parts: warping reprojection (1.12ms), feature reweighting (2.45ms), direct prediction (6.99ms), kernel prediction (3.75ms), and spatiotemporal multi-scale mixing (1.89ms).

[0094] Figure 3 The results of this embodiment are shown by Figure 3 It can be seen that compared with the prior art, the numerical values ​​and results of this embodiment are significantly improved, and the over-blurring, color aliasing and tailing problems existing in the prior art are significantly eliminated.

[0095] Figure 4 The user test results of this embodiment are shown. Figure 4 It can be seen that the technology of this embodiment provides better visual quality than the existing technology, and the combination of gaze point prediction and image completion also provides users with a better viewing experience.

[0096] The present invention combines the gaze point of the current frame with the gaze point prediction model, predicts the gaze point mask of the next frame in advance for sparse rendering, and performs image completion on this basis, thereby improving the continuity of user viewing; through a network architecture that combines direct prediction with kernel prediction, real-time image completion is achieved while ensuring image quality. Figure 5 As shown, the present invention achieves better image quality and inter-frame stability than existing methods and can run at real-time speed.

[0097] Embodiment 2

[0098] This embodiment provides an image completion system based on gaze point prediction, which specifically includes:

[0099] A gaze point prediction module is configured to: obtain a current frame gaze point; based on the current frame gaze point, predict a reference gaze point through a gaze prediction model, calculate a gaze probability map based on the current frame gaze point and the reference gaze point, respectively, and merge the two gaze probability maps to obtain a next frame gaze point mask;

[0100] The sparse rendering module is configured to: obtain a next frame image and a next frame motion vector, perform sparse rendering on the next frame image according to the next frame gaze point mask, and obtain a next frame sparse image; based on the next frame motion vector, in combination with the current frame complement image, calculate the distorted reprojection, and in combination with the next frame sparse image, calculate the re-weighted distorted reprojection feature;

[0101] The completion module is configured to generate a motion mask based on the motion vector of the next frame, splice the sparse image of the next frame and its auxiliary features with the re-weighted distorted reprojection features, and obtain the completed image of the next frame through a reconstruction network and spatiotemporal multi-scale mixing.

[0102] It should be noted here that the various modules in this embodiment correspond one-to-one to the various steps in Example 1, and the specific implementation process is the same, which will not be repeated here.

[0103] Embodiment 3

[0104] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the image completion method based on gaze point prediction as described in the first embodiment above are implemented.

[0105] Embodiment 4

[0106] This embodiment provides a computer device, such as Figure 6 As shown, it includes a computer-readable storage medium 1003, a processor 1001, a communication interface 1002, and a computer program stored on the computer-readable storage medium 1003 and executable on the processor 1001, wherein the processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 can be connected via a bus or other means. The communication interface 1002 is used to receive and send data, and when the processor 1001 executes the program, the steps in the image completion method based on gaze point prediction as described in the first embodiment above are implemented.

[0107] Embodiment 5

[0108] This embodiment provides a computer program product, which is a computer program product containing a computer program. When a processor executes the computer program, the steps in the image completion method based on gaze point prediction as described in the above-mentioned embodiment 1 are implemented.

[0109] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An image completion method based on gaze point prediction, characterized in that: include: Get the current frame's gaze point; Based on the current frame fixation point, the reference fixation point is predicted through the fixation prediction model, and a fixation probability map is calculated based on the current frame fixation point and the reference fixation point respectively, and the two fixation probability maps are merged to obtain the next frame fixation point mask; Obtain the next frame image and the next frame motion vector, perform sparse rendering on the next frame image according to the next frame gaze point mask, and obtain the next frame sparse image; Based on the motion vector of the next frame, combined with the current frame complement image, the distorted reprojection is calculated, and then combined with the next frame sparse image, the re-weighted distorted reprojection feature is calculated; Based on the motion vector of the next frame, a motion mask is generated. The sparse image of the next frame and its auxiliary features are spliced ​​with the re-weighted distorted reprojection features. After the reconstruction network and spatiotemporal multi-scale mixing, the completed image of the next frame is obtained.

2. The image completion method based on gaze point prediction according to claim 1, characterized in that: The prediction of the reference gaze point is combined with the dynamic object position sequence of the current frame and the historical gaze point position sequence.

3. The image completion method based on gaze point prediction according to claim 1, characterized in that: The calculation steps of the reweighted distorted reprojection features include: extracting auxiliary features of the next frame from the next frame sparse image, performing feature extraction on the auxiliary features of the next frame to obtain a sparse depth map of the next frame, performing two-layer convolution on the distorted reprojection and the next frame sparse depth map to obtain distorted reprojection features, concatenating the distorted reprojection features and the auxiliary features of the next frame into a tensor, performing three-layer convolution on the tensor to obtain pixel weights, and multiplying the pixel weights by the distorted reprojection features to obtain reweighted distorted reprojection features.

4. The image completion method based on gaze point prediction according to claim 1, characterized in that: The reconstruction network includes an encoder and a decoder; each layer of the encoder consists of a convolution layer and a maximum pooling down-sampling, each layer of the decoder consists of a bilinear interpolation up-sampling and a convolution layer, and the layers of the same scale between the encoder and the decoder use jump connections; different layers of the decoder output completed images and mixing weights of different scales.

5. The image completion method based on gaze point prediction according to claim 4, characterized in that: The last layer output of the decoder is convolved to obtain a pixel spatial kernel and a pixel temporal kernel; The pixel spatial kernel is multiplied by the last layer output of the decoder to obtain a spatial filtering result; The pixel time kernel is multiplied by the warped reprojected image to obtain a time filtering result.

6. The image completion method based on gaze point prediction according to claim 5, characterized in that: The spatial filtering result, the temporal filtering result, the motion mask and the completed images of different scales are mixed by mixing weights to obtain a completed image of the next frame.

7. An image completion system based on gaze point prediction, characterized in that: include: A gaze point prediction module is configured to: obtain a gaze point of a current frame; Based on the current frame fixation point, the reference fixation point is predicted through the fixation prediction model, and a fixation probability map is calculated based on the current frame fixation point and the reference fixation point respectively, and the two fixation probability maps are merged to obtain the next frame fixation point mask; A sparse rendering module is configured to: obtain a next frame image and a next frame motion vector, and perform sparse rendering on the next frame image according to a next frame gaze point mask to obtain a next frame sparse image; Based on the motion vector of the next frame, combined with the current frame complement image, the distorted reprojection is calculated, and then combined with the next frame sparse image, the re-weighted distorted reprojection feature is calculated; The completion module is configured to generate a motion mask based on the motion vector of the next frame, splice the sparse image of the next frame and its auxiliary features with the re-weighted distorted reprojection features, and obtain the completed image of the next frame through a reconstruction network and spatiotemporal multi-scale mixing.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the image completion method based on gaze point prediction as described in any one of claims 1 to 6 are implemented.

9. A computer device comprising a computer-readable storage medium, a processor, and a computer program stored on the computer-readable storage medium and executable on the processor, characterized in that: When the processor executes the program, the steps in the image completion method based on gaze point prediction as described in any one of claims 1-6 are implemented.

10. A computer program product, which is a computer program product containing a computer program, characterized in that When the processor executes the computer program, the steps in the image completion method based on gaze point prediction as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Real-time image super-resolution completion method and system

    CN117011141A