Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

18 April 2025

23 Pages

Optical Flow Odometry with Panoramic Image Based on Spherical Congruence Projection

,
,
,
,
and
1
School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200444, China
2
Shanghai Key Laboratory of Intelligent Manufacturing and Robotics, Shanghai University, Shanghai 200444, China
*
Author to whom correspondence should be addressed.

Abstract

Panoramic images provide distinct advantages in odometry applications, which are largely due to their extensive field of view and higher information density captured in a single frame. Traditional odometry methods often rely on mapping panoramic images onto the planar structure for feature tracking. However, this process introduces uneven distortions of features, which diminish the accuracy of feature tracking and odometry, particularly in scenarios involving large displacements. In this work, we address this challenge by introducing a novel approach, named spherical congruence projection (SCP), that maps panoramic images onto a spherical structure and projects the spherical pixels onto a two-dimensional data format while preserving the spherical pixel topology. SCP effectively eliminates the distortion across the panoramic image. Additionally, we present the optical flow odometry on the panoramic image in the spherical structure and integrate it with the proposed SCP method for the first time. The experimental results in public and custom-built datasets demonstrate that the proposed SCP-based odometry method reliably tracks features and maintains accurate odometry performance, even in fast-moving scenarios.

1. Introduction

Panoramic images offer significant advantages in robotics, autonomous driving, and virtual reality due to their extensive field of view (FoV) [1,2,3]. In visual odometry, their panoramic nature allows for capturing comprehensive environmental information in a single frame, increasing the feature residence time within the sensor’s FoV. This higher information density enhances the accuracy and robustness of visual odometry systems [4].
However, utilizing panoramic images for feature-based odometry poses challenges, particularly in achieving continuous and undistorted feature extraction and tracking across a wide FoV. Original panoramic images suffer from serious image distortions, especially in the polar areas. Existing methods often rely on projecting panoramic images onto specific structures for feature processing, which are categorized into single-plane and multi-plane projection approaches. Single-plane projection methods map panoramic images onto a planar structure. For instance, Scaramuzza et al. [5] developed a model for catadioptric and fisheye cameras, which was later extended by Chen et al. [6] for panoramic annular lens (PAL) cameras. Ji et al. [7] employed equirectangular projection (ERP) to process panoramic images. Multi-plane projection methods divide the image into multiple planes with different viewpoints. Wang et al. [8], for example, proposed a cube map structure for fisheye cameras accompanied by a SLAM system. These methods significantly influence feature tracking accuracy, as shown in Figure 1.
Figure 1. Due to the inherent imaging characteristics of panoramic cameras, the original panoramic images often suffer from significant feature distortion (top row). Different projection approaches are adopted to transform the panoramic image into planner structures, such as ERP and multi-plane projections (bottom row). However, these methods fail to eliminate distortion. The proposed spherical congruence projection method (right side in the bottom row) leverages the spherical structure of panoramic images, effectively reducing feature distortion while preserving the structural integrity of features in the 3D space.
Single-plane projections introduce region-dependent distortions, which lead to tracking inconsistencies, especially under fast motion where feature points experience significant displacements. While multi-plane projections reduce some distortion-related issues, they introduce data discontinuities and retain localized distortions, limiting their robustness under large pixel shifts.
To address these challenges, this paper proposes an optical flow odometry method based on a novel spherical congruence projection (SCP). Unlike the equirectangular projection, which introduces significant pixel stretching near the polar regions and exhibits nonlinear geometric distortion with increasing latitude, the SCP method ensures strict scale consistency across the spherical domain. Compared to multi-plane projection approaches, which often suffer from seam discontinuities and localized distortions at plane boundaries, SCP maintains topological and geometric continuity over the entire field of view. This distortion-free mapping enables smooth and consistent pixel tracking, even under fast motion and large displacements.
In addition, the proposed method integrates a spherical pixel structure with an optical flow tracking framework, allowing for fast and accurate feature association between frames. This dual capability—global distortion elimination and dense, robust tracking—ensures that the proposed system meets both the accuracy and efficiency requirements of panoramic image odometry in real-world scenarios.
The main contributions of this paper are summarized as follows:
  • We propose a spherical congruence projection method that provides a globally consistent, distortion-free representation of panoramic images. Unlike traditional ERP or multi-plane projections, SCP preserves pixel-wise scale and topology on the spherical surface, offering a unified and geometry-preserving alternative for downstream tracking tasks.
  • We introduce a dense optical flow tracking framework tailored for spherical imagery. To the best of our knowledge, this is the first system to perform dense pixel–motion estimation directly on a spherical pixel structure. Our method integrates a nonorthogonal gradient operator specifically adapted to the sphere, enabling smooth and spatially consistent flow fields over the entire 360° FoV.
  • We present a fully integrated visual odometry pipeline that combines spherical projection and dense flow tracking into a real-time system. Extensive experiments on both public and custom datasets demonstrate that our method not only achieves superior accuracy under high-speed motion but also offers improved robustness compared to existing fisheye and panoramic odometry methods.
The rest of this paper is organized as follows. In Section 2, a brief review of odometry algorithms based on panoramic images is given. Section 3 presents the details of the proposed SCP method, and the experiments are conducted and analyzed in Section 4. Section 5 concludes the paper.

3. Materials and Methods

