---
title: "Dual Enhancement in ODI Super-Resolution: Adapting Convolution and Upsampling to Projection Distortion"
authors:
  - "Xiang Ji"
  - "Changqiao Xu"
  - "Lujie Zhong"
  - "Shujie Yang"
  - "Han Xiao"
  - "Gabriel-Miro Muntean"
doi: "10.24963/ijcai.2024/100"
url: "https://ijcai.org/proceedings/2024/100"
pdf: "https://ijcai.org/proceedings/2024/0100.pdf"
venue: "Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence"
year: 2024
pages: "902-910"
track: "Main Track"
keywords:
  - "Agent-based and Multi-agent Systems: MAS: Human-agent interaction"
  - "Computer Vision: CV: Applications"
  - "Computer Vision: CV: Structural and model-based approaches, knowledge representation and reasoning"
  - "Computer Vision: CV: 3D computer vision"
---

# Dual Enhancement in ODI Super-Resolution: Adapting Convolution and Upsampling to Projection Distortion

Xiang Ji, Changqiao Xu, Lujie Zhong, Shujie Yang, Han Xiao, Gabriel-Miro Muntean

*Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence*, pages 902-910. DOI: [10.24963/ijcai.2024/100](https://doi.org/10.24963/ijcai.2024/100)

## Abstract

Omnidirectional images (ODIs) demand considerably higher resolution to ensure high quality across all viewports. Traditional convolutional neural networks (CNN)-based single-image super-resolution (SISR) networks, however, are not effective for spherical ODIs. This is due to the uneven pixel density distribution and varying texture complexity in different regions that arise when projecting from a sphere to a plane.  Additionally, the computational and memory costs associated with large-sized ODIs present a challenge for real-world application.  To address these issues, we propose an efficient distortion-adaptive super-resolution network (ODA-SRN).  Specifically, ODA-SRN employs a series of specially designed Distortion Attention Block Groups (DABG) as its backbone. Our Distortion Attention Blocks (DABs) utilize multi-segment parameterized convolution to generate dynamic filters, which compensate for distortion and texture fading during feature extraction. Moreover, we introduce an upsampling scheme that accounts for the dependence of pixel position and distortion degree to achieve pixel-level distortion offset. A comprehensive set of results demonstrates that our ODA-SRN significantly improves the super-resolution performance for ODIs, both quantitatively and qualitatively, when compared to other state-of-the-art methods.

## Full text

## 1 Introduction

Omnidirectional images (ODIs), as a novel visual form of virtual reality (VR) [Zhang et al., 2023], are anticipated to become integral components of future social environments, enriching and enhancing the ways in which we share experiences. Consequently, ODIs are being introduced rapidly into people's lives. As their name suggests, ODIs offer a 360◦ × 180◦ field of view, and the expansive visual range naturally demands high resolution. The level of detail and sharpness in ODIs directly influences the realism of user experiences. However, due to storage and transmission constraints, omnidirectional images often lack the necessary resolution to provide users with a truly immersive experience. Super-resolution (SR) technology transforms lowresolution (LR) images into high-resolution (HR) ones. As a long-standing computer vision problem, single-image superresolution (SISR) has attracted extensive attention from researchers [Anwar et al., 2021]. In recent years, several SISR studies based on convolutional neural networks (CNN) have achieved remarkable results [Senmao et al., 2023; Wang et al., 2021]. These studies utilize CNNs to extract features from images and subsequently employ the extracted features for upsampling. CNNs use convolution kernels to sense images through sliding windows, allowing them to capture local patterns. However, these works primarily target twodimensional (2D) planar images, neglecting the global distortion information present in omnidirectional images (ODIs). For ODIs, equirectangular projection (ERP) from sphere to plane is widely employed for convenient storage and transportation. Regrettably, the distortion caused by ERP results in unevenly distributed features within ODIs. Fig. 1 illustrates the correlation between distortion degree and pixel position in ODI projection. Notably, stretch distortion is particularly severe in non-horizontal regions, often leading to unsatisfactory feature extraction results for ODIs. This phenomenon raises the question: How can we achieve super-resolution in the presence of distortion and improve CNNs to effectively extract features fromODIs?

∗Corresponding author.

Figure 1: ERP projection from sphere to plane. The distortion degree is related to the location of the regions. Polar features of ERP format images have more stretch distortion than central features.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000000_dbcb4c1ff1dea1c76f12177b1079de45cbdf579f96fa0fb617858dae7f6172dc.png)

For ODI super-resolution (SR), traditional CNN-based feature extraction strategies have proven ill-suited for ODIs in practice. The issue arises from the fact that both existing CNN filters and image data are "flat", making it challenging for these filters to achieve the right balance with ODIs that exhibit varying pixel densities and texture complexities. Recently, [Deng et al., 2021] proposed a multilevel CNN network that allocates additional computational resources to the central regions of ODIs. Their approach modified existing SR networks but did not fundamentally enhance the sensitivity of CNNs to ODI distortion. Conversely, most existing ODI SR research works [Ozcinar et al., 2019; Su and Grauman, 2017; Sun et al., 2021] tend to focus on the local resolution of ODIs. To mitigate the effects of distortion, these methods process tangent planes surrounding the sphere repeatedly. While this boosts accuracy, it also significantly heightens computational costs. These methods are heavily dependent on hardware performance, which poses a considerable burden for portable devices like head-mounted displays and cell phones.

