VERTICAL CORRECTION FOR PANORAMIC IMAGE
Embodiments of the present disclosure disclose a method and device for vertical correction of a panoramic image, an electronic apparatus and a storage medium. The method includes extracting a set of straight line segments from the panoramic image, where an included angle between each straight line s...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Embodiments of the present disclosure disclose a method and device for vertical correction of a panoramic image, an electronic apparatus and a storage medium. The method includes extracting a set of straight line segments from the panoramic image, where an included angle between each straight line segment in the set of straight line segments and a current vertical direction of the panoramic image is less than a preset angle. The method further includes determining a set of target points by mapping the set of straight line segments on a unit sphere of the panoramic image. The method also includes determining an equatorial plane based on the set of target points and the center of the unit sphere and determining a vertical correction matrix based on the equatorial plane and a unit vector of the current vertical direction. The method additionally includes performing the vertical correction on the panoramic image using the vertical correction matrix. |
---|