Figure 2 illustrates the structure of the proposed SCP optical flow odometry method, which contains three parts. First, the raw panoramic image is converted into a three-dimensional spherical structure through spherical mapping, and the pixels in the corresponding spherical image are evenly segmented. Then, the spherical image is divided into six subregions of equal area according to the pixel distribution. Eventually, the gradient of pixels within each subregion is calculated, followed by optical flow tracking based on these gradients.
Figure 2. The outline of the proposed SCP-based optical flow visual odometry (SCP-VO).

3.1. Spherical Mapping and Pixelation

Consider a pixel in the panoramic image S with the coordinate denoted as P c , where its corresponding point in world coordinate is represented as P w , as shown in Figure 3. Due to the unique imaging characteristics of panoramic cameras, the traditional pinhole camera model can not accurately represent the translation between P c and P w . In this paper, the omnidirectional camera model proposed by Davide Scaramuzza [32] is adopted to describe the relationship between the point P c and the vector p w emanating from the viewpoint. By normalizing the incident light vectors for all pixels, the panoramic image S in the planar structure can be transformed into a spherical image S ′ . In this spherical structure, the spatial coordinate of the corresponding pixel point within the viewpoint coordinate system is P c ′ = p w / p w = x , y , z .
Figure 3. The procedure of converting the original panoramic image into the QUVS image, whose pixels are evenly distributed on the spherical surface.
Conducting optical flow on the spherical-structure image S ′ directly presents significant challenges due to its varying pixel density and the complexity of motion patterns on the spherical surface. To overcome the above issue, the Quasi-Uniform Voronoi Sphere (QUVS) strategy [33] is employed to resample the pixels of S ′ uniformly. Specifically, the QUVS is an icosahedron-based spherical homogenization method, which conducts iterative refinement using the Voronoi algorithm. The vertices are treated as electrons in QUVS, and the uniform pixel distribution is achieved through electrostatic repulsion balance. Then, the pixel grids are generated according to those vertices. Owing to the intrinsic properties of the icosahedron, the pixel grids contain two types: hexagonal pixels and pentagonal pixels. Denote the QUVS image as S ˜ L , whose refinement level is L. The corresponding number of pixels in S ˜ L is N L , of which 12 are pentagonal pixels, and the remaining N L − 12 pixels are hexagonal pixels. The QUVS image S ˜ L maintains geometric consistency across the entire view, eliminating the feature distortion of pixels in the associated 2D planar image.

3.2. Spherical Congruence Projection

The pixels of S ˜ L are arranged within the 3D space, which presents challenges for storage and memory management, as well as incurs higher computational load. To optimize pixel storage in the computer, we propose a strategy to project spherical pixels onto the 2D plane, referred to as the spherical congruence projection, while preserving topological consistency. The procedure of SCP includes two stages, spherical pixel segmentation and pixel storage, with the corresponding flowchart shown in Figure 4.
Figure 4. The flowchart of spherical congruence projection.

3.2.1. Spherical Pixel Segmentation

For the QUVS image, the number of twelve pentagonal pixels remains constant. These pentagonal pixels are uniformly distributed across the six directional axes of the pole pixel. According to the distribution characteristics of pentagonal pixels, the entire spherical pixel space can be partitioned into six distinct subregions. With the north origin pixel O N and the south origin pixel O S of S ˜ L , two hexagonal coordinate systems can be constructed with axes ω N 1 to ω N 6 and ω S 1 to ω S 6 separately, as shown in Figure 5, where ω N 1 though ω N 6 correspond to the directional vectors from O N , and ω S 1 though ω S 6 correspond to the directional vectors from O S . For each coordinate system, the direction of each axis points to the center of the adjacent hexagonal pixel. The following outlines the construction of the boundary pixels for the spherical segmentation area.
Figure 5. The procedure of spherical pixel segmentation. (1) to (6) in the upper row represent the process of extending and constructing boundary pixels along ω N 1 to ω N 6 respectively. Eventually, the S ˜ L could be converted into six subregions.
In the first step, the boundary pixels begin at O N , extend along each axis until reaching the encountered pentagonal pixel, and repeat the above process in the same manner from O S . The second step begins with the pentagonal pixels encountered in the previous step. For the pentagonal pixels extending from O N , the boundary pixels are further extended to the lower left. For the pentagonal pixels extending from O S , the boundary pixels are further extended to the upper right until the two groups of pixels intersect. The boundary pixels effectively partition S ˜ L into six distinct subregions. By cropping along the boundary pixels and flatting pixels, six 2D images { S C ˜ | C = 1 , ⋯ , 6 } can be generated that preserve the topological relationships of the spherical pixels, as shown in the bottom row of Figure 5. To ensure that each subregion includes its own boundary area, the boundary pixels used for segmentation are duplicated across adjacent subregions. This duplication allows each subregion to maintain a clear boundary, facilitating independent processing or analysis.

3.2.2. Pixel Storage

