Quality evaluation method and device for distorted panoramic image
Through the improved Vmamba model and feature fusion module, combined with local and global feature extraction, the problem of incomplete information representation and neglected feature interaction in panoramic image quality evaluation is solved, and a more accurate panoramic image quality evaluation is achieved.
Patent Information
- Application Number
- CN202411031123.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-22
AI Technical Summary
The existing panoramic image quality evaluation methods cannot effectively capture the interactive relationship between the visual characteristics of the human eye and the visual characteristics, resulting in limited performance and the inability to accurately evaluate the quality of distorted panoramic images.
The improved Vmamba model is used to combine local feature extraction and global feature extraction, and the local features and global features are fused from shallow to deep through the feature fusion module, and the quality evaluation score of the viewport map is calculated as the basis for panoramic image quality evaluation.
It improves model accuracy, reduces feature redundancy, can more accurately reflect local quality degradation information, enhances feature representation ability, and realizes effective evaluation of panoramic image quality.
Smart Images

Figure CN119006386A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of panoramic image quality assessment, and more particularly, to a method and apparatus for assessing the quality of a distorted panoramic image. Background Art
[0002] With the continuous development of artificial intelligence technology, panoramic images have been widely used, including surveillance cameras, aerial photography, and virtual reality. Compared with traditional images, panoramic images have a larger field of view and richer visual content. Like traditional images, panoramic images will introduce noise in acquisition, transmission, and display, which will damage the quality of panoramic images. It is necessary to evaluate the quality of panoramic images before application. However, due to the wide viewing angle and large amount of data of panoramic images themselves, traditional image quality evaluation methods are not suitable for the quality evaluation of panoramic images, which brings challenges to the quality evaluation of panoramic images. Therefore, an effective panoramic image quality assessment (OIQA) method has been studied.
[0003] The original OIQA method was an improvement on the traditional image quality assessment method, but it did not take into account the characteristics of panoramic images, so the performance was poor. Later, inspired by the wide viewing angle of panoramic images and combining the characteristics of panoramic images, many researchers proposed methods based on manual feature extraction, but the above methods rely on the accuracy and comprehensiveness of feature extraction and are not very accurate.
[0004] Based on the above work, the existing deep learning-based OIQA methods have proposed different deep learning methods considering the importance of human visual features. However, these methods generally have the problem of incomplete representation of perceptual information and ignore the interaction between visual features, resulting in limited performance. Therefore, it is necessary to establish a panoramic image quality evaluation method that effectively combines the visual perception characteristics of the human eye and the feature fusion relationship. Summary of the invention
[0005] According to an embodiment of the present invention, a quality evaluation scheme for distorted panoramic images is provided. The scheme can effectively combine the visual characteristics of human eyes to capture complete perceptual information, reduce feature redundancy, and improve model accuracy.
[0006] In a first aspect of the present invention, a method for evaluating the quality of a distorted panoramic image is provided. The method comprises:
[0007] Acquire a distorted panoramic image, and perform local feature extraction on the distorted panoramic image to obtain local features;
[0008] Using an improved Vmamba model to extract global features from the distorted panoramic image, obtaining global features;
[0009] Inputting the local features and the global features into a feature fusion module to obtain a quality evaluation score of the viewport image;
[0010] The average quality evaluation score of all viewport images is calculated as the quality evaluation score of the distorted panoramic image to evaluate the quality of the panoramic image.
[0011] In a second aspect of the present invention, a quality evaluation device for a distorted panoramic image is provided. The device comprises:
[0012] A local feature extraction module is used to obtain a distorted panoramic image, and perform local feature extraction on the distorted panoramic image to obtain local features;
[0013] A global feature extraction module, used for extracting global features from the distorted panoramic image using an improved Vmamba model to obtain global features;
[0014] A feature fusion module, used for inputting the local features and the global features into the feature fusion module to obtain a quality evaluation score of the viewport image;
[0015] The evaluation module is used to calculate the average quality evaluation score of all viewport images as the quality evaluation score of the distorted panoramic image and evaluate the quality of the panoramic image.
[0016] In a third aspect of the present invention, an electronic device is provided. The electronic device has at least one processor; and a memory connected to the at least one processor in communication; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method of the first aspect of the present invention.
[0017] In a fourth aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method of the first aspect of the present invention.
[0018] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0020] Figure 1 A flow chart of a method for evaluating quality of a distorted panoramic image according to an embodiment of the present invention is shown;
[0021] Figure 2 A flow chart of extracting local features from a distorted panoramic image according to an embodiment of the present invention is shown;
[0022] Figure 3 A schematic diagram of the structure of quality evaluation of a distorted panoramic image according to an embodiment of the present invention is shown;
[0023] Figure 4 A schematic diagram of a Resnet18 local feature extraction network according to an embodiment of the present invention is shown;
[0024] Figure 5 shows a distorted panoramic image according to an embodiment of the present invention;
[0025] Figure 6 A distorted panoramic image viewport diagram according to an embodiment of the present invention is shown;
[0026] Figure 7 A pseudo reference viewport diagram according to an embodiment of the present invention is shown;
[0027] Figure 8 shows a viewport error map according to an embodiment of the present invention;
[0028] Fig. 9 A first local feature example diagram according to an embodiment of the present invention is shown;
[0029] Fig.10 A second local feature example diagram according to an embodiment of the present invention is shown;
[0030] Fig.11 A third local feature example diagram according to an embodiment of the present invention is shown;
[0031] Fig.12 A first global feature example diagram according to an embodiment of the present invention is shown;
[0032] Fig.13 A second global feature example diagram according to an embodiment of the present invention is shown;
[0033] Fig.14 A third global feature example diagram according to an embodiment of the present invention is shown;
[0034] Fig.15 An example diagram of first-level fusion features according to an embodiment of the present invention is shown;
[0035] Fig.16 An example diagram of second-level fusion features according to an embodiment of the present invention is shown;
[0036] Fig.17 An example diagram of the third-level fusion features according to an embodiment of the present invention is shown;
[0037] Fig.18 A block diagram of a device for evaluating quality of a distorted panoramic image according to an embodiment of the present invention is shown;
[0038] Fig.19 A block diagram of an exemplary electronic device capable of implementing embodiments of the present invention is shown.
[0039] Among them, 1900 is an electronic device, 1901 is a computing unit, 1902 is a ROM, 1903 is a RAM, 1904 is a bus, 1905 is an I / O interface, 1906 is an input unit, 1907 is an output unit, 1908 is a storage unit, and 1909 is a communication unit; DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0042] In the present invention, a distorted panoramic image is obtained; the distorted panoramic image is input into a local feature extraction network to output local features; the distorted panoramic image is input into an improved Vmamba model to obtain global features; the local features and global features are input into a feature fusion module to obtain a quality evaluation score of the viewport image; the average value of the quality evaluation scores of all viewport images is calculated as the quality evaluation score of the distorted panoramic image to evaluate the quality of the panoramic image. The above method can get rid of the limitation of the reference image and is more universal; at the same time, it can reflect local quality degradation information and improve feature representation capabilities; and it can effectively connect shallow features and deep features, effectively strengthening the effective fusion of local features and global features from shallow to deep.
[0043] Figure 1 A flow chart of a method for evaluating quality of a distorted panoramic image according to an embodiment of the present invention is shown.
[0044] In this embodiment, the structure of the quality evaluation network of the distorted panoramic image is as follows: Figure 3 shown.
[0045] Specifically, the quality evaluation method of the distorted panoramic image includes:
[0046] S101: Acquire a distorted panoramic image, and extract local features from the distorted panoramic image to obtain local features.
[0047] Figure 2 A flow chart of extracting local features from a distorted panoramic image according to an embodiment of the present invention is shown.
[0048] In this embodiment, extracting local features from the distorted panoramic image to obtain local features includes:
[0049] S201, obtaining a distorted panoramic image I, and performing viewport segmentation on the distorted panoramic image to obtain a distorted panoramic image viewport map.
[0050] Specifically, Figure 5 The distorted panorama shown in Figure 6 The distorted panoramic image viewport diagram shown uses the viewport acquisition method FoV Selection (Field of View Selection) to obtain the viewport diagram ID of the distorted panoramic image.
[0051] S202: Input the distorted panoramic image viewport image into the image restoration module, and output the corresponding pseudo reference viewport image I R .
[0052] Specifically, the distorted panoramic image viewport image and the text sentence “restore image quality” are input into the image restoration module to obtain the corresponding pseudo reference viewport image I R , pseudo reference viewport I R like Figure 7 shown.
[0053] Through the pseudo reference viewport I R It can be clearly seen that the color of the sky area is restored, which shows the effectiveness of the restoration module. It enables this method to capture local quality degradation information without reference information, thereby improving the feature representation capability and generalization of the method.
[0054] S203, inputting the distorted panoramic viewport image and the pseudo reference viewport image into an error map module (error-map) to obtain a viewport error map, the viewport error map is as follows Figure 8 shown.
[0055] Specifically, the distorted panorama viewport image I D With the corresponding pseudo reference viewport I R The size is adjusted to 224*224 to meet the size requirements of the ResNet18 network; then ID with I R Perform subtraction to obtain the difference image matrix D. The calculation formula is as follows:
[0056] D=I D -I R
[0057] From the viewport error map, we can see that the error map contains rich information, which reflects the local quality degradation information, helps to capture the local quality degradation information, and improves the model feature representation capability and the generalization of the method.
[0058] S204: Input the error map into a local feature extraction network model and output local features.
[0059] In this embodiment, the local feature extraction network model includes a first convolutional layer, a pooling layer, a second convolutional layer, a third convolutional layer and a fourth convolutional layer in sequence; the output data of the second convolutional layer, the third convolutional layer and the fourth convolutional layer are used as three local features output by the local feature extraction network model.
[0060] Specifically, the error map is input into the local feature extraction network, and the outputs of the last three groups of residual blocks of the network are obtained as three local features: the output data of the second convolutional layer is used as the first local feature output of the local feature extraction network model The output data of the third convolutional layer is used as the second local feature output by the local feature extraction network model The output data of the fourth convolutional layer is used as the third local feature output by the local feature extraction network model
[0061] Among them, Fig. 9 , Fig.10 , Fig.11 As shown, it can be clearly seen that the three local features are very different, contain different image information, and can effectively extract local features at different levels. This also illustrates the necessity and effectiveness of three-level local feature extraction.
[0062] By utilizing the outputs of the last three groups of residual blocks, we can effectively obtain deep local feature information, obtain rich local quality degradation information, and improve the local feature representation capability.
[0063] In this embodiment, the Resnet18 (residual network with a weight of 18) architecture is used as the backbone network to extract local features, such as Figure 4As shown in the figure, the backbone network structure has 18 layers, which are: 1 7*7 convolution layer with 64 channels, 1 3*3 pooling layer with 64 channels, 2 3*3 convolution layers with 64 channels, 2 3*3 convolution layers with 128 channels, 2 3*3 convolution layers with 256 channels, and 2 3*3 convolution layers with 512 channels.
[0064] Viewport segmentation of the distorted panorama is in line with human visual perception characteristics and helps to extract local features; the pseudo-reference viewport map is obtained by using the image restoration module, and combined with the error map module, this method can capture local quality degradation information without reference information, thereby improving the feature representation capability and the generalization of the method.
[0065] S102: Using an improved Vmamba model, extract global features from the distorted panoramic image to obtain global features.
[0066] In this embodiment, the improved Vmamba model includes a Stem (Spatial Transformer Embedding Module) module, a visual state space VSS block (i.e., VSSBlock, Visual State Space Block) of Stage 1 (stage 1) and three residual modules in sequence; each residual module includes a down sampling module (Down Sampling) and a VSS block in sequence, and the result of adding the input data of the residual module to the output data of the VSS block in the residual module is used as the output data of the residual module; the output data of the three residual modules (Stage2, Stage3, Stage4) are used as three global features output by the improved Vmamba model: the output data of the residual module Stage2 is used as the first global feature The output data of the residual module Stage3 is used as the second global feature The output data of the residual module Stage4 is used as the second global feature
[0067] Among them, Fig.12 , Fig.13 , Fig.14 As shown in the figure, it can be clearly seen that the three global features are very different and contain different image information. This shows that the improved Vmamba model can effectively connect shallow features and deep features using the residual module and capture rich global information, which confirms the necessity and effectiveness of three-level global feature extraction.
[0068] S103, inputting the local features and the global features into a feature fusion module to obtain a quality evaluation score of the viewport image, including:
[0069] The local features include a first local feature, a second local feature and a third local feature.
[0070] The global features include a first global feature, a second global feature and a third global feature.
[0071] The feature fusion module includes a primary fusion model, a first secondary fusion model and a second secondary fusion model.
[0072] The first local feature With the first global feature Input the first-level fusion model M1 to obtain the first-level fusion feature f 1 ; The second local feature Second global feature and the first fusion feature f 1 Input the first and second level fusion model M2 to obtain the second level fusion feature f 2 ; The third local feature The third global feature And the second-level fusion feature f 2 Input the second level fusion model M3 and output the third level fusion feature f 3 , and obtain the quality evaluation score of the viewport graph.
[0073] The feature fusion module realizes the gradual aggregation of features from shallow to deep, enhances the feature interaction between different layers, helps to explore the interactive relationship between local features and global features, and improves model accuracy.
[0074] In this embodiment, the first-level fusion model is used to perform global pooling (Global Pooling) on the global features and the local features respectively and then fuse them, and then input the fused results into the fully connected layer FC (Fully Connected) and then output them.
[0075] This module is used to reduce the dimensions and redundancy of local and global features, achieve shallow feature fusion, and prepare for deep feature fusion.
[0076] In this embodiment, the secondary fusion model is used to globally pool the global features and the local features respectively, fuse the results of the global pooling with the previous level fusion features for the first time, input the fusion results into the fully connected layer, and fuse the output results of the fully connected layer with the previous level fusion features for the second time before outputting them.
[0077] The two-level fusion model enhances the interactive fusion of local features and global features at different levels, reduces the redundancy of features, and achieves efficient fusion of features.
[0078] In this embodiment, the first-level fusion model M1 includes: a first global average pooling layer, a second global average pooling layer, a first feature fusion module and a first fully connected layer. The global average pooling layer is Global Average Pooling, abbreviated as GAP. The feature fusion module is a module that realizes the splicing and parallel connection of two features. For example, the feature fusion module splices and fuses two features of size 1*1*128 into a feature of size 1*1*256. The fully connected layer is fully connected layers, abbreviated as FC.
[0079] Specifically, the first-level fusion model M1 is: the first local feature With the first global feature After global pooling, they are fused and then the fused results are input into the fully connected layer FC to output the first-level fusion feature f 1 For example: the first local feature With the first global feature (Assume that the two input feature sizes are W*H*C, H is the length, W is the width, and C is the number of channels; the first local feature The size is 32*32*128, the first global feature The size of the two features is 256*512*128) and they are respectively input into the first global average pooling layer and the second global average pooling layer for global pooling operation to obtain a feature output with a size of 1*1*128, which is used to reduce the size of the feature map, thereby reducing the amount of calculation and the required video memory, but retaining important information features; then the two globally pooled features are input into the first feature fusion module for splicing and fusion, specifically, the two features with a size of 1*1*128 are spliced and fused into a feature with a size of 1*1*256; finally, the spliced and fused features are sent to the first fully connected layer FC with a size of 512*256, and the first-level fusion feature f with a size of 1*1*512 is output. 1 , and the first-level fusion feature f 1 As the output result of the first-level fusion model.
[0080] In this embodiment, the first and second level fusion model M2 includes: a third global average pooling layer, a fourth global average pooling layer, a second feature fusion module, a third feature fusion module and a second fully connected layer.
[0081] Specifically, the first two-level fusion model M2 is: the second local feature With the second global feature Perform global pooling respectively, and combine the result of global pooling with the previous level fusion feature f 1 Perform the first fusion, then input the result of the first fusion into the fully connected layer, and combine the output of the fully connected layer with the previous level fusion feature f1 Perform the second fusion to output the second-level fusion feature f 2 For example: the second local feature With the second global feature (Assume that the two input feature sizes are W*H*C, H is the length, W is the width, and C is the number of channels; the second local feature The size of is 16*16*256, the second global feature The size of the two features is 128*256*256) and they are respectively input into the third global average pooling layer and the fourth global average pooling layer for global pooling operations, and feature outputs of sizes of 1*1*256 are obtained respectively to reduce the size of the feature map, thereby reducing the amount of calculation and the required video memory, but retaining important information features; the two globally pooled features are then input into the second feature fusion module for splicing and fusion, specifically, the two features of size 1*1*256 are spliced and fused into a feature of size 1*1*512; the spliced and fused features are then sent to the second fully connected layer FC of size 512*1024; finally, the features output by the second fully connected layer FC are combined with the first-level fusion feature f 1 Input the third feature fusion module for splicing and fusion. Specifically, the two features with a size of 1*1*512 are spliced and fused into a second-level fusion feature f with a size of 1*1*1024 2 , and the second-level fusion feature f 2 As the output result of the first and second level fusion model.
[0082] In this embodiment, the second secondary fusion model M3 includes: a fifth global average pooling layer, a sixth global average pooling layer, a fourth feature fusion module, a fifth feature fusion module and a third fully connected layer.
[0083] The second secondary fusion model M3 is: the third local feature With the third global feature Perform global pooling respectively, and combine the result of global pooling with the previous level fusion feature f 2 Perform the first fusion, then input the result of the first fusion into the fully connected layer, and combine the output of the fully connected layer with the previous level fusion feature f 2 Perform the second fusion to output the third-level fusion feature f 3 For example, the third local feature With the third global feature (Assume that the two input feature sizes are W*H*C, H is the length, W is the width, and C is the number of channels; the third local feature The size of is 8*8*512, the third global feature The size of the two features is 64*128*512) and they are respectively input into the fifth global average pooling layer and the sixth global average pooling layer for global pooling operations, and feature outputs of sizes of 1*1*512 are obtained respectively, so as to reduce the size of the feature map, thereby reducing the amount of calculation and the required video memory, but retaining important information features; the two globally pooled features are then input into the fourth feature fusion module for splicing and fusion, specifically, the two features of size 1*1*512 are fused into a feature of size 1*1*1024; the spliced and fused features are then sent to the third fully connected layer FC of size 1024*2048; finally, the features output by the third fully connected layer FC are combined with the second-level fusion feature f 2 Input the fifth feature fusion module for splicing and fusion, specifically, the two features with a size of 1*1*1024 are fused into a third-level fusion feature f with a size of 1*1*2048 3 , and the third-level fusion feature f 3 As the output result of the second level fusion model.
[0084] Among them, Fig.15 , Fig.16 , Fig.17 As shown, it can be clearly seen that the three fused features are very different and contain different image information, which shows that the feature fusion module realizes the gradual aggregation of features from shallow to deep and enhances the feature interaction between different layers; it proves the necessity and effectiveness of three-level feature fusion, which helps to explore the interactive relationship between local features and global features and improve the model accuracy.
[0085] S104: Calculate the average quality evaluation score of all viewport images as the quality evaluation score P of the distorted panoramic image. i , to evaluate the quality of panoramic images.
[0086] In this embodiment, the fused result (i.e., the third-level fusion feature f 3 ) Input the fully connected layer with a size of 1*2048 and output it to get the quality evaluation score P of the viewport image i .
[0087] The present invention uses a publicly reliable panoramic image dataset CVIQ to evaluate the model proposed in the present invention. The dataset contains 528 distorted panoramic images, with three different types of coding compression (JPEG, H.264 / AVC and H.265 / HEVC). Each distorted image provides a subjective score MOS value, and the resolution of all images is 4096×2048. The evaluation indicators used in the present invention are PLCC (linear consistency between the predicted image quality score and the quality score provided by the dataset), SRCC (monotonicity between the predicted quality score and the subjective score provided by the dataset) and RMSE (error between the predicted score and the subjective score). The higher the PLCC and SRCC values and the smaller the RMSE value, the better the model performance.
[0088] Specifically, the subjective score MOS value provided by the data set and the objective quality score P obtained by the present invention are compared. i Input PLCC, SRCC and RMSE into the calculation formula to obtain the evaluation index value.
[0089] The linear consistency PLCC between the predicted image quality score and the quality score provided by the dataset is calculated as follows:
[0090]
[0091] Where N is the number of test images; i is the index value of the number of test images; O u is the mean subjective quality score of all images in the prediction dataset; P u The mean quality score of all image models predictions; i The subjective quality score provided by the i-th dataset for the test image; P i is the quality score predicted by the model for the i-th dataset of the test image.
[0092] The monotonicity SROCC between the predicted quality score and the subjective score provided by the dataset is calculated as:
[0093]
[0094] The RMSE calculation formula for the error between the predicted score and the subjective score is as follows:
[0095]
[0096] Table 1 shows the calculation results obtained by the present invention according to the above formula. It can be seen that PLCC and SRCC are close to 1, and RMSE is very small. This shows that the fusion method of the present invention can effectively enhance the effective fusion of local features and global features from shallow to deep, reduce feature redundancy, improve model accuracy, and also prove that the present invention can accurately evaluate the quality of panoramic images.
[0097] Table 1
[0098] PLCC SRCC RMSE Model of the present invention 0.987 0.978 2.960
[0099] According to the embodiments of the present invention, the present invention has the following advantages:
[0100] (1) The pseudo-reference viewport image is obtained by using the image restoration module, which makes the method free from the limitation of the reference image and more universal; combined with the error map module, it can reflect the local quality degradation information and improve the feature representation ability.
[0101] (2) The improved Vmamba model including the residual module can effectively connect shallow features and deep features, capture rich global information, and effectively complement local features.
[0102] (3) Using the two-level fusion model to construct a feature fusion module can effectively enhance the effective fusion of local features and global features from shallow to deep, reduce feature redundancy, and improve model accuracy.
[0103] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0104] The above is an introduction to a method embodiment. The following is a further explanation of the scheme of the present invention through a device embodiment having the same inventive concept as the method in the aforementioned embodiment.
[0105] like Fig.18 As shown, the apparatus 1800 includes:
[0106] S1810, a local feature extraction module, used to obtain a distorted panoramic image, and perform local feature extraction on the distorted panoramic image to obtain local features;
[0107] S1820, a global feature extraction module, used to extract global features from the distorted panoramic image using an improved Vmamba model to obtain global features;
[0108] S1830, a feature fusion module, used to input the local features and the global features into the feature fusion module to obtain a quality evaluation score of the viewport image;
[0109] S1840, an evaluation module, used to calculate an average of the quality evaluation scores of all viewport images as the quality evaluation score of the distorted panoramic image, and evaluate the quality of the panoramic image.
[0110] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0111] In the technical solution of the present invention, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0112] According to an embodiment of the present invention, the present invention further provides an electronic device and a readable storage medium.
[0113] Fig.19 A schematic block diagram of an electronic device 1900 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0114] The electronic device 1900 includes a computing unit 1901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1902 or a computer program loaded from a storage unit 1908 into a random access memory (RAM) 1903. In the RAM 1903, various programs and data required for the operation of the electronic device 1900 can also be stored. The computing unit 1901, the ROM 1902, and the RAM 1903 are connected to each other via a bus 1904. An input / output (I / O) interface 1905 is also connected to the bus 1904.
[0115] Multiple components in the electronic device 1900 are connected to the I / O interface 1905, including: an input unit 1906, such as a keyboard, a mouse, etc.; an output unit 1907, such as various types of displays, speakers, etc.; a storage unit 1908, such as a disk, an optical disk, etc.; and a communication unit 1909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1909 allows the electronic device 1900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0116] The computing unit 1901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1901 performs the various methods and processes described above, such as methods S101 to S104. For example, in some embodiments, methods S101 to S104 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1900 via the ROM 1902 and / or the communication unit 1909. When the computer program is loaded into the RAM 1903 and executed by the computing unit 1901, one or more steps of the methods S101 to S104 described above may be performed. Alternatively, in other embodiments, the computing unit 1901 may be configured to execute methods S101 to S104 in any other appropriate manner (eg, by means of firmware).
[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0118] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0119] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0121] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0122] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0124] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for evaluating the quality of a distorted panoramic image, characterized in that: include: Acquire a distorted panoramic image, and perform local feature extraction on the distorted panoramic image to obtain local features; Using an improved Vmamba model to extract global features from the distorted panoramic image, obtaining global features; Inputting the local features and the global features into a feature fusion module to obtain a quality evaluation score of the viewport image; The average quality evaluation score of all viewport images is calculated as the quality evaluation score of the distorted panoramic image to evaluate the quality of the panoramic image.
2. The method for evaluating the quality of a distorted panoramic image according to claim 1, characterized in that: The extracting local features of the distorted panoramic image to obtain local features includes: A distorted panoramic image is obtained, and viewport segmentation is performed on the distorted panoramic image to obtain a distorted panoramic image viewport map; the distorted panoramic image viewport map is input into an image restoration module, and a corresponding pseudo-reference viewport map is output; the distorted panoramic image viewport map and the pseudo-reference viewport map are input into an error map module to obtain a viewport error map; the error map is input into a local feature extraction network model to output local features.
3. The quality assessment method of distorted panoramic images according to claim 2, characterized in that: The local feature extraction network model includes a first convolution layer, a pooling layer, a second convolution layer, a third convolution layer and a fourth convolution layer in sequence; the output data of the second convolution layer, the third convolution layer and the fourth convolution layer are respectively used as three local features output by the local feature extraction network model.
4. The method for evaluating the quality of a distorted panoramic image according to claim 3, characterized in that: The improved Vmamba model includes a Stem module, a VSS block and three residual modules in sequence; Each residual module includes a downsampling module and a VSS block in sequence. The input data of the residual module is added to the output data of the VSS block in the residual module as the output data of the residual module; the output data of the three residual modules are respectively used as three global features output by the improved Vmamba model.
5. The method for evaluating the quality of a distorted panoramic image according to claim 4, characterized in that: The step of inputting the local features and the global features into a feature fusion module to obtain a quality evaluation score of the viewport image includes: The local features include a first local feature, a second local feature and a third local feature; The global features include a first global feature, a second global feature and a third global feature; The feature fusion module includes a primary fusion model, a first secondary fusion model, and a second secondary fusion model; the primary fusion model is used to globally pool the global features and the local features, and then fuse them, and then input the fusion results into the fully connected layer for output; the secondary fusion model is used to globally pool the global features and the local features, and then fuse the results of the global pooling with the previous level fusion features for the first time, and then input the fusion results into the fully connected layer, and then fuse the output results of the fully connected layer with the previous level fusion features for the second time for output; The first local feature and the first global feature are input into the first-level fusion model to obtain the first-level fusion feature; the second local feature, the second global feature and the first fusion feature are input into the first-level and second-level fusion models to obtain the second-level fusion feature; the third local feature, the third global feature and the second-level fusion feature are input into the second-level and second-level fusion models, the third-level fusion feature is output, and the quality evaluation score of the viewport image is obtained.
6. A quality assessment device for a distorted panoramic image, characterized in that: include: A local feature extraction module is used to obtain a distorted panoramic image, and perform local feature extraction on the distorted panoramic image to obtain local features; A global feature extraction module, used for extracting global features from the distorted panoramic image using an improved Vmamba model to obtain global features; A feature fusion module, used for inputting the local features and the global features into the feature fusion module to obtain a quality evaluation score of the viewport image; The evaluation module is used to calculate the average quality evaluation score of all viewport images as the quality evaluation score of the distorted panoramic image and evaluate the quality of the panoramic image.
7. An electronic device comprising at least one processor; and A memory communicatively connected to the at least one processor; characterized in that The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-5.
Citation Information
Cited By
Scene text detection method based on VMama framework and channel-space attention mechanism
CN119418345A
Video quality evaluation method and device based on audio and video feature interactive fusion
CN119693860A
Panoramic image quality evaluation method based on semantic feature and visual feature fusion
CN120070448A
Panoramic image quality evaluation method and device based on psychological memory mechanism
CN120070449A
Panoramic image quality evaluation method and device based on psychological memory mechanism
CN120070449B
