Adapting Computer Vision Algorithms for Omnidirectional Video
Hannes Fassold

TL;DR
This paper reviews the challenges of applying standard computer vision algorithms to omnidirectional video and discusses strategies for adapting these algorithms to handle the unique projection and size issues.
Contribution
It provides a high-level overview of the challenges and proposes adaptation strategies for computer vision algorithms in omnidirectional video contexts.
Findings
Identifies key challenges in processing omnidirectional video.
Summarizes adaptation strategies for existing algorithms.
Highlights the need for specialized processing techniques.
Abstract
Omnidirectional (360{\deg}) video has got quite popular because it provides a highly immersive viewing experience. For computer vision algorithms, it poses several challenges, like the special (equirectangular) projection commonly employed and the huge image size. In this work, we give a high-level overview of these challenges and outline strategies how to adapt computer vision algorithm for the specifics of omnidirectional video.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Adapting Computer Vision Algorithms for Omnidirectional Video
Hannes Fassold
JOANNEUM RESEARCH, DIGITAL - Institute for Information and Communication TechnologiesSteyrergasse 17GrazAustria8010
Abstract.
Omnidirectional () video has got quite popular because it provides a highly immersive viewing experience. For computer vision algorithms, it poses several challenges, like the special (equirectangular) projection commonly employed and the huge image size. In this work, we give a high-level overview of these challenges and outline strategies how to adapt computer vision algorithm for the specifics of omnidirectional video.
omnidirectional video, VR, deep learning, object detection
††ccs: Human-centered computing Virtual reality††ccs: Computing methodologies Scene understanding
1. Introduction
Omnidirectional () video content recently got very popular in the media industry as well as in robotics, because it allows the viewer to experience the content in an immersive and interactive way. Omnidirectional consumer video cameras like the Samsung Gear 360 or the Ricoh Theta V have multiple lenses and capture images which cover the whole viewing sphere, typically in 4K or UltraHD resolution. Omnidirectional videos are typically consumed with a head-mounted display (HMD), so that the user is free to choose the area (viewport) within the sphere he is currently interested in. The whole viewing sphere is encoded in one 2D image for each timepoint, usually in equirectangular projection (Lee et al., 2010). Coordinates on the viewing sphere are usually given in a longitude-latidue representation (see Figure 1 for the relation between the viewing sphere and the 2D image). In the following, the longitude is always denoted by and has the range degrees. The latitude is always denoted by and has the range degrees.
Content captured with an omnidirectional camera poses several challenges for computer vision algorithms. Firstly, the captured images have a high resolution (usually UltraHD with 3,840 x 2,120 pixel) as they have to cover the whole viewing sphere. This leads to a high processing time of the algorithm unless some adaption strategies (like spatial subsampling) are employed . Secondly, due to the equirectangular projection which is commonly employed, the areas of the sphere which are away from the equator are stretched in the image and the left and right image border represent adjacent regions in the viewing sphere. When applying an algorithm naively to the input image in equirectangular projection, it likely will produce non-optimal results.
Therefore, strategies are needed in order to adapt computer vision algorithms designed for content captured with a conventional camera to the specifics of omnidirectional video. These strategies can be grouped into two categories, which we will name viewport-centric processing and image-centric processing. In the following, we will describe the two categories and outline the strategies which can be employed for each category.
2. Viewport-centric processing
In viewport-centric processing, the whole viewing sphere is split up into a set overlapping viewports so that the full sphere is covered. For each viewport , the respective viewport image in rectilinear projection is rendered from the omnidirectional image . The computer vision algorithm is now applied to each viewport image , giving the result (e.g. a list of detected objects for an object detector or the denoised image for an image restoration algorithm). The set of per-viewport results have to be fused now into a single result and back-projected into an image in equirectangular projection.
For an object detector (like YoloV3 (Redmon and Farhadi, 2018)), the fusion step usually involves some sort of non-maximum suppression, in order to suppress multiple detections occurring at the same region of the viewing sphere. For an image restoration algorithm where the result is the enhanced image, the fusion and back-projection step can be done via some sort of image blending. Specifically, the blending can be done with an accumulator image and weight image in a similar fashion as described in (Rosner et al., 2010) for the image warping algorithm. For the generation of the overlapping viewports, the Vogel method (Swinbank and Purser, 1999) can be employed for generating approximately uniformly distributed points on the viewing sphere, which will serve as the center of the respective viewport. In Figure 2 a decomposition of the viewing sphere into overlapping quadratical viewports with a FOV of is visualized.
For viewport-centric processing, the computer vision algorithm can be applied without major adaptions as the viewport image has been rendered in the usual rectilinear projection employed in the pinhole camera model. On the other hand, the decomposition into overlapping viewports means that significantly more pixels have to be processed compared with image-centric processing. Of course, the viewport images have also to be rendered (and back-projected) in a reasonable resolution which takes a certain amount of time, even on the GPU. Furthermore, a good strategy for the fusion step (which is task-specific) has to be researched and implemented.
3. Image-centric processing
In image-centric processing, the input image from the omnidirectional video is processed by the specific computer vision algorithm as a whole, without the intermediate step of rendering a set a viewport images. This means that the existing computer vision algorithm has to be adapted to the peculiarities of omnidirectional images, specifically the equirectangular projection commonly employed and the adjacency (in the viewing sphere) of the left and right image border regions. Without these adaptions, the quality of the algorithm may be significantly worse or even completely unusable.
Processing the input image as a whole is usually much more efficient than viewport-centric processing, as runtime-intensive steps like the viewport rendering and the final back-projection are not necessary and less pixels have to be processed. Furthermore, many computer vision algorithm nowadays are GPU-accelerated, and GPU-acceleration is usually more effective (higher speedup factor compared to CPU) for larger images.
The kind of adaption strategy which is employed depends heavily on the components employed within the computer vision algorithm. E.g. for the image blur measure proposed in (Marziliano et al., 2002), the global blur magnitude is calculated from a statistical analysis of the widths of vertical image edges. In order to adapt this algorithm properly for an input image in equirectangular projection, one has to compensate for the stretching of vertical image edges near the top and bottom border of the image (the poles of the viewing sphere). This can be done by calculating a distortion map with the local stretching factors and multiply the measured edge width with a compensation factor derived from the distortion map.
State of the art object detectors like YoloV3 (Redmon and Farhadi, 2018) seem to be quite robust against the stretching induced by the equirectangular projection, but are prone to multiple detections of the same object if it appears partially at the left and right image border. A possible adaption strategy for that case would be to merge these double detection via some sort of non-maximum suppression. The non-maximum suppression must take into account of course that the longitude is cyclic. An exemplary result of the YoloV3 object detector for an image in equirectangular projection can be seen in Figure 3. The receptive field of the object detector was set to pixel in order to account for the aspect ratio of the input image.
4. Conclusion
In this work, we described the challenges omnidirectional video poses for computer vision algorithms designed for conventional video. Approaches for adapting these algorithms like viewport-centric processing or image-centric processing were outlined, and the advantages / disadvantages of each approach were discussed.
Acknowledgements.
This work has received funding from the European Union’s Horizon 2020 research and innovation programme, grant n∘ 761934, Hyper360 (“Enriching 360 media with 3D storytelling and personalisation elements”).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1)
- 2Lee et al . (2010) H. Lee, Y. Tateyama, and T. Ogi. 2010. Realistic visual environment for immersive projection display system. In 2010 16th International Conference on Virtual Systems and Multimedia . 128–132. https://doi.org/10.1109/VSMM.2010.5665954 · doi ↗
- 3Marziliano et al . (2002) P. Marziliano, F. Dufaux, S. Winkler, and T. Ebrahimi. 2002. A no-reference perceptual blur metric. In Proceedings. International Conference on Image Processing , Vol. 3. III–III. https://doi.org/10.1109/ICIP.2002.1038902 · doi ↗
- 4Redmon and Farhadi (2018) Joseph Redmon and Ali Farhadi. 2018. YOL Ov 3: An Incremental Improvement. Co RR abs/1804.02767 (2018). ar Xiv:1804.02767 http://arxiv.org/abs/1804.02767
- 5Rosner et al . (2010) J. Rosner, H. Fassold, P. Schallauer, and W. Bailer. 2010. Fast GPU-based image warping and inpainting for frame interpolation. International Conferences on Computer Graphics,Vision and Mathematics (2010).
- 6Suzuki and Yamanaka (2018) Tatsuya Suzuki and Takao Yamanaka. 2018. Saliency Map Estimation for Omni-Directional Image Considering Prior Distributions. In IEEE International Conference on Systems, Man, and Cybernetics, SMC 2018, Miyazaki, Japan, October 7-10, 2018 . 2079–2084. https://doi.org/10.1109/SMC.2018.00358 · doi ↗
- 7Swinbank and Purser (1999) R. Swinbank and J. Purser. 1999. Fibonacci grids. AMS 13th Conference on Numerical Weather Prediction (1999).