To facilitate pixel storage and calculation in physical memory, which usually contains the linear layout, the pixels in subregions with hexagonal coordinates are transferred to the Cartesian coordinate system. According to the pixel distribution of each subregion, they can be divided into two categories, where subregions in quadrants ω N 1 , ω N 2 , ω N 3 , ω N 4 , and ω N 5 , ω N 6 are regarded as Right-leaning Region (RR) S ˜ R R , while subregions in quadrants ω N 2 , ω N 3 , ω N 4 , ω N 5 , and ω N 6 , ω N 1 form Left-leaning Region (LR) S ˜ L R . In each subregion, the pixels are indexed according to their centroid coordinates ( x , y ) along the axes, where x and y represent indices along the ω N x and ω N y axes, respectively. Note that the origins for S ˜ R R and S ˜ L R are located at O N . As shown in Figure 6, these pixel indices in the hexagonal coordinate are transformed into the Cartesian coordinate while maintaining the topological structure of pixels, i.e., x , y ⟹ u , v , where u and v denote the corresponding positions of x and y in the Cartesian coordinate. The transformed output, denoted as G , represents the final SCP image. Since the typology structure between S ˜ L and G remains unchanged, u and v are typically consistent with x and y.
Figure 6. Taking the ω N 1 , ω N 2 subregion and ω N 6 , ω N 1 subregion as examples, the coordinate transformation relationships for RR and LR subregions are given above.
After the transformation, the height H and width W of G are given as follows:
H = 2 ∗ 2 L − 1 2 + 1 − 1
W = 3 ∗ 2 L − 1 2 + 1 − 2
where L represents the refinement level of the original QUVS image S ˜ L . Taking the north pole O N as the origin, the coordinates of pentagonal pixels p R R 1 , p R R 2 , p R R 3 , p R R 4 in S ˜ R R are located at 0 , H − 1 2 , W − 1 3 , H − 1 , W − 1 , H − 1 2 , 2 ( W − 1 ) 3 , 0 , respectively. Similarly, the positions of pentagonal pixels p L R 1 , p L R 2 , p L R 3 , p L R 4 in S ˜ L R are 0 , H − 1 2 , 2 ( W − 1 ) 3 , 0 , W − 1 , H − 1 2 , and W − 1 3 , H − 1 . As mentioned above, the boundary pixels of adjacent S ˜ R R and S ˜ L R are shared. Taking the pentagonal pixels in Figure 6 as the example, p R R 4 and p R R 3 on the boundary of S ˜ R R correspond to the p L R 2 and p L R 3 in S ˜ L R .

3.3. SCP-VO Method

With the advantages of the SCP images, an SCP-based Visual Odometry (SCP-VO) is proposed accordingly. The SCP-VO leverages the optical flow principles to accurately identify and track features on the projected SCP images.
H 7 v = H 7 u + H 7 m
H 7 u = − a + a − b 0 + b − a + a
H 7 v = − b − a − a 0 + a + a + b
H 7 m = − a − b + a 0 − a + b + a
On planar images, gradient operators are typically constructed along two orthogonal and independent directions—horizontal and vertical. In contrast, the QUVS pixel structure employed in this work is defined over a spherical domain and is characterized by three symmetric axes, denoted as u, v, and m, which are rotationally related by 60 degrees. Due to the inherently two-dimensional nature of the spherical surface, these three axes are geometrically coupled rather than mutually independent.
Let H 7 u , H 7 v , and H 7 m represent the discrete gradient operators along the u, v, and m directions, respectively. Their mutual spatial constraints are described in Equation (3). Based on the rotational symmetry of the QUVS structure, we construct three directional gradient operators using six sampling directions— [ − v , − m , u , v , m , − u ] —as shown in Equations (4)–(6). These directions correspond to pixel indices #1 through #6 illustrated in Figure 7.
Figure 7. Topological diagram of spherical pixel-to-storage and pixel spatial mapping. The coordinate axes u, v, and m represent the directional axes of hexagonal pixels. The vectors u ⊥ , v ⊥ , and m ⊥ denote the normal vectors of the u, v, and m axes, respectively.
By jointly considering the spatial constraint relationship in Equation (3) and the gradient formulation in Equation (4), we derive the following parameter constraint in the gradient operator:
b = 2 a
To estimate camera motion by minimizing photometric error, it is essential to compute pixel-wise gradients for tracking feature displacements across consecutive frames. In our framework, we select the u and v axes as two independent directions for gradient computation and consider both RR and LR cases. Specifically, the gradient operator in u and v directions for S ˜ R R are
G u R R = 0 − a a − b 0 b − a a 0
G v R R = 0 − b − a − a 0 a a b 0
The gradient operator for u and v directions in S ˜ L R are calculated as
G u L R = − a a 0 − b 0 b 0 − a a
G v L R = − b − a 0 − a 0 a 0 a b
Generally, neighboring pixels within the integration window are assumed to exhibit consistent motion. Thus, the pixel velocity can be characterized by the vector η ¯ that minimizes the photometric error across all pixels within the integration window. This minimization can be efficiently achieved using a one-step computation as follows:
η ¯ = G − 1 b ¯
where b ¯ represents the image mismatch vector, and G denotes the spatial gradient matrix and is defined below. Let the width and height of the associated integration window be ( 2 ∗ w u + 1 ) × ( 2 ∗ w v + 1 ) . Then, the calculation of G and b ¯ can be expressed as
G = ∑ u = p u − w u p u + w u ∑ v = p v − w v p v + w v G u 2 ( u , v ) G u ( u , v ) G v ( u , v ) G u ( u , v ) G v ( u , v ) G v 2 ( u , v )
b ¯ = ∑ u = p u − w u p u + w u ∑ v = p v − w v p v + w v δ I ( u , v ) · G u ( u , v ) δ I ( u , v ) · G v ( u , v )
where δ I ( u , v ) represents the intensity difference between the adjacent images at the position ( u , v ) . Eventually, the prediction of the feature pixel in the next frame can be predicted as below. According to the matched feature points between consecutive frames, the camera’s motion can be estimated by minimizing the photometric error.
( u , v ) k = ( u , v ) k − 1 + η ¯
As the spherical image S ˜ L is divided into six subregions, the feature points may shift between regions, leading to the “cross-domain” phenomenon, particularly near the north and south poles where subregions intersect. Assume that the coordinate of the feature point in the subregion S ˜ R R 1 is u t , v t at time t, and the predicted coordinate can be calculated as u t + 1 , v t + 1 based on Equation (15). If u t + 1 , v t + 1 exceeds the boundary of S ˜ R R 1 , the corresponding spherical coordinate P ˜ in S ˜ L can be calculated based on the Scaramuzza camera model. Then, project P ˜ onto the SCP image, and identify in which subregion the projected pixel resides. The projected pixel represents the location of u t + 1 , v t + 1 after “cross-domain” and participates in optical flow tracking with the newly extracted feature points in the next frame. As the pixel correspondence between S ˜ L and subregions remains fixed, a link table can be generated in the preprocessing stage and retrieved during the practical stage. This approach eliminates the motion prediction procedure when exceeded pixels cross the subregion boundary, thereby enhancing the efficiency of tracking such boundary-crossing pixels.