In an effort to strike a balance between accuracy and cost, numerous CNN-based SR methods [Dai et al., 2019; Liu et al., 2020; Mei et al., 2020; Zhang et al., 2021] have introduced attention mechanisms. [Dai et al., 2019] proposed a deep second-order attention network to capture spatial context information over long distances. [Liu et al., 2020] incorporated spatial attention into the residual network to enhance model efficiency. Drawing on recent neuroscience research, [Zhang et al., 2021] proposed CRAN, which utilizes semantic knowledge as a factor influencing network attention. However, these attention mechanisms appear to be ineffective in addressing the distortion caused by projection. This is primarily because these methods focus on the comprehensive utilization of global information without considering distortion shifts. These challenges limit the representational power of CNNs, and as a result, the development of an optimal single ODI SR network remains an ongoing endeavor.

Motivated by the observations and analyses discussed above, we propose a novel method named Omnidirectional Distortion Attention Super-Resolution Networks (ODASRN). Contrary to existing strategies, the core idea of our ODA-SRN is the dual enhancement of two fundamental components in SR, convolution and upsampling, rather than designing intricately structured integrated network models. Our innovation resides in considering the global and local differences of ERP during the convolution process, and introducing pixel-level offsets in the upsampling phase to accommodate distortion. This focus on enhancing fundamental components, rather than simply stacking larger models, enables our ODA-SRN to efficiently conserve computational and memory resources.

Our main contributions can be summarized as follows:

- We have introduced novel convolution and upsampling techniques for ODIs. These components have been integrated into our ODA-SRN, achieving superior SR re-

sults.

- We propose extracting the potential representation of distortion information to obtain a set of routing weights. By leveraging the relationship between routing weights and segment positions, we enhance the distortion sensitivity of CNN.
- We introduce a Jacobian matrix of spatially transformed elements and mathematically adjust the sampling window of the upsampling layer. The reusable Jacobian matrix improves the efficiency of our ODA-SRN.

## 2 RelatedWork

Deep CNN for Super Resolution. Over the past decade, SR has been one of the most extensively studied inverse problems [Chen et al., 2022]. The combination of SR and CNN technology has led to significant progress in reconstruction error and practical applications [Chen et al., 2021; Ma et al., 2020; Senmao et al., 2023]. Since [Dong et al., 2014] first proposed SRCNN, numerous SR works based on deep CNN have been introduced. These works have made improvements in various aspects, such as increasing network depth to utilize more parameters, incorporating residual attention block mechanisms to enhance performance accuracy, and modifying the loss function [Li et al., 2022]. All of these works have achieved remarkable results in SR for 2D images. However, a common characteristic of CNN-based SISR methods is that their "flat" convolutional layers are inefficient for ODIs in feature extraction. Specifically, due to the uneven pixel density and varying texture complexity of ODIs, it is challenging to optimize a convolutional kernel that can account for the effects of all degrees of distortion.

Super Resolution for VR. With the rise of virtual reality (VR) technology, omnidirectional super-resolution has emerged as a challenging task for the research community. In recent years, viewport-based methods have been proposed as a promising approach for enhancing large-sized ODIs [Li et al., 2020]. [Su and Kristen, 2017] utilized different convolution kernels to extract features along various latitudes on ODIs; however, this approach required training a large number of convolution kernels. Inspired by the success of the Transformer architecture, [Shen et al., 2022] proposed PanoFormer, a deep neural network capable of estimating depth in ODIs. SphereSR [Yoon et al., 2022] incorporated RGB prediction into feature extraction and learned the relationships between different ODI formats to achieve more flexible SR. However, using Transformers for ERP-format ODIs poses challenges: their global attention may overlook local nuances critical for SR, and their computational demands can be burdensome given the lage-size nature of ODIs.

Techniques for Projection Distortion. Projection distortion in ODIs leads to distinct regions showing varied distortion degrees. In the realm of efficient adaptability, parameterized convolutions have emerged as a promising technique [Brandon Yang, 2020]. Unlike traditional convolutional layers that utilize static filters, parameterized convolutions change their filters based on the input. However, current attention mechanisms are not guided by distortion information, which limits their ability to address the regional differences in ODIs caused by projection.

Figure 2: Overview of our proposed ODA-SRN architecture. Details of our distortion attention layer and distortion offset upsampling layer are illustrated in Fig.3 and Fig.4, respectively.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000001_a553d9a0600bd6096333d7a72a34dbcca12861cd36119321637ca44261ee286f.png)

## 3 ProposedMethod

Overview. We designed a concise network architecture, illustrated in Fig. 2. It demonstrates how a low-resolution ODI input (ILR ∈ Rc×h×w ) generates a high-resolution ODI (ISR ∈ Rc×sh×sw ), where s is a multiple of the superresolution, c represents the number of channels, and h and w denote the ODI size.

