Image splicing method, computer-readable storage medium, and computer device
Abstract:
The present application is applicable to the field of image processing, and provides an image splicing method and apparatus, a computer-readable storage medium, a computer device, and cameras. The method comprises: calculating a first mapping table corresponding to a lens of each camera according to internal parameters of the lens of each camera, and according to the first mapping table, projecting images collected by the corresponding lens of each camera at the same time onto a unit sphere to obtain multiple first spherical images corresponding to the lens of each camera; according to external parameters of the lens of each camera and the distance from the centers of circles formed by optical centers of the lens of multiple cameras and a preset plane above or below the circles, calculating a second mapping table corresponding to the lens of each camera, mapping the multiple first spherical images to a unified unit sphere according to the second mapping table, and splicing the first spherical images to obtain a panoramic spherical image. The present application can obtain more natural and realistic picture spliced at the top and bottom.
Information query
Patent Agency Ranking
0/0