3.4. Integration with Inertial Odometry

As illustrated in Figure 8, the proposed SCP-VO framework can be seamlessly integrated with inertial measurements to form a complete SCP-VIO system, which further improves the accuracy and robustness of motion estimation. The pose information derived from both the IMU and panoramic images is jointly processed within a tightly coupled motion bundle adjustment module, following conventional visual–inertial optimization techniques as described in [30].
Figure 8. The structure of the integrated SCP-VIO.
The final pose estimation is obtained by jointly minimizing the photometric error from visual tracking and the preintegrated inertial residuals. This enables the SCP-VIO system to fully exploit the complementary characteristics of panoramic vision and inertial sensing. It is worth noting that most representative visual odometry systems for panoramic images are typically designed in conjunction with IMU fusion. Therefore, incorporating IMU measurements in our framework not only enhances accuracy but also ensures fair and meaningful comparisons with state-of-the-art methods under similar conditions, as demonstrated in the experimental section.

4. Experiments and Discussion

4.1. Datasets

PALVIO dataset. The public panoramic visual odometry dataset PALVIO [30] was adopted to verify the effectiveness of the proposed method. The dataset was acquired using two PAL cameras operating at 30 Hz, providing an FoV of 360 ° × ( 40 ° ∼ 120 ° ) supplemented by angular velocity and acceleration measurements recorded at 200 Hz. Note that the PAL camera has a central blind spot, and the optical axis is perpendicular to the direction of motion, capturing most environmental data in equatorial regions, as shown in Figure 9. According to the camera moving speed, the scenarios in the dataset were separated into fast-moving scenarios (ID01, ID05, and ID07) and slower-moving scenarios (ID02, ID03, ID04, ID06, and ID08).
Figure 9. The PALVIO and SCP-Image datasets exhibit distinct feature movement patterns due to differences in camera motion: features in the PALVIO dataset are concentrated in the equatorial region, while features in the SCP-Image dataset are transformed from the poles to the equator.
SCP-Image dataset. In addition to the PALVIO dataset, the custom SCP-Image dataset was created to evaluate the generalizability of the proposed method. Unlike the PALVIO dataset, images in the SCP-Image dataset lack the central blind spot, and the optical axis is aligned parallel to the movement direction. Therefore, the environmental information would be captured across both pole and peripheral regions. Specifically, the SCP-Image dataset includes panoramic images with a resolution of 800 ∗ 848 captured at 30 Hz by the Intel RealSense T265 (Intel. Co., Santa Clara, CA, USA) with a 360° ∗ 165° field of view. Bilinear interpolation is applied to enhance the resolution to 1600 ∗ 1696 , and a 17-level spherical uniform grid is constructed accordingly. Simultaneously, the dataset also contains the IMU data that were recorded at 200 Hz. The dataset scenario involves a 6.5 m ∗ 10 m indoor environment, yielding 12 distinct sequences with ground truth trajectories captured by a NOKOV motion-capturing system. We open sourced the SCP-Image dataset using the following link: https://github.com/DeanXY/SCP_VIO_dataset (accessed on 10 April 2025).

4.2. Comparative Experimental Results