## 3.1 Network Architecture

ODA-SRN mainly consists of two parts: the feature extraction part and the upsampling recovery part. First, shallow features F0 are extracted from the input LR ODI:

<!-- formula-not-decoded -->

where fconv represents a 3 × 3 convolution operation, and F0 is used as input to DABGs (Distortion Attention Block Groups). Furthermore, each DABG contains several DAB modules. We adopted a residual-in-residual (RIR) structure as the backbone of our network. In this way, we aim to superimpose low-frequency and high-frequency feature information, producing an SR image with more texture details. The i-th DAB group is represented as follows:

<!-- formula-not-decoded -->

The operation ⊕ can be expressed element-wise, where ∗ represents dot multiplication, and WSSC is the weight associated with the DAB group output. f kDAB represents the k-th distortion attention block operation. Distortion information Md contains all ODI distortion information Dx,y. The mathematical representation of the ERP distortion information is as follows:

<!-- formula-not-decoded -->

H represents the height of the ODI, and we denote 1-Dx,y as the distortion degree of pixel (x, y). Note that the higher the Dx,y value, the less the distortion. Eq. (3) is derived from the JVET standard D0040 [Sun et al., 2016], which defines evaluation metrics for omnidirectional images. After the data stream passes through the DABGs, the deep information of the ODI is extracted and provided to the subsequent module for upsampling and reconstruction.

<!-- formula-not-decoded -->

Eq. (4) shows the upsampling and reconstruction part. Similar to Eq. (2), WLSC represents the weight associated with the deep feature Fn. Eq. (4) indicates how, after fusion, the features are sent to the distortion offset upsampling layer fUP . Finally, through the reconstruction process fREC, the upsampled features are converted to SR ODI, which can be upscaled by s × (s is an integer, e.g., 2, 3, . . .).

## 3.2 Enhanced Distortion Attention Block (DAB) Methodology

The main challenge of feature extraction is the distortion caused by ERP. Previous CNN-based feature extraction methods treat the features of all LR regions equally and cannot sense the distortions in a targeted way. As shown in Fig. 3, we designed a Distortion Attention Block (DAB) mixed with general convolution layers and a distortion attention layer to learn features in a "total-local" manner. The DA layer is responsible for piecewise learning according to the distortion degree. Meanwhile, the general convolutional layer appears alternately to supplement the global association information.

Distortion Attention layer. We attempt to incorporate the global distortion information into the convolution process. As shown in Fig. 3, the input features and distortion degree &amp; scale information are fed into the Distortion Mask (DM) module. DM cuts the feature maps into k segments (Section 4 provides a more comprehensive analysis and guidance on the choice of this parameter). The calculation of the segmentation position p follows the equal distortion principle, which means that the difference between the maximum and the minimum distortion degree of each segment are equal. After segmenting transversely k - 1 times, we represent the set of segments as {G1,G2, . . . ,Gk}. As depicted in Fig. 3, this set of segments is introduced to a network to generate a two-dimensional routing weights matrix. The learning process of the routing weights matrix W ∈ Rk×d from our network is defined as:

Figure 3: An illustration of our distortion attention layer.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000002_5fb8c2a3ee2ef83f3f19942003cd79afeb3e1175b0bffc1964c781d50c112f1c.png)

<!-- formula-not-decoded -->

where σ can be a Softmax function, BN signifies batch normalization, ReLU represents the Rectified Linear Unit activation function, and Pool indicates pooling. For each segment Gi, we extract a weight vector wi from the routing matrix W. Each element wij in wi quantifies the influence of the j-th expert (a conditionally applied convolutional kernel) on the i-th segment. To normalize weights, we employ a softmax operation over each expert pertaining to segment Gi:

<!-- formula-not-decoded -->

Given this weight normalization, we proceed to combine these weights with the routing matrix W through a Hadamard product. This results in a tailored distortion-aware filter Pi. Through the procedures delineated above, we've refined traditional convolution layers. A standout feature of the DA Layer is its adaptability: it can adjust its convolutional filters based on the nuances of the incoming feature maps. Importantly, it ensures efficiency, circumventing the computational overhead associated with training a larger number of filters thus marrying efficiency with model precision.

A comparative analysis was conducted against the feature extraction attention block incorporated in RCAN [Zhang et al., 2018]. As shown in Fig. 5, with the deepening of the network, the traditional feature extraction block has poor performance for ODIs affected by distortion, and the features in the severely distorted regions appear to fade (Feature vanishing in the polar region.). We found that traditional feature extraction blocks cannot find a balance between regions affected by different distortion degrees. In contrast, our DABs can still efficiently extract features from different regions affected by distortion at the same time in deep networks.

Figure 4: An illustration of our distortion offset upsampling layer.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000003_0894c837b5a1408a3e23a365d664066fc2000157b99d58b2311268801191406a.png)

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000004_94d9df2113ec5952fd0196c5082c5e158535acb41015ac04e2f3a835ebeced19.png)

Distortion attention Block (ours)

Figure 5: The feature maps output of block 3, 6 and 9. Comparison of Distortion Attention Block and baseline. (Zoom-in for best view)

