A method for image quality evaluation in virtual reality
Through the image restoration of the IRG module and the hierarchical prediction of the HQP module, the performance degradation problem of splicing distortion in panoramic stitching image quality evaluation is solved, blind evaluation and high-performance quality evaluation of panoramic stitching images are realized, and the dependence on reference images is avoided. .
Patent Information
- Application Number
- CN202111549436.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-17
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-17
AI Technical Summary
Existing panoramic image quality evaluation methods suffer performance degradation when faced with splicing distortion, and require manual design of features and reliance on reference images, resulting in poor performance in practical applications.
The IRG module is used for image restoration, the network is built through the deblurgan-v2 structure, the model is trained to mitigate ghost distortion, and the HQP module is used for hierarchical prediction, and the FPN feature pyramid and deep convolutional network are used to predict quality scores at different scales to achieve Blind evaluation of panoramic stitched images.
It effectively reduces ghost distortion in spliced images and enables blind evaluation of panoramic spliced images without the need for reference images or component images. The IRG module and HQP module can be used independently and are suitable for other IQA evaluation tasks.
Smart Images

Figure CN114359180B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an image quality evaluation method, and in particular to an image quality evaluation method oriented to virtual reality. Background Art
[0002] In recent years, there has been increasing interest in technologies that can provide consumers with realistic and immersive visual experiences, such as virtual reality and augmented reality. Panoramic images play a fundamental and important role in achieving this experience, which is usually generated by stitching multiple viewpoint images using stitching algorithms. In practical applications, panoramic images usually go through a series of stages before they can be presented to users through head-mounted displays, including viewpoint image acquisition, stitching, encoding, transmission, storage, and display. Each stage may introduce distortion, resulting in the degradation of the panoramic image and ultimately affecting the image quality. Panoramic image quality assessment (PIQA) plays a vital role in panoramic image technology, so it is very meaningful to conduct quality assessment of panoramic images.
[0003] In the process of obtaining panoramic images, stitching distortion is one of the main causes of panoramic image distortion. Many general methods focusing on panoramic image quality assessment have been proposed, which can be divided into general methods and methods based on specific objectives. Similar to traditional general IQA methods, general PIQA methods are those that can be used for PIQA without knowing the distortion type in advance.
[0004] However, the databases used for performance verification of these general PIQA methods only include distortions introduced in stages other than the stitching stage, especially the encoding stage. Therefore, the performance of these algorithms will be greatly reduced when facing the stitching distortion of panoramic images.
[0005] Stitching distortion is the distortion produced when a panoramic image is generated from multiple component images using a stitching algorithm. Compared with the distortion introduced in other stages, stitching distortion has special characteristics such as geometric deformation and ghosting. These types of distortion are very different from traditional distortion, but they also seriously affect people's perception of image quality.
[0006] In contrast, targeted PIQA methods are specifically designed for a certain type of distortion. That is, the type of distortion must be known before quality evaluation. At present, some scholars have proposed some methods for stitching deformation. These methods consider and simulate the specific characteristics of stitching deformation. However, their features are all manually designed, and the limitations of manually designed features make their performance far from satisfactory. In addition, some methods rely on reference panoramic images or component images, which are usually difficult to obtain in practical applications, resulting in their limitations in practice. These facts show that it is very meaningful and necessary to design a higher-performance panoramic stitching image quality evaluation SPIQA method. Summary of the invention
[0007] Purpose of the invention: The purpose of the present invention is to provide a virtual reality oriented image quality evaluation method for blind evaluation of panoramic stitching images.
[0008] Technical solution: The image quality evaluation method of the present invention comprises the following steps:
[0009] S1, input the original distorted image into the IRG module, and the IRG module restores the original distorted image to obtain the IR image; then the original distorted image and the IR image are cropped respectively to ensure that the patches of the original distorted image and the patches of the IR image correspond one to one after the cropping process;
[0010] S2, the original distorted image and the cropped patches of the IR image are sent to the HQP module in pairs, and hierarchical predictions are performed at different scales to obtain the score of each patch;
[0011] After all patches are predicted, the final score of the original distorted image is calculated based on the scores and weights of different patches in each image;
[0012] S3, judges the quality of the stitched image based on the final score of the original distorted image.
[0013] Furthermore, in step S1, the construction and implementation process of the IRG module is as follows:
[0014] S11, selecting a set number of image pairs to construct a training database for the IRG module, and each pair of images includes an undistorted reference image and a distorted image with ghosting distortion manually added to the undistorted reference image;
[0015] Each pair of undistorted reference images I is considered as a superimposed version of the first image I1 and the second image I2:
[0016] (i,j)=I1(i,j)+I2(i,j)
[0017] Where I1(i,j)=I2(i,j)=1 / 2I(i,j), (i,j) represents the horizontal and vertical coordinates of the pixel; the second image I2 is randomly shifted in both direction and amplitude, first randomly selecting the left or right horizontal movement, and then randomly selecting the up or down vertical movement;
[0018] S12, using the deblurgan-v2 structure to build the IRG module network structure, the deblurgan-v2 structure includes a generator and a discriminator, the generator generates results that deceive the discriminator, and the discriminator separates the pictures generated by the generator from the real pictures;
[0019] S13, train the IRG model, and use the comprehensive loss function L c It is expressed as follows:
[0020] L c =αL ms-ssim +(1-α)L L1
[0021] Among them, α = 0.84, L ms-ssim is the loss value of MS-SSMI, L L1 is the loss value of L1;
[0022] Therefore, the total loss function L total for:
[0023] L total =βL c +γL x +δL adv
[0024] Among them, L x is the Euclidean distance on the 3*3 convolutional feature map of the vgg19 network; β, γ and δ are L c , L x , L adv The weight parameter L adv To combat the loss function, the total loss includes the global discriminator and the local discriminator.
[0025] During network training, the output of each round of validation set is saved, and a round of models that meet the restoration requirements are selected through manual screening as the ghosting distortion restoration model of the IRG module;
[0026] After obtaining the ghosting distortion recovery model of the IRG module, the motion blur removal model in deblurgan-v2 is used to deblur the image and generate an IR image of the spliced distorted image.
[0027] Furthermore, in step S2, the construction and implementation process of the HQP module is as follows:
[0028] S21, select the ISIQA panoramic stitching image library as the HQP dataset;
[0029] S22, a deep convolutional network is used to construct the HQP module, which divides the original distorted image and the generated IR image into non-overlapping patches of 256×256 pixels respectively;
[0030] When the patch is input into the network, it passes through the resnet34 backbone network to obtain 5 scale feature layers C1-C5. The C5 layer is reduced to 256 dimensions through 1×1 convolution to obtain the F5 feature map; the F5 feature map is upsampled by 2 times and added to the feature after dimension reduction of the C4 layer to obtain the F4 feature map; the F4 feature map is upsampled by 2 times and added to the feature map after dimension reduction of the C3 layer to obtain the F3 feature map; the F3 feature map is upsampled by 2 times and added to the feature map after dimension reduction of the C2 layer to obtain the F2 feature map;
[0031] Distortion Figure I s and IR image I r Perform the operations separately to obtain two sets of feature maps, which are called F s and F r ; In F s and F r The difference operation is performed between them, and the feature distance D caused by the splicing distortion is i The expression is:
[0032] D i =|F r,i -F s,i |, 1≤i≤4
[0033] Among them, F r,i and F s,i Respectively represent the distortion image I s and IR image I r Feature map at the i-th scale;
[0034] Then to D i and F s,i Perform adaptive average pooling to obtain the feature vectors V d and V f ; Afterwards, V d and V f are concatenated together to form the feature vector f i , i is the feature layer of different scales;
[0035] A score regression network and a weight prediction network are used to assign different weights and scores to each patch. Each network consists of two layers of fully connected FC networks. and is the score and weight of the network prediction for the jth patch at scale i; It is sent to the FC network, adaptively assigning the scores of each layer scale, and finally obtaining the comprehensive score q of the i-th patch i ; Similarly, It is sent to the FC network to obtain the comprehensive weight w of the jth patch i ; Finally, the final score calculation formula of the original distorted image is:
[0036]
[0037] Among them, B is the number of patches, q total is the final score of the original distorted image;
[0038] S23, train the HQP module. During the training process, the Loss function used is as follows:
[0039]
[0040] Among them, ω represents the network weight parameter, Q(I t ;ω) and g(I t ) represent the predicted score and subjective score of the t-th image in the database, T is the number of images in the training database, and λ is the weight decay parameter for regularized stable training.
[0041] Compared with the prior art, the present invention has the following significant effects:
[0042] 1. The IRG module in the present invention performs image restoration for ghosting distortion in panoramic image stitching, which can effectively reduce the ghosting distortion phenomenon in panoramic stitching images; the HQP module adopts the FPN feature pyramid and uses feature layers of various scales when predicting the quality score, which not only effectively utilizes the detail information in the underlying features of the image but also better retains the semantic information in the high-level features of the image;
[0043] 2. The evaluation process of the present invention does not require reference images or panoramic image components, and achieves complete blind evaluation of panoramic stitching images;
[0044] 3. In the present invention, both the IRG module and the HQP module can be used separately. The IRG module can effectively restore the artifacts caused by image distortion, and the neural network structure of the HQP module can also be used for other IQA evaluation tasks after training. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0046] Figure 2 This is a schematic diagram of the deblurgan-v2 structure;
[0047] Figure 3 This is the effect diagram of the IRG module of this method. DETAILED DESCRIPTION
[0048] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0049] In the layered panoramic stitching image quality evaluation method of the present invention, the IRG module uses image restoration technology to restore and reduce the ghosting distortion in the stitching picture to obtain the IRG image. Figure 1 The image is sent to the network, and the quality score is evaluated on the feature layers of different scales by extracting the difference feature map between the IRG image and the original distorted image and the feature map of the distorted image. In the implementation process of the method of the present invention, two modules are mainly included, the IRG (imaginary reference generation) module and the HQP (hierarchical quality prediction) module. Figure 1 shown.
[0050] (I) Construction of IRG module
[0051] 11) Construction of training database
[0052] The training database of the IRG module consists of a large number of image pairs, and each pair of images includes a reference image and a corresponding distorted image generated by manually generating ghosting distortion on the reference image. First, a large number of distortion-free reference images are collected. In this work, about 70,000 reference images come from flickr, MIT palac2 database and waterloo database. In order to obtain better training results, the training data set contains as much image content as possible, including landscapes, people, buildings, sculptures and animals. In addition, ghosting distortion is manually added to these reference images. Each reference image I is regarded as a superimposed version of the first image I1 and the second image I2 (i.e., two images):
[0053] I(i,j)=I1(i,j)+I2(i,j) (1)
[0054] Among them, I1(i,j)=I2(i,j)=1 / 2I(i,j), (i,j) represents the horizontal and vertical coordinates of the pixel.
[0055] To simulate the ghosting effect, the second image I2 is randomly offset in both direction and magnitude. The selection of the offset direction includes two steps: first, randomly selecting a horizontal shift to the left or right; then randomly selecting a vertical shift to the top or bottom. The offset magnitude in each direction is randomly selected from 0 to 25 pixels, and it is ensured that the horizontal and vertical offset magnitudes are not equal to 0 at the same time to ensure the ghosting effect.
[0056] 12) IRG module network structure
[0057] The idea of the IRG module is to use image restoration technology to obtain the restored image of the distorted image, and use the restored image to assist in evaluating the distorted image. The IRG module uses the deblurgan-v2 structure, such as Figure 2 shown.
[0058] Deblurgan-v2 is generally composed of a generator and a discriminator. The goal of the generator is to generate results that can deceive the discriminator as much as possible. The goal of the discriminator is to try to distinguish the pictures generated by the generator from the real pictures. In this way, the generator and the discriminator constitute a dynamic "game process". In the mutual game between the generator and the discriminator, mutual learning produces ideal results.
[0059] Deblurgan-v2 uses the FPN structure in the generator to extract features of the input image from different scales. Feature maps of different scales are downsampled to the input Figure 1 / 4 size and connected together through the Concatenate operation. The last two layers of the generator network are the upsampling layer and the convolution layer, which are used to restore the feature map to the original size of the input map and reduce ghosting. In addition, a connection is added between the input and output, which allows the network to focus more on learning the difference between the input and output images. In terms of the backbone network, Inception-ResNet-v2 is selected to obtain the best de-ghosting performance.
[0060] In the discriminator part, deblurgan-v2 uses a new discriminator loss function RaGAN-LS:
[0061]
[0062] Among them, D(x) represents the discriminator, G(z) represents the generator, the random variable z follows the standard normal distribution, and E is the mathematical expectation. At the same time, in order to make better use of global and local features, the discriminator uses a local + global dual discriminator method. The global discriminator directly discriminates the global image, while the local discriminator divides the global image into small patches of 70×70 and then sends it to the discriminator.
[0063] 13) Training of IRG model
[0064] Based on the structure of deblurgan-v2, the loss during training is improved. The L2 loss in deblurgan-v2 is replaced by the loss of L1+MS-SSIM. MS-SSIM (multi-scale structural similarity loss function) is insensitive to brightness and color changes, but can better preserve high-frequency information, while L1 can better preserve color brightness features, so they can be combined to form a comprehensive loss function L c as follows:
[0065] L c =αL ms-ssim +(1-α)L L1 (3)
[0066] Among them, α = 0.84, L ms-ssim is the loss value of MS-SSMI, L L1 is the loss value of L1.
[0067] Therefore, the final total loss function L total Defined as:
[0068] L total =βL c +γL x +δL adv (4)
[0069] Among them, L x is the Euclidean distance on the 3*3 convolutional feature map of the vgg19 network; L adv is the adversarial loss function, which includes the total loss of the global discriminator and the local discriminator; β, γ and δ are L c , L x , L adv Since the training results of GAN are difficult to quantify by calculating the Loss value, the output of each round of validation set is saved during network training, and the model with the best restoration effect is selected through manual screening as the ghosting distortion restoration model of the IRG module.
[0070] After obtaining the ghosting distortion restoration model of the IRG module, the motion blur removal model provided in deblurgan-v2 is further used to remove image blur. Through these two image restoration steps, an IR image of the spliced distorted image is generated.
[0071] The final recovery effect of the IRG module is as follows Figure 3 As shown, the left side is the ghosting distortion image captured from the ISIQA library, and the right side is the IR (imaginary reference) image restored after the ghosting distortion image passes through the IRG module.
[0072] (II) Construction of HQP module
[0073] 21) HQP dataset
[0074] The HQP module is trained based on the Indian Institute of Science Stitched IQA (ISIQA) panoramic stitching image database, which is currently recognized as the most extensive stitching panoramic image database. It consists of 264 panoramic stitching images covering 26 different scenes, and these images are generated using different stitching algorithms. Each panoramic image is generated from 4-5 component images. The ISIQA database also provides mean opinion scores (mos) as benchmark scores. These benchmark scores are obtained in subjective tests. The scorers are required to wear VR equipment, and about 25 scorers provide opinion scores for each panoramic image.
[0075] 22) HQP module network structure
[0076] First, because the resolution of the original distorted image is very high, it is limited by the size of the neural network and it is impossible to directly evaluate the entire panoramic stitched image. Therefore, the original distorted image and the generated IR image are segmented into non-overlapping patches of 256×256 pixels. The hierarchical characteristics of the deep convolutional network (DCN) are used for hierarchical quality prediction. Since the higher layers in the DCN contain more semantic information, while the lower layers usually contain detailed information on local edges and textures, in order to better express the features, the high-level features are fused with the low-level features through the add operation (i.e., superposition operation). The structure of the entire network is as follows: Figure 1 shown.
[0077] When the patch is input into the network, it passes through the resnet34 backbone network to obtain 5 scale feature layers C1-C5. After that, the C5 layer is reduced to 256 dimensions through 1×1 convolution to obtain F5. After that, F5 is upsampled by 2 times and added to the feature map after dimensionality reduction of C4 to obtain F4. After obtaining F4, F4 is upsampled by 2 times and added to the feature map after dimensionality reduction of C3 to obtain F3. After obtaining F3, F3 is upsampled by 2 times and added to the feature map after dimensionality reduction of C2 to obtain F2. Finally, four feature maps F2-F5 are obtained.
[0078] Distortion Figure I s and IR image I r Perform the operations separately to obtain two sets of feature maps, which are called F s and F r Then in F s and F r A difference operation is performed between them to represent the characteristic distance D caused by the splicing distortion. i :
[0079] D i =|F r,i -F s,i |,1≤i≤4 (5)
[0080] Among them, F r,i and F s,i Respectively represent the distortion image I s and IR image I r Feature map at the i-th scale.
[0081] Then to D i and F s,i Perform adaptive average pooling (AAP) to obtain the feature vector V d and V f Afterwards, V d and V f will be concatenated together to form the feature vector f i , i corresponds to feature layers of different scales.
[0082] The network of the present invention adaptively assigns different weights to each patch. To achieve this goal, the prediction of the quality score is completed by a score regression network and a weight prediction network. Each network consists of two layers of fully connected FC networks, and a dropout with a drop probability of 0.4 is added before each fully connected layer.
[0083] and is the score and weight of the network prediction for the jth patch at scale i. It is sent to the FC network, adaptively assigning the scores of each layer scale, and finally obtaining the comprehensive score q of the i-th patch i ; Similarly, It is sent to the FC network to obtain the comprehensive weight w of the jth patch i ; Finally, the final score calculation formula of the original distorted image is:
[0084]
[0085] Among them, B is the number of patches, q total is the final score of the original distorted image. The quality score ranges from 0 to 100, and the higher the score, the better the quality.
[0086] 3) Training of HQP module
[0087] In order to alleviate the problem of network overfitting, we first pre-trained on the Kadid-10k database, and then fine-tuned and tested on the ISIQA database. During the training process, the Loss function is as follows:
[0088]
[0089] Among them, ω represents the network weight parameter, Q(I t ;ω) and g(I t ) represents the predicted score and subjective score of the t-th image in the database, T is the number of images in the training library; λ is the weight decay parameter for regularized stable training, and its value is set to 0.0001.
[0090] The present invention uses L1 regularization to constrain the network weight parameter ω, so that the overfitting of the network can be effectively alleviated. When the Loss function value tends to be flat and no longer decreases during training, the training ends.
[0091] 3. Method performance evaluation
[0092] In order to measure the performance of the present invention, three generally recognized performance criteria are used to evaluate the performance from the two aspects of prediction accuracy and monotonic consistency. The prediction accuracy is measured by the Pearson linear correlation coefficient (PLCC) and the root mean square error (RMSE), and the monotonic consistency is measured by the Spearman rank correlation coefficient (SRCC); wherein, the higher the PLCC and SRCC values, and the lower the RMSE value, the better the performance of the test method.
[0093] After pre-training, 80% of the images in the ISIQA database are randomly selected for fine-tuning training, and the remaining 20% of the images are subjected to performance testing; the process is repeated 10 times, and the plcc, srcc, and rmse values of each test are recorded and the average and standard deviation (std) values are reported. The same training and testing operations are also performed on other general image quality assessment methods and panoramic stitching image quality assessment. For fairness, the methods that need to be trained are also trained on the ISIQA database. The comparison data with other methods are shown in Table 1. It can be concluded that the method of the present invention has significant advantages over other general image quality assessment methods, and its performance is also slightly better than other panoramic stitching image quality assessments.
[0094] Table 1 Comparison results of the present invention and other general image quality evaluation methods
[0095] Method Name type PLCC SRCC RMSE BRISQUE General 0.559 0.533 0.835 DIIVINE General 0.303 0.501 1.177 NIQE General 0.179 0.163 1.536 ILNIQF General 0.338 0.285 1.137 NFERM General 0.321 0.373 1.165 BMPRI General 0.392 0.404 1.098 SSEQ General 0.317 0.347 1.156 DEEPIQA General 0.633 0.596 0.856 DB-CNN General 0.512 0.508 0.988 SIQE Splicing 0.84 0.832 - BSPIQA Splicing 0.802 0.759 - Method of the present invention Splicing 0.861 0.868 0.562
[0096] The various methods cited in Table 1 are as follows:
[0097] BRISQUE: A. Mittal, A. K. Moorthy, and A. C. Bovik, "No-reference image quality assessment in the spatial domain," IEEE Trans. Image Process., vol. 21, no. 12, pp. 4695-4708, 2012;
[0098] DIIVINE: AK Moorthy and ACBovik, "Blind image quality assessment: From natural scene statistics to perceptual quality," IEEE Trans. Image Process., vol. 20, no. 12, pp. 3350-3364, 2011;
[0099] NIQE: A.Mittal, R.Soundararajan, and A.C. Bovik, "Making a completely blind image quality analyzer," IEEE Signal Process. Lett., vol. 20, no. 3, pp. 209-212, 2013;
[0100] ILNIQE: L. Zhang, L. Zhang, and ACBovik, "A feature-enriched completely blind image quality evaluator," IEEE Trans. Image Process., vol. 24, no. 8, pp. 2579-2591, 2015;
[0101] NFERM: W.Xue, X.Mou, L.Zhang, A.C.Bovik, and X.Feng, "Blind image quality assessment using joint statistics of gradient magnitude and Laplacian features," IEEE Trans. Image Process., vol.23, no.11, pp.4850-4862, 2014;
[0102] BMPRI: X.Min, G.Zhai, K.Gu, Y.Liu, and X.Yang, "Blind image quality estimation via distortion aggravation," IEEE Trans. Broadcast., vol.64, no.2, pp.508-517, 2018;
[0103] SSEQ: LX Liu, B. Liu, H. Huang, and ACBovik, "No-reference image quality assessment based on spatial and spectral entropies," Signal Process. Image Commun., vol. 29, pp. 856-863, 2014;
[0104] DEEPIQA: S. Bosse, D. Maniry, KR M¨uller, T. Wiegand, adn W. Samek, "Deep neural networks for no-reference and full-reference image quality assessment," IEEE Trans. Image Process., vol. 27, no. 1, pp. 206-219, 2018;
[0105] DB-CNN: WX Zhang, KDMa, J. Yan, DX Deng, and Z. Wang, "Blind image quality assessment using a deep bilinear convolutional neural network," IEEE Trans. Circuits Syst. Video Technol., vol. 30, no. 1, pp. 36-47, 2020;
[0106] SIQE: P.C. Madhusudana and R. Soundararajan, "Subjective and objective quality assessment of stitched images for virtual reality," IEEE Trans. Image Process., vol. 28, no. 11, pp. 5620-5635, 2019;
[0107] BSPIQA: J.W.Hou, W.S.Lin, and B.Q.Zhao, "Content-dependency reduction with multi-task learning in blind stitched panoramic image quality assessment," in Proc. IEEE Int. Conf. Image Process. (ICIP), Abu Dhabi, United Arab Emirates, 2020, pp. 3463-3467.
[0108] (IV) Forecasting complete process
[0109] Step 1: Input the original distorted image into the IRG module to restore the corresponding IR image; then both the original distorted image and the IR image are cropped into 256×256 patches.
[0110] Step 2: Send the original distorted image and the IR image cut patches into the network in pairs, and perform hierarchical prediction at different scales to get the score of each patch. (Note: The patches of the original distorted image and the patches of the IR image are one-to-one corresponding.)
[0111] Step 3: After all patches are predicted, the final score of the distorted image is calculated based on the scores and weights of different patches in each image.
Claims
1. A method for evaluating image quality for virtual reality, characterized in that: The steps include: S1, input the original distorted image into the IRG module, and the IRG module restores the original distorted image to obtain the IR image; then the original distorted image and the IR image are cropped respectively to ensure that the patches of the original distorted image and the patches of the IR image correspond one to one after the cropping process; S2, the original distorted image and the cropped patches of the IR image are sent to the HQP module in pairs, and hierarchical predictions are performed at different scales to obtain the score of each patch; After all patches are predicted, the final score of the original distorted image is calculated based on the scores and weights of different patches in each image; S3, judging the quality of the stitched image based on the final score of the original distorted image; In step S1, the construction and implementation process of the IRG module is as follows: S11, select a set number of image pairs to construct a training database for the IRG module, and each pair of images includes an undistorted reference image and a distorted image with ghosting distortion manually added to the undistorted reference image; each pair of undistorted reference images I is regarded as a superimposed version of the first image I1 and the second image I2: (i, j) = I1(i, j) + I2(i, j) Where I1(i, j)=I2(i, j)=1 / 2I(i, j), (i, j) represents the horizontal and vertical coordinates of the pixel; the second image I2 is randomly shifted in both direction and amplitude, first randomly selecting the left or right horizontal movement, and then randomly selecting the up or down vertical movement; S12, using the deblurgan-v2 structure to build the IRG module network structure, the deblurgan-v2 structure includes a generator and a discriminator, the generator generates results that deceive the discriminator, and the discriminator separates the pictures generated by the generator from the real pictures; S13, train the IRG model, and use the comprehensive loss function L c It is expressed as follows: L c =αL ms-ssim +(1-α)L L1 Among them, α = 0.84, L ms-ssim is the loss value of MS-SSMI, L L1 is the loss value of L1; Therefore, the total loss function L total for: L total =βL c +yL x +δL adv Among them, L x is the Euclidean distance on the 3*3 convolutional feature map of the vgg19 network; β, γ and δ are L c , L x , L adv The weight parameter L adv To combat the loss function, the total loss includes the global discriminator and the local discriminator. During network training, the output of each round of validation set is saved, and a round of models that meet the restoration requirements are selected through manual screening as the ghosting distortion restoration model of the IRG module; After obtaining the ghosting distortion recovery model of the IRG module, the motion blur removal model in deblurgan-v2 is used to deblur the image and generate the IR image of the spliced distorted image; In step S2, the construction and implementation process of the HQP module is as follows: S21, select the ISIQA panoramic stitching image library as the training data set of the HQP module; S22, a deep convolutional network is used to construct the HQP module, which divides the original distorted image and the generated IR image into non-overlapping patches of 256×256 pixels respectively; S23, train the HQP module. During the training process, the Loss function used is as follows: Among them, ω represents the network weight parameter, Q(I t ;ω) and g(I t ) represent the predicted score and subjective score of the t-th image in the database, T is the number of images in the training database, and λ is the weight decay parameter for regularized stable training.
2. The image quality evaluation method for virtual reality according to claim 1, characterized in that: In step S22, the specific implementation process of segmenting the original distorted image and the generated IR image into non-overlapping patches of 256×256 pixels is as follows: When the patch is input into the network, it passes through the resnet34 backbone network to obtain 5 scale feature layers C1-C5. The C5 layer is reduced to 256 dimensions through 1×1 convolution to obtain the F5 feature map. The F5 feature map is upsampled by 2 times and added to the feature map after the C4 layer is reduced in dimension to obtain the F4 feature map. The F4 feature map is upsampled by 2 times and added to the feature map after the C3 layer is reduced in dimension to obtain the F3 feature map. The F3 feature map is upsampled by 2 times and added to the feature map after dimensionality reduction of C2 to obtain the F2 feature map; Distortion Figure I s and IR image I r Perform the operations separately to obtain two sets of feature maps, which are called F s and F r ; In F s and F r The difference operation is performed between them, and the feature distance D caused by the splicing distortion is i The expression is: D i =|F r,i -F s,i |,1≤i≤4 Among them, F r,i and F s,i Respectively represent the distortion image I s and IR image I r Feature map at the i-th scale; Then to D i and F s,i Perform adaptive average pooling to obtain the feature vectors V d and V f ; Afterwards, V d and Vf are concatenated together to form the feature vector f i , i is the feature layer of different scales; A score regression network and a weight prediction network are used to assign different weights and scores to each patch. Each network consists of two layers of fully connected FC networks. and is the score and weight of the network prediction for the jth patch at scale i; It is sent to the FC network, adaptively assigning the scores of each layer scale, and finally obtaining the comprehensive score q of the i-th patch i ; Similarly, It is sent to the FC network to obtain the comprehensive weight w of the jth patch i ; Finally, the final score calculation formula of the original distorted image is: Among them, B is the number of patches, q total is the final score of the original distorted image.
Citation Information
Patent Citations
Quality evaluation method of immersive virtual reality based on human visual perception process
CN109257593A
Panoramic image blind quality evaluation method
CN111127298A