Given the limited availability of open-source projects dedicated to panoramic image odometry, we selected two representative methods as benchmarks against the proposed method. The first is LF-VIO [30], the latest state-of-the-art panoramic odometry method, and the second is VINS-MONO [34], a classic visual odometry algorithm that supports panoramic images. All experiments were conducted on a laptop with an Intel Core I7-8750H processor. Three commonly used performance metrics, the relative pose error in translation (RPEt), the relative pose error in rotation (RPEr), and the absolute trajectory error (ATE), were used to evaluate the VIO’s localization accuracy.
Table 1 summarizes the experimental results of the three algorithms in the PAL-VIO dataset, and the associated confidence intervals (CIs) at 95 % confidence level are given in Table 2. These results indicate that the proposed SCP-VIO demonstrates superior performance in both RPEt and ATM across most sequences. Scenario ID01 and ID06 were analyzed as representative cases and characterized by higher and lower angular velocities, respectively. In the ID01 scenario, SCP-VIO achieved an RMSE of RPEt of 1.70 % , representing improvements of 36.8 % and 54.3 % over LF-VIO and VINS-MONO, which exhibited RPEt RMSE values of 2.69 % and 3.72 % , respectively. Under lower angular velocity conditions, performance increased across all algorithms, with the RMSE of the RPEt of SCP-VIO decreasing to 1.11 % compared to 1.12 % and 3.54 % for LF-VIO and VINS-MONO. Under both high and low angular velocities of the camera, SCP-VIO maintained the highest accuracy among the three methods. However, its improvement in trajectory estimation accuracy was more pronounced under high-speed conditions. Figure 10 illustrates the comparison of trajectories for scenarios of IDs 01, 04, 05, and 06.
Table 1. Experimental results in the PAL-VIO dataset.
Table 2. The confidence interval of RMSE on PAL-VIO dataset.
Figure 10. The trajectory comparison among SCP-VIO, LF-VIO, and VINS-MONO in slow-moving scenarios (ID01 and ID05) and fast-moving scenarios (ID04 and ID06).
Feature point distortion during movement is likely the primary factor contributing to the above phenomenon. For scenario ID01, the rapid motion would lead to varying degrees of distortion in feature tracking, as feature points transition from regions of lower distortion to areas with higher distortion, thereby reducing odometry accuracy. LF-VIO and VINS-MONO process the panoramic image as the planar image during pose estimation, overlooking the inherent distortion in panoramic images, which results in poorer performance. In contrast, the proposed SCP-VIO method mitigates this issue by uniformly segmenting spherical pixels, which maintains consistent feature distortion between adjacent frames. The proposed SCP approach significantly enhances feature tracking accuracy, particularly under high-speed conditions with substantial directional changes, as shown in scenario ID01.
The experimental results obtained from the self-built SCP-Image dataset further confirm the advantages of the proposed SCP-VIO method. The corresponding experimental results are shown in Table 3, and the associated CIs at 95 % confidence level are shown in Table 4. It is obvious that SCP-VIO consistently outperformed LF-VIO and VINS-MONO. Specifically, SCP-VIO achieved an average improvement of 17.7 % over LF-VIO and 15.3 % over VINS-MONO in terms of the RPEt. In the SCP-Image dataset, the alignment of the panoramic image’s optical axis with the motion direction causes feature points to undergo rapid shifts when they move from the polar region to the equatorial region, causing significant changes in the degree of distortion. The proposed SCP-VIO leverages the consistency of distortion across the panoramic image in the spherical structure, ensuring that the projected subregions retain uniform distortion, greatly enhancing the accuracy of optical flow tracking. Figure 11 illustrates the comparison of trajectories in the SCP-Image dataset. In summary, SCP-VIO efficiently improves the accuracy of the odometry based on panoramic images compared to conventional odometry methods.
Table 3. Experimental results in the SCP-Image dataset.
Table 4. The confidence interval of RMSE on SCP-Image dataset.
Figure 11. The trajectories for SCP-VIO, LF-VIO, and VINS-MONO in the self-built SCP-Image dataset.
To evaluate the robustness of SCP-VIO under sensor noise, we conducted further experiments. Table 5 presents the odometry accuracy of SCP-VIO, LF-VIO, and VINS-MONO under varying levels of Gaussian noise ( σ = 10 , 25 , 50 ). The results show that SCP-VIO consistently achieved better robustness than the other methods across all noise levels. For instance, at σ = 50 , SCP-VIO maintained a lower RPEt of 2.829 % and ATE of 1.067 m, whereas LF-VIO and VINS-MONO exhibited much larger errors. The performance gap became more significant under stronger noise, which indicates the advantage of our robust flow tracking strategy and spherical image representation. Furthermore, VINS-MONO failed to provide usable estimates under σ = 25 and σ = 50 , suggesting that monocular tracking is highly vulnerable in noisy conditions.
Table 5. Experimental results for the impact of Gaussian noise on SCP-VIO, LF-VIO, and VINS-MONO.
Additionally, more experiments under challenging environmental conditions, including glare, overexposure, and motion blur, were conducted to further verify the robustness of the SCP method. We take the ID01 scenario from the SCP-Image dataset as a representative case, which exhibits glare and overexposure due to multiple overhead light sources. As shown in Figure 12, significant RPEt error spikes appeared in the LF-VIO and VINS-MONO algorithms when the images were affected by the above artifacts. Specifically, VINS-MONO demonstrated pronounced deviations at about 31 s , 34 s , and 36 s , with RPEt values of 7.45 % , 5.73 % , and 6.43 % respectively. LF-VIO exhibited similar instability at about 31 s , reaching an RPEt of 8.91 % . In contrast, the proposed SCP method maintained stable performance across these conditions, with RPEt values of 0.73 % , 1.08 % , and 1.02 % at 31 s , 34 s , and 36 s , respectively. This resilience may be attributed to SCP’s spherical geometric topological constraints, which preserve global feature associations even when partial image regions suffer from tracking failures.
Figure 12. The comparison of translation and rotation errors among the proposed SCP-based VIO, LF-VIO, and VINS-MONO in the ID01 scenario of the PALVIO dataset. The experimental results indicate that our SCP-based VIO exhibits the most stable performance under situations of glare, overexposure, and motion blur.

4.3. Ablation Experiments on Gradient Operator