## 3.3 Distortion Offset Upsampling (DOU) Layer

The upsampling layer is a pivotal component, leveraging deep information to reconstruct larger-sized feature maps. For ODIs, the increased sampling density at the sphere's poles engenders information redundancy in these polar regions. We conceptualize the SR process for ODIs as a three-tiered progression: from the sphere to a low-definition plane, and to a high-definition plane, as illustrated in Fig. 4(a). Our analysis seeks to determine the tile-to-pixel area ratio before and after projection, termed as the zoom factor δ. This metric is instrumental in gauging the influence of planar pixels on spherical visual perceptions. With ERP mapping a point (X, Y, Z) on the sphere to (xLR, yLR) on the plane, we delve into its reverse process as delineated below:

Table 1: Comparisons Between the SR results. The 1st and the 2nd best performances are highlighted in red and blue

| Scale - Method               |   ×4 (ODI-SR & SUN 360) - ERP Format - WS-PSNR |   ×4 (ODI-SR & SUN 360) - ERP Format - WS-SSIM |   ×4 (ODI-SR & SUN 360) - Viewport Format - PSNR |   ×4 (ODI-SR & SUN 360) - Viewport Format - SSIM |   ×8 (ODI-SR & SUN 360) - ERP Format - WS-PSNR |   ×8 (ODI-SR & SUN 360) - ERP Format - WS-SSIM |   ×8 (ODI-SR & SUN 360) - Viewport Format - PSNR |   ×8 (ODI-SR & SUN 360) - Viewport Format - SSIM |
|------------------------------|------------------------------------------------|------------------------------------------------|--------------------------------------------------|--------------------------------------------------|------------------------------------------------|------------------------------------------------|--------------------------------------------------|--------------------------------------------------|
| Bicubic                      |                                          27.64 |                                         0.6065 |                                            23.30 |                                           0.5762 |                                          21.34 |                                         0.5241 |                                            19.09 |                                           0.5198 |
| SRCNN[Dong et al., 2014]     |                                          28.08 |                                         0.6148 |                                            23.39 |                                           0.5828 |                                          21.38 |                                         0.5317 |                                            19.21 |                                           0.5218 |
| MemNet[Tai et al., 2017]     |                                          28.31 |                                         0.6442 |                                            24.41 |                                           0.6128 |                                          22.55 |                                         0.5356 |                                            20.23 |                                           0.5294 |
| RCAN[Zhang et al., 2018]     |                                          28.78 |                                         0.6581 |                                            24.89 |                                           0.6145 |                                          22.86 |                                         0.5385 |                                            21.35 |                                           0.5332 |
| EDSR[Lim et al., 2017]       |                                          28.74 |                                         0.6571 |                                            24.71 |                                           0.6112 |                                          22.84 |                                         0.5378 |                                            21.29 |                                           0.5329 |
| 360-SS[Ozcinar et al., 2019] |                                          28.19 |                                         0.6486 |                                            23.69 |                                           0.5992 |                                          22.75 |                                         0.5313 |                                            21.01 |                                           0.5255 |
| LAU-Net+[Deng et al., 2023]  |                                          29.13 |                                         0.6751 |                                            25.32 |                                           0.6302 |                                          23.23 |                                         0.5449 |                                            21.88 |                                           0.5441 |
| OSRT[Yu et al., 2023]        |                                          29.25 |                                         0.6760 |                                            25.34 |                                           0.6306 |                                          22.92 |                                         0.5384 |                                            21.68 |                                           0.5393 |
| ODA-SRN(ours)                |                                          29.47 |                                         0.6786 |                                            25.59 |                                           0.6331 |                                          23.52 |                                         0.5480 |                                            22.11 |                                           0.5472 |

Figure 6: Visual comparison (ERP form) of ×4 SR results with different methods in the central and polar regions of ODI.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000005_56e911587d33957473ca1486ba1364701c776c74b0cb15afdfbff1513ae0ad26.png)

<!-- formula-not-decoded -->

where (u, v) represents the normalized (xLR, yLR), the derivation of Eq. (5) is omitted for brevity. Based on linear algebra, we calculate the Jacobian J(u, v) of the space projection using the following approach:

<!-- formula-not-decoded -->

The Jacobian J(u, v) can be used to obtain the mapping of any 2D vector in 3D space. We use (u, v) and (∆u,∆v) to represent any pixel in the plane. Through Eq. (6), we can obtain the four vectors corresponding to the tile in 3D space. We approximate the tile area as the sum of two triangle areas, as shown in Fig. 4(a). We use the cross product of two vectors to compute the areas of A1 and A2. It should be noted that the zoom factor δu,v and the Jacobian are reusable, making this approach computationally efficient and cost-friendly. In the process of converting low-resolution pixels to high-resolution pixels, we calculate the relative distance between LR pixels and HR pixels. The value of the HR pixel (xHR, yHR) is unknown, but we can obtain the position of the LR pixel (xLR, yLR) corresponding to the HR pixel. Further, we can determine their correlation distances R(xHR) and R(yHR). As shown in Fig. 4(a), where ⌊⌋ indicates integer rounding down. R(yHR) are calculated in the same way. The correlation distance represents the bias relationship between HR pixels and LR pixels. Crucially, excessive reconstruction of redundant information could affect the ODI SR process. To overcome this, we propose DOU for correcting the sampling window. Pixels near the polar regions tend to perceive information near the center of the ODIs, which helps better understand the surrounding valuable information. Specifically, we add an offset θoffset = γ/δu,v to the sampling window, where γ is a coefficient. The purpose of this design is to add more sampling bias in areas with smaller zoom factors. As shown in Fig. 4(b), a convolution layer is used to generate output features of (C × sH × sW) size. R(xHR), R(yHR), and δu,v are fed into a bottleneck network structure consisting of two FC layers to obtain the weights, which are combined with the experts to generate an adaptive filter of size (C × k × k). Finally, the output is a (C × 1 × 1) size feature. This step is repeated xHR×yHR times during the upsampling of an ODI.