As described in Section 3.3, the gradient operator is tailored to the distribution characteristics of spherical pixels in the QUVS image for computing the gradient of the target pixel in the SCP image. In this experiment, we studied how the SCP gradient operator influences the odometry accuracy compared to the conventional LK optical flow gradient operator. Table 6 presents the odometry accuracy outcomes obtained from using LK and SCP gradient operators in seven distinct scenarios from both datasets. The proposed SCP gradient operator shows a better overall performance, with lower RMSE and standard deviation values in both RPEt and RPEr.
Table 6. Experimental results for LK gradient operator and SCP gradient operator.
The LK gradient operator, designed for planar image structures, considers nine surrounding pixels for each target pixel. Although this configuration involves more pixels than the SCP operator, it does not align with the actual distribution characteristics of hexagonal pixels in the QUVS image, resulting in inaccuracies in gradient computation. Experimental results indicate that differences in gradient accuracy directly impact the tracking precision of visual odometry.
In addition to the comparison between the SCP and conventional LK optical flow gradient operators, we further conducted an ablation study to investigate the effect of different weighting configurations within the SCP operator. The results are presented in Table 7, where parameters a and b have a fixed ratio with respect to each other, and their changes basically control the optical flow ratio. In particular, the configuration ( a = 5 , b = 10 ) and ( a = 6 , b = 12 ) achieved the lowest RPEt and ATE, suggesting an optimal tradeoff between spatial scale support and flow consistency on the spherical domain.
Table 7. Experimental results for ablation on SCP gradient operator weighting in SCP-VIO.

4.4. Optical Flow Continuity Examination

As discussed in Section 3.2, the QUVS image is segmented into six subimages. During the optical flow tracking, feature points may transition from one subregion to another. Figure 13 illustrates the cross-domain movement of optical flow between these subregions. The results indicate that the feature points near boundaries can be accurately transferred to adjacent subimages, with the optical flow direction aligning with the overall movement. This consistency suggests that the proposed cross-domain optical flow tracking strategy effectively identifies the predicted coordinates of tracked feature points within neighboring subimages.
Figure 13. The continuity of feature points among different subregions.

4.5. Ablation Experiments on FOV

To analyze how the camera’s field of view (FoV) influences the odometry performance of our proposed SCP-VIO system, we conducted experiments using five different horizontal FoV settings: 165°, 140°, 120°, 100°, and 80°. The results are summarized in Table 8, which reports the RMSE and standard deviation of translational error (RPEt), rotational error (RPEr), and absolute trajectory error (ATE).
Table 8. Experimental results on the effect of camera field of view on SCP-VIO.
The experimental results indicate that wider FoVs generally lead to better odometry accuracy. Specifically, when the FoV was reduced from 165° to 80°, the RPEt increased from 1.831 % to 2.523 % , and the ATE increased from 0.095 m to 0.226 m. This degradation can be attributed to the reduced parallax and decreased visual overlap between frames under narrower FoV settings, which in turn affects the quality of optical flow tracking and depth estimation.
To further analyze whether the odometry error is spatially biased within the image field, we visualize the local optical flow estimation quality across the FoV in Figure 14. As shown in the zoom-in regions, although minor flow discrepancies appear in both central and peripheral areas, these errors are primarily associated with local feature ambiguity (e.g., textureless regions or occlusion boundaries) rather than the spatial position on the sphere.
Figure 14. The error pattern of optical flow vectors in different local zones.The green optical flow lines represent the estimated optical flow, while the purple optical flow lines represent the ground truth.
This observation confirms that our spherical projection model ensures a relatively uniform distribution of motion information across the image plane. Unlike traditional pinhole or narrow FoV systems where peripheral degradation is often observed, the SCP-VIO benefits from spherical geometry to maintain consistent tracking quality in all directions. Consequently, the increase in error under smaller FoV settings is primarily due to the overall reduction in visual cues rather than location-dependent bias.

4.6. Ablation Experiments on Keypoint Numbers

We also explored how the number of tracked keypoints affects the odometry performance of SCP-VIO. Table 9 summarizes the results for five different keypoint counts: 100, 200, 400, 600, and 800. We observe that the system remained stable across this range, with best performance typically achieved at 400–600 keypoints. For example, the minimum ATE of 0.838 m and RPEt of 1.820 % occurred at 400 and 600 keypoints, respectively.
Table 9. Experimental results on the influence of keypoints number on SCP-VIO accuracy.
However, increasing the number of keypoints beyond 600 did not lead to further accuracy gains and may even introduce slight fluctuations due to higher matching redundancy. More importantly, tracking a larger number of keypoints significantly increases computational overhead, especially in the optical flow and feature matching stages. Therefore, selecting an appropriate number of keypoints offers a practical tradeoff between accuracy and real-time performance.

4.7. Runtime Evaluation

Table 10 summarizes the average processing time (in seconds) for three major components of our system, spherical pixel mapping, feature extraction, and optical flow tracking, compared with two representative baselines—LF-VIO and VINS-MONO. The results show that our method achieves comparable performance in both feature extraction and optical flow tracking stages. This demonstrates that working within a spherical structure does not introduce significant computational penalties to the tracking pipeline itself. In addition, feature extraction is not necessary for each frame as long as sufficient feature points remain after optical flow tracking.
Table 10. Experimental results for time efficiency of SCP-VIO, LF-VIO, and VINS-MONO.
However, unlike these baselines, our method includes a spherical pixel mapping step, which introduces an additional average overhead of approximately 0.2266 s per frame. This overhead is expected, as all projection-based panoramic methods—including cube mapping, equirectangular projection, and geodesic grid-based systems—require a similar transformation from raw images to a geometrically consistent representation. Our spherical congruence projection is no exception.

5. Conclusions

In this paper, we proposed a spherical congruence projection method for panoramic visual odometry. By projecting the panoramic image onto a spherical domain and mapping the uniformly sampled spherical pixels onto a topologically consistent 2D structure, our approach mitigates the issue of spatially varying distortion typically found in planar projections of panoramic images. The proposed framework enhances the consistency of optical flow estimation across the full field of view and demonstrates improved tracking accuracy, particularly in high-speed or large-displacement scenarios. The associated SCP-VO system achieved performance improvements of approximately 10 – 20 % over representative baseline methods in terms of translational and rotational accuracy while maintaining comparable runtime efficiency. We acknowledge that the current implementation introduces additional preprocessing overhead due to spherical mapping. In future work, we plan to reduce the projection cost through precomputed mappings and GPU parallelization and to improve robustness in complex scenes by exploring multi-frame flow consistency, adaptive sampling strategies, and fusion with other modalities such as LiDAR or event cameras.

Author Contributions

Conceptualization, Y.Y. and Y.X. (Yangmin Xie); methodology, Y.X. (Yangmin Xie) and Y.X. (Yao Xiao); software, Y.X. (Yao Xiao); validation, Y.X. (Yao Xiao); formal analysis, Y.X. (Yangmin Xie); investigation, Y.X. (Yao Xiao); resources, J.Z.; data curation, Y.X. (Yangmin Xie); writing—original draft preparation, Y.Y.; writing—review and editing, Y.X. (Yangmin Xie); visualization, X.Z. and Y.L.; supervision, Y.X. (Yangmin Xie); project administration, Y.X. (Yangmin Xie); funding acquisition, Y.Y. and Y.X. (Yangmin Xie). All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (NSFC) (No. 62173220 and No. 62303294).

Data Availability Statement