Figure 7: Comparative Visualization of ODI SR methods: ERP vs. Viewport Formats.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000006_21692f0259576db1b38dcd3a6ec2f61d513b6add2629f732ce48853fadef7460.png)

Loss function. For ODA-SRN, we design a loss function similar to the L1 norm:

<!-- formula-not-decoded -->

where σ represents the weight parameters of our network. The training goal is to minimize L(σ). ISR and IHR stand for the generated high-resolution ODI and the original highresolution ODI, respectively. δ is the zoom factor, applied to each pixel, which is used to guide the backpropagation under the influence of distortion.

## 4 Experiment

## 4.1 Datasets andMetrics

Dataset. ODI SR is currently underexplored, and few works focus on this new challenge. Consequently, there are only a few datasets available for evaluation. We selected 2600 high-quality ODIs from the 360 Panorama Database [Xiao et al., 2012] and ODI-SR Database [Deng et al., 2021]. All selected ODIs are in ERP format and have a resolution of 2048×1024. To enhance the robustness of the dataset, the selected ODIs include indoor scenes, outdoor scenes, natural scenes, and cityscapes. After collecting the HR ODI dataset, we generated LR ODIs by processing HR ODIs with bicubic downsampling. The LR-HR pairs were randomly divided into 2000 for training, 300 for testing, and 300 for validation.

Table 2: Efficiency Comparison with Advanced Algorithms.

| Method   |   FLOPs(G) |   WS-PSNR |   Params(M) |   Time(s) |
|----------|------------|-----------|-------------|-----------|
| EDSR     |    2494.59 |     28.74 |        43.1 |     3.320 |
| RCAN     |     616.59 |     28.78 |       160.0 |     0.982 |
| SRCNN    |      52.48 |     28.08 |         0.8 |     0.249 |
| MemNet   |    1445.43 |     28.31 |        31.1 |     1.208 |
| 360-SS   |      14.99 |     28.19 |        22.7 |     0.438 |
| LAU-Net+ |     402.20 |     29.13 |        12.0 |     0.551 |
| OSRT     |    3235.93 |     29.25 |       119.3 |     2.115 |
| ODA-SRN  |     239.88 |     29.47 |         8.9 |     0.298 |

Metrics. To address both the plane and the sphere, we used four metrics to evaluate SR performance. In our experiments, on one hand, the widely used metrics PSNR and SSIM were employed to evaluate the performance of solutions in viewport format. On the other hand, the Weighted to Spherically Uniform PSNR (WS-PSNR) and Weighted to Spherically Uniform SSIM (WS-SSIM) [Sun et al., 2016] were used as metrics specifically designed to evaluate the performance of methods in ERP format.

## 4.2 Implementation Details

For the model setup, the final version of ODA-SRN consists of 5 DABGs, with each DABG containing 2 DABs. The number of experts in the DA layer is set to 3, Coefficent γ is set to 0.1. Our model was trained using the ADAM optimizer [Kingma and Ba, 2015] with β1 = 0.9, β2 = 0.999, and ε = 10-8 . The learning rate was set to 10-4 , decaying by half every 50 epochs. The weight initialization of the model follows [He et al., 2015]. We used PyTorch [Paszke et al., 2017] to implement our model. During training, random crops were not used to preprocess ODIs in order to retain complete distortion information.

## 4.3 Comparison with State-of-the-Art Methods

In our experiments, we compared our ODA-SRN with other SOTA methods. To ensure consistent conditions across various models, each was deployed within its dedicated Docker container. This methodology was adopted to mitigate the inconsistencies stemming from divergent code implementations.

Table 3: Ablation study. Result achieved by our ODA-SRN with different settings on validation set

| Feature/Result              | Settings   | Settings   | Settings   | Settings   | Settings   | Settings   | Settings   | Settings   |
|-----------------------------|------------|------------|------------|------------|------------|------------|------------|------------|
| Loss function with δ        | ×          | ✓          | ×          | ✓          | ×          | ✓          | ×          | ✓          |
| Distortion Attention Layer  | ×          | ×          | ✓          | ✓          | ×          | ×          | ✓          | ✓          |
| Distortion-Aware Unsampling | ×          | ×          | ×          | ×          | ✓          | ✓          | ✓          | ✓          |
| WS-PSNR                     | 27.83      | 27.95      | 28.09      | 28.63      | 28.01      | 28.35      | 28.94      | 29.47      |
| WS-SSIM                     | 0.6131     | 0.6161     | 0.6242     | 0.6474     | 0.6395     | 0.6596     | 0.6628     | 0.6786     |

Figure 8: Comparing the performance of different methods in dealing with distortion caused by projection.

![Image](https://ijcai.org/proceedings/2024/fulltext/100/image_000007_c8e10a05eb67fe48be0e352a0023eb5953c30c76dfe0958065e98454217ae5ab.png)

Quantitative Analysis. Table 1 shows the ODA-SRN consistently outperforms its contemporaries in a wide spectrum of evaluations. This overarching superiority of our proposed method becomes particularly pronounced when diving deeper into the results of the viewport format, a pivotal metric that simulates what a user would witness through their HeadMounted Display (HMD). Such an unequivocal lead testifies to the meticulous engineering of the ODA-SRN, tailored to replicate and enhance the user's visual experience. An underpinning idea of our model is the segmental processing of the ODI. By partitioning the ODI regionally, each segment is processed through individualized Distortion-aware filter. This strategy addresses a perennial challenge: mediating the inherent tug-of-war between varying distortion regions during the feature extraction phase. By localizing the processing, the ODA-SRN can give specialized attention to each region's idiosyncratic distortions. The results, as illuminated in the Table 1, attest to the efficacy of this approach.

Qualitative Analysis. Fig. 6 visually presents the results of the ×4 super-resolution performances by various algorithms. Distinct regions from the image, central and polar, are highlighted using red and green boxes for clearer examination. On the other hand, methods such as EDSR, 360-SS, and OSRT, despite their sharp outputs, occasionally exhibit discrepancies in their outline representations. On the left of Fig. 7, the transformation of an image before and after ERP projection is showcased. Through VR equipment, users experience a spherical field of view. However, when this image undergoes ERP projection onto a two-dimensional plane, perceptual distortions arise. For instance, the skyscrapers that span across both the central and polar regions of the image exhibit window outlines that, while straight in the original threedimensional context, become curved upon projection.

The right portion of Fig. 7 offers a comparative analysis of the results generated by various algorithms. Traditional

Table 4: Influence of segment number on ODI SR (×4)

| Segments Num.   |      3 |      4 |      5 |      6 |      7 |
|-----------------|--------|--------|--------|--------|--------|
| WS-PSNR         |  28.38 |  29.14 |  29.47 |  29.30 |  29.23 |
| WS-SSIM         | 0.6291 | 0.6593 | 0.6786 | 0.6752 | 0.6739 |
| FLOPs (G)       |  201.4 |  220.7 |  239.9 |  259.1 |  278.7 |

2D-oriented methods, like EDSR and RCAN, tend to restore features by treating the ERP-projected image as a regular 2D grid. This method, however, fails to accommodate the curvatures introduced by the ERP projection. As a result, when their outputs are translated back to a spherical perspective, the previously straight window contours appear misshapen and curved. While methods explicitly designed for ODIs, such as 360SS and LAU-Net+, make commendable efforts to tackle the anomalies caused by ERP projection, they still face challenges, particularly in extreme polar regions. These areas, depicted by the side of the blue building and the apex of the white structure in Fig. 7, are marked by results that are overly smoothed and lacking in contour fidelity. This limitation stems from the inherent sparsity of feature information in these polar regions, making the precise restoration of details a formidable task. ODA-SRN is designed to address the scarcity of features in the polar regions, the distortion-offset upsampling layer of ODA-SRN adopts a unique approach. By leveraging a receptive field offset mechanism, it pulls richer feature details from more central areas. This allows ODASRN to supplement the sparse features in the extremities and bring a marked improvement in restoring details. The result is a more accurate representation of even subtle elements, such as the high-rise window outlines, when they are projected back to the spherical viewpoint.

Anti-distortion Analysis. ERP projection significantly stretches polar regions in images, where inaccuracies can magnify during spherical conversion. We illustrate this with a comparison against various SR algorithms. Fig.8 shows that vents in ERP images are notably stretched. Our method effectively reduces this distortion, with ODA-SRN outperforming other tested methods in anti-distortion capability.

Model Efficiency Analysis. We have included Table 2. This table provides a comprehensive performance comparison of our method with other algorithms, covering various aspects such as FLOPs, WS-PSNR, network parameters, and runtime. By presenting this multidimensional comparison, we aim to offer a thorough evaluation of the effectiveness and efficiency of our approach compared to existing methods. ODA-SRN strikes a balance between performance and efficiency, delivering the highest WS-PSNR using fewer parameters, reduced FLOPs, and enhanced speed.

## 4.4 Ablation Study

Ablation Study on Weighted Loss Function. This study examines the zoom factor δ in loss calculation, which reflects a pixel's projection scale from planar to spherical views. Table 3 demonstrates the superiority of the δ-weighted loss function over conventional L1 loss in SR.

Ablation Study on Distortion Attention Layer (DA). In the absence of the DA layer. Considering the unique patterns in ODIs in ERP format, Table 3 shows that integrating the DA layer significantly enhances WS-PSNR and WS-SSIM. Our DA layer, focusing on specific ODI features, improves structural similarity in SR outcomes. This is due to ODASRN's adaptive feature extraction for different ODI regions.

Ablation Study on Distortion Offset Upsampling (DOU). Data in Table 3 emphasizes the effectiveness of DOU in ODI super-resolution. Standard upsampling doesn't adequately address ODI specifics, leading to the creation of the DOU layer. This layer computes θoffset to amend inherent distortions, allowing polar-proximate pixels to utilize central ODI information and enhance output quality. Compared to the pixel shuffle baseline, DOU consistently achieves superior WS-PSNR and WS-SSIM results.

Effect of Segments Number. We propose DAB for extracting features of ODI. Unlike typical CNNs, DAB adopts a segmented strategy to handle regions with varying degrees of distortion. We attempted to change the number of segments in DAB to observe the impact of different segment numbers on network performance. Table 4 shows the experimental results. With the increase in the number of segments, the performance of the network improves. However, the improvement in FLOPs is linear, which means that more segments do not always yield better results. We need to choose an appropriate number of segments to achieve a balance between performance and cost. When the number of segments increases to more than 5, the model becomes difficult to converge and performance decreases. Therefore, considering multiple factors, we finally chose 5 as the number of segments in ODA-SRN.

## 5 Conclusion

We addressed the SR challenges of ODIs. Our solution was not rooted in proposing a completely new network. Rather, our main contribution centers on the innovative redesign of two plug-and-play modules: the Distortion Attention Block and the Distortion Offset Upsampling Layer. These modules, crafted to counter the unique challenges posed by ODIs, not only enhance super-resolution performance but also offer the flexibility of being integrated into various existing network architectures. Comprehensive experiments highlight that our modular approach excels in metrics such as PSNR, SSIM, WS-PSNR, and WS-SSIM, and also stands out in terms of model efficiency.

## Acknowledgments

This work is supported by the National Natural Science Foundation of China (NSFC) under grant No. 62225105,

62394323 and 62301070. Han Xiao wishes to acknowledge support from the Postdoctoral Science Foundation of China under grant No. 2022M720518. G.-M. Muntean wishes to acknowledge the Science Foundation Ireland's support via grant nos. 21/FFP-P/10244 (FRADIS) and 12/RC/2289 P2 (Insight).

## References

1. [Anwar et al., 2021] Saeed Anwar, Salman Khan, and Nick Barnes. A deep journey into super-resolution: A survey. ACM Comput. Surv., 53(3):34, 2021.
2. [Brandon Yang, 2020] Quoc V. Le Jiquan Ngiam Bran- don Yang, Gabriel Bender. Condconv: Conditionally pa- rameterized convolutions for efficient inference. arxiv, 2020.
3. [Chen et al., 2021] Jingye Chen, Bin Li, and Xiangyang Xue. Scene text telescope: Text-focused scene im- age super-resolution. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 12021-12030, 2021.
4. [Chen et al., 2022] Guang Chen, Haitao Wang, Kai Chen, Zhijun Li, Zida Song, Yinlong Liu, Wenkai Chen, and Alois Knoll. A survey of the four pillars for small ob- ject detection: Multiscale representation, contextual in- formation, super-resolution, and region proposal. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 52(2):936-953, 2022.
5. [Dai et al., 2019] Tao Dai, Jianrui Cai, Yongbing Zhang, Shu-Tao Xia, and Lei Zhang. Second-order attention net- work for single image super-resolution. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 11065-11074, 2019.
6. [Deng et al., 2021] Xin Deng, Hao Wang, Mai Xu, Yichen Guo, Yuhang Song, and Li Yang. Lau-net: Latitude adap- tive upscaling network for omnidirectional image super- resolution. 2021 IEEE/CVF Conference on Computer Vi- sion and Pattern Recognition (CVPR), pages 9185-9194, 2021.
7. [Deng et al., 2023] Xin Deng, Hao Wang, Mai Xu, Li Li, and Zulin Wang. Omnidirectional image super-resolution via latitude adaptive network. IEEE Transactions on Multime- dia, pages 4108-4120, 2023.
8. [Dong et al., 2014] Chao Dong, Change Loy Chen, He Kaiming, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. ECCV. Springer International Publishing, 2014, pages 184-199, 2014.
9. [He et al., 2015] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpass- ing human-level performance on imagenet classification. 2015 IEEE International Conference on Computer Vision (ICCV), pages 1026-1034, 2015.
10. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. 2015 Inter- national Conference on Learning Representations (ICLR), 2015.
11. [Li et al., 2020] Shiyuan Li, Chunyu Lin, Kang Liao, Yao Zhao, and Xue Zhang. Panoramic image quality- enhancement by fusing neural textures of the adaptive ini- tial viewport. 2020 IEEE Conference on Virtual Reality and 3D User Interfaces Abstracts and Workshops (VRW), pages 816-817, 2020.
12. [Li et al., 2022] Wenbo Li, Kun Zhou, Lu Qi, Liying Lu, and Jiangbo Lu. Best-buddy gans for highly detailed image super-resolution. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 1412-1420, 2022.
13. [Lim et al., 2017] Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Kyoung Mu Lee. Enhanced deep resid- ual networks for single image super-resolution. 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1132-1140, 2017.
14. [Liu et al., 2020] Jie Liu, Wenjie Zhang, Yuting Tang, Jie Tang, and Gangshan Wu. Residual feature aggregation network for image super-resolution. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2359-2368, 2020.
15. [Ma et al., 2020] Dizhi Ma, Andrew Lumsdaine, and Wen- hui Zhou. Flexible spatial and angular light field super resolution. 2020 IEEE International Conference on Image Processing (ICIP), pages 2970-2974, 2020.
16. [Mei et al., 2020] Yiqun Mei, Yuchen Fan, Yuqian Zhou, Lichao Huang, Thomas S Huang, and Honghui Shi. Im- age super-resolution with cross-scale non-local attention and exhaustive self-exemplars mining. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5690-5699, 2020.
17. [Ozcinar et al., 2019] Cagri Ozcinar, Aakanksha Rana, and Aljosa Smolic. Super-resolution of omnidirectional im- ages using adversarial learning. 2019 IEEE 21st In- ternational Workshop on Multimedia Signal Processing (MMSP), pages 1-6, 2019.
18. [Paszke et al., 2017] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary De- Vito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. Work- shop Autodiff Submission in Conference on Neural Infor- mation Processing Systems (NIPS-W), 2017.
19. [Senmao et al., 2023] Tian Senmao, Lu Ming, Liu Jiaming, Guo Yandong, Chen Yurong, and Zhang Shunli. Cabm: Content-aware bit mapping for single image super- resolution network with large input. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023.
20. [Shen et al., 2022] Zhijie Shen, Chunyu Lin, Kang Liao, Lang Nie, Zishuo Zheng, and Yao Zhao. Panoformer: Panorama transformer for indoor 360 depth estimation. ECCV, pages 23-27, 2022.
21. [Su and Grauman, 2017] Yu-Chuan Su and Kristen Grau- man. Making 360 video watchable in 2d: Learning videog- raphy for click free viewing. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1368-1376. IEEE, 2017.
22. [Su and Kristen, 2017] Yuchuan Su and Grauman. Kristen. Learning spherical convolution for fast features from 360 imagery. NIPS, 2017.
23. [Sun et al., 2016] Yule Sun, Ang Lu, and Lu Yu. Ahg8: Ws- psnr for 360 video objective quality evaluation. Joint Video Exploration Team of ITU-T SG16 WP3 and ISO/IEC, JTC1/SC29/WG11(JVET-D0040), 2016.
24. [Sun et al., 2021] Yuqi Sun, Ri Cheng, Bo Yan, and Shili Zhou. Space-angle super-resolution for multi-view im- ages. Proceedings of the 29th ACM International Con- ference on Multimedia, page 750-759, 2021.
25. [Tai et al., 2017] Ying Tai, Jian Yang, Xiaoming Liu, and Chunyan Xu. Memnet: A persistent memory network for image restoration. 2017 IEEE International Conference on Computer Vision (ICCV), pages 4549-4557, 2017.
26. [Wang et al., 2021] Hu Wang, Peng Chen, Bohan Zhuang, and Chunhua Shen. Fully quantized image super- resolution networks. Proceedings of the 29th ACM Inter- national Conference on Multimedia, page 639-647, 2021.
27. [Xiao et al., 2012] Jianxiong Xiao, Krista A. Ehinger, Aude Oliva, and Antonio Torralba. Recognizing scene viewpoint using panoramic place representation. 2012 IEEE Confer- ence on Computer Vision and Pattern Recognition, pages 2695-2702, 2012.
28. [Yoon et al., 2022] Youngho. Yoon, Inchul. Chung, Lin Wang, and Kuk-Jin Yoon. Spheresr: 360 image super- resolution with arbitrary projection via continuous spheri- cal image representation. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5667-5676, 2022.
29. [Yu et al., 2023] Fanghua Yu, Xintao Wang, Mingdeng Cao, Gen Li, Ying Shan, and Chao Dong. Osrt: Omnidirec- tional image super-resolution with distortion-aware trans- former. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023.
30. [Zhang et al., 2018] Yulun Zhang, Kunpeng Li, Kai Li, Lichen Wang, Bineng Zhong, and Yun Fu. Image super- resolution using very deep residual channel attention net- works. ECCV 2018: Computer Vision, pages 294-310, 2018.
31. [Zhang et al., 2021] Yulun Zhang, Donglai Wei, Can Qin, Huan Wang, Hanspeter Pfister, and Yun Fu. Context rea- soning attention network for image super-resolution. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4278-4287, 2021.
32. [Zhang et al., 2023] Yunjian Zhang, Yanwei Liu, Jinxia Liu, Antonios Argyriou, Liming Wang, Zhen Xu, and Xi- angyang Ji. Social vr platform: Building 360-degree shared vr spaces. IEEE Transactions on Image Process- ing, 32:2552-2567, 2023.