The original data presented in the study are openly available in https://github.com/DeanXY/SCP_VIO_dataset (accessed on 10 April 2025 ).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shi, H.; Zhou, Y.; Yang, K.; Yin, X.; Wang, Z.; Ye, Y.; Yin, Z.; Meng, S.; Li, P.; Wang, K. PanoFlow: Learning 360° backslashcirc Optical Flow for Surrounding Temporal Understanding. IEEE Trans. Intell. Transp. Syst. 2023, 24, 5570–5585. [Google Scholar] [CrossRef] [Scilit]
  2. Kinzig, C.; Miller, H.; Lauer, M.; Stiller, C. Panoptic Segmentation from Stitched Panoramic View for Automated Driving. In Proceedings of the 2024 IEEE Intelligent Vehicles Symposium (IV), Jeju Island, Republic of Korea, 2–5 June 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 3342–3347. [Google Scholar]
  3. Li, Y.; Yabuki, N.; Fukuda, T. Measuring visual walkability perception using panoramic street view images, virtual reality, and deep learning. Sustain. Cities Soc. 2022, 86, 104140. [Google Scholar] [CrossRef] [Scilit]
  4. Gao, S.; Yang, K.; Shi, H.; Wang, K.; Bai, J. Review on panoramic imaging and its applications in scene understanding. IEEE Trans. Instrum. Meas. 2022, 71, 1–34. [Google Scholar] [CrossRef] [Scilit]
  5. Scaramuzza, D.; Martinelli, A.; Siegwart, R. A flexible technique for accurate omnidirectional camera calibration and structure from motion. In Proceedings of the Fourth IEEE International Conference on Computer Vision Systems (ICVS’06), New York, NY, USA, 4–7 January 2006; IEEE: Piscataway, NJ, USA, 2006; p. 45. [Google Scholar]
  6. Chen, H.; Wang, K.; Hu, W.; Yang, K.; Cheng, R.; Huang, X.; Bai, J. PALVO: Visual odometry based on panoramic annular lens. Opt. Express 2019, 27, 24481–24497. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Ji, S.; Qin, Z.; Shan, J.; Lu, M. Panoramic SLAM from a multiple fisheye camera rig. ISPRS J. Photogramm. Remote Sens. 2020, 159, 169–183. [Google Scholar] [CrossRef] [Scilit]
  8. Wang, Y.; Cai, S.; Li, S.J.; Liu, Y.; Guo, Y.; Li, T.; Cheng, M.M. CubemapSLAM: A piecewise-pinhole monocular fisheye SLAM system. In Proceedings of the Asian Conference on Computer Vision, Perth, Australia, 2–6 December 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 34–49. [Google Scholar]
  9. Ramezani, M.; Khoshelham, K.; Fraser, C. Pose estimation by omnidirectional visual-inertial odometry. Robot. Auton. Syst. 2018, 105, 26–37. [Google Scholar] [CrossRef] [Scilit]
  10. Seok, H.; Lim, J. Rovo: Robust omnidirectional visual odometry for wide-baseline wide-fov camera systems. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 6344–6350. [Google Scholar]
  11. Yoon, Y.; Chung, I.; Wang, L.; Yoon, K.J. Spheresr: 360deg image super-resolution with arbitrary projection via continuous spherical image representation. In Proceedings of the EEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 21–24 June 2022; pp. 5677–5686. [Google Scholar]
  12. Lee, Y.; Jeong, J.; Yun, J.; Cho, W.; Yoon, K.J. Spherephd: Applying cnns on a spherical polyhedron representation of 360deg images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 9181–9189. [Google Scholar]
  13. Gao, X.; Shi, Y.; Zhao, Y.; Wang, Y.; Wang, J.; Wu, G. CAPDepth: 360 Monocular Depth Estimation by Content-Aware Projection. Appl. Sci. 2025, 15, 769. [Google Scholar] [CrossRef] [Scilit]
  14. Aguiar, A.; Santos, F.; Santos, L.; Sousa, A. Monocular visual odometry using fisheye lens cameras. In Proceedings of the Progress in Artificial Intelligence: 19th EPIA Conference on Artificial Intelligence, EPIA 2019, Vila Real, Portugal, 3–6 September 2019; Proceedings, Part II 19. Springer: Berlin/Heidelberg, Germany, 2019; pp. 319–330. [Google Scholar]
  15. Lee, U.G.; Park, S.Y. Visual Odometry of a Mobile Palette Robot Using Ground Plane Image from a Fisheye Camera. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2022, 43, 431–436. [Google Scholar] [CrossRef] [Scilit]
  16. Eder, M.; Shvets, M.; Lim, J.; Frahm, J.M. Tangent images for mitigating spherical distortion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 12426–12434. [Google Scholar]
  17. Huang, H.; Yeung, S.K. 360vo: Visual odometry using a single 360 camera. In Proceedings of the 2022 International Conference on Robotics and Automation (ICRA), Philadelphia, PA, USA, 23—27 May 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 5594–5600. [Google Scholar]
  18. Kitamura, R.; Li, S.; Nakanishi, I. Spherical FAST corner detector. In Proceedings of the 2015 IEEE International Conference on Mechatronics and Automation (ICMA), Beijing, China, 2–5 August 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 2597–2602. [Google Scholar]
  19. Williamson, D.L. Integration of the barotropic vorticity equation on a spherical geodesic grid. Tellus 1968, 20, 642–653. [Google Scholar] [CrossRef] [Scilit]
  20. Zhao, Q.; Feng, W.; Wan, L.; Zhang, J. SPHORB: A fast and robust binary feature on the sphere. Int. J. Comput. Vis. 2015, 113, 143–159. [Google Scholar] [CrossRef] [Scilit]
  21. Guan, H.; Smith, W.A. BRISKS: Binary features for spherical images on a geodesic grid. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 4516–4524. [Google Scholar]
  22. Zhang, Y.; Song, J.; Ding, Y.; Yuan, Y.; Wei, H.L. FSD-BRIEF: A distorted BRIEF descriptor for fisheye image based on spherical perspective model. Sensors 2021, 21, 1839. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Lourenço, M.; Barreto, J.P.; Vasconcelos, F. sRD-SIFT: Keypoint detection and matching in images with radial distortion. IEEE Trans. Robot. 2012, 28, 752–760. [Google Scholar] [CrossRef] [Scilit]
  24. Gava, C.C.; Hengen, J.M.; Taetz, B.; Stricker, D. Keypoint detection and matching on high resolution spherical images. In Proceedings of the Advances in Visual Computing: 9th International Symposium, ISVC 2013, Rethymnon, Crete, Greece, 29–31 July 2013; Proceedings, Part I 9. Springer: Berlin/Heidelberg, Germany, 2013; pp. 363–372. [Google Scholar]
  25. Cruz-Mota, J.; Bogdanova, I.; Paquier, B.; Bierlaire, M.; Thiran, J.P. Scale invariant feature transform on the sphere: Theory and applications. Int. J. Comput. Vis. 2012, 98, 217–241. [Google Scholar] [CrossRef] [Scilit]
  26. Chen, Z.; Li, J.; Wu, K. 360ORB-SLAM: A Visual SLAM System for Panoramic Images with Depth Completion Network. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA, 3–8 January 2024. [Google Scholar]
  27. Wang, Z.; Yang, K.; Shi, H.; Li, P.; Gao, F.; Bai, J.; Wang, K. LF-VISLAM: A SLAM Framework for Large Field-of-View Cameras With Negative Imaging Plane on Mobile Agents. IEEE Trans. Autom. Sci. Eng. 2023, 21, 6321–6335. [Google Scholar] [CrossRef] [Scilit]
  28. Yuan, H.; Liu, T.; Zhang, Y.; Jiang, Z. Panoramic Direct LiDAR-assisted Visual Odometry. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 17–21 June 2024. [Google Scholar]
  29. Seok, H.; Lim, J. ROVINS: Robust omnidirectional visual inertial navigation system. IEEE Robot. Autom. Lett. 2020, 5, 6225–6232. [Google Scholar] [CrossRef] [Scilit]
  30. Wang, Z.; Yang, K.; Shi, H.; Li, P.; Gao, F.; Wang, K. LF-VIO: A visual-inertial-odometry framework for large field-of-view cameras with negative plane. In Proceedings of the 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Kyoto, Japan, 23–27 October 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 4423–4430. [Google Scholar]
  31. Wang, D.; Wang, J.; Tian, Y.; Fang, Y.; Yuan, Z.; Xu, M. PAL-SLAM2: Visual and visual–inertial monocular SLAM for panoramic annular lens. ISPRS-J. Photogramm. Remote Sens. 2024, 211, 35–48. [Google Scholar] [CrossRef] [Scilit]
  32. Scaramuzza, D.; Martinelli, A.; Siegwart, R. A toolbox for easily calibrating omnidirectional cameras. In Proceedings of the 2006 IEEE/RSJ International Conference on Intelligent Robots and Systems, Beijing, China, 9–15 October 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 5695–5701. [Google Scholar]
  33. Yang, Y.; Gao, Z.; Zhang, J.; Hui, W.; Shi, H.; Xie, Y. UVS-CNNs: Constructing general convolutional neural networks on quasi-uniform spherical images. Comput. Graph. 2024, 122, 103973. [Google Scholar] [CrossRef] [Scilit]
  34. Qin, T.; Li, P.; Shen, S. Vins-mono: A robust and versatile monocular visual-inertial state estimator. IEEE Trans. Robot. 2018, 34, 1004–1020. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.