4K real-time video panorama stitching method based on GPU acceleration

A real-time video and panorama technology, which is applied in the direction of TV, color TV, color TV parts, etc., can solve the problems of lack of real-time compensation, uneven brightness and darkness of spliced ​​images, and poor visual effects, so as to save upload time and meet Real-time requirements, solving the effect of dark corners in mosaic diagrams

Active Publication Date: 2021-06-01
西安卓越视讯科技有限公司 +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method extracts less image detail information. When the brightness and chromaticity of the mosaic image are slightly different, the transition zone of the mosaic panorama is obvious and the visual effect is poor.
At the same time, the key to video panorama stitching technology is real-time performance. At present, most practitioners use CPU+GPU architecture to realize it. According to the performance of different graphics cards, they can only splice 2 to 4 channels of 2K video at most. , and there is no real-time compensation, resulting in uneven brightness and darkness of the mosaic image, and large color difference
In addition, considering that the image captured by the hardware image acquisition device may have vignetting (bright in the middle of the image and dark around it), there is no processing, which leads to the same problem in stitching panoramas

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • 4K real-time video panorama stitching method based on GPU acceleration
  • 4K real-time video panorama stitching method based on GPU acceleration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention is further described below in conjunction with accompanying drawing:

[0028] see figure 1 with figure 2 , a 4K real-time video panorama stitching method based on GPU acceleration, comprising the following steps:

[0029] Step 1. The hardware device uses the opencv platform to fetch the stream through ffmpeg, and then uses cuda to decode it directly to the GPU memory. Usually, the device fetches the stream to the CPU and then uploads it to the GPU. The present invention takes the stream directly to the GPU in one step, which greatly saves the time for data uploading. Generally, it takes about 4ms for a 4K image to be uploaded from the CPU to the GPU. The core stitching modules of the program are all implemented with CUDA multithreading, including brightness compensation, chromaticity compensation, image mapping, vignetting, and Gaussian pyramid fusion. When the graphics card is RTX2080TI, the system can splice at least 4-6 channels of 4K panor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The 4K real-time video panorama stitching method based on GPU acceleration includes the following steps: the hardware device takes the stream directly to the GPU memory; calculates the camera parameters and saves the parameters; calculates the image brightness and chromaticity correction parameters; calculates the mask map, and uses it for subsequent frames. Image fusion; use the calculated camera parameters to map the image to the projection plane, and overlap the overlapping areas of the two images together; use the brightness and chromaticity correction parameters calculated in step 3 to compensate the image; use image pyramid and best stitching The stitching technology is used to fuse the images to obtain a panoramic mosaic image for display and output preservation. The invention adopts the Gaussian multi-layer pyramid method to extract high-frequency detail information of images for fusion, and all operations are accelerated by GPU, so as to solve the problem of ghost and double image in the splicing process and meet the real-time requirement.

Description

technical field [0001] The invention belongs to the technical field of image splicing, in particular to a 4K real-time video panorama splicing method based on GPU acceleration. Background technique [0002] Panoramic stitching technology is the technology of stitching several overlapping images (which may be obtained at different times, different angles of view or different sensors) into a large seamless high-resolution image. Image stitching goes through image collection and image processing. , image feature processing, image matching, model building, image fusion and other steps, and finally complete the stitching of panoramic images. [0003] At present, there are many researches on video stitching technology at home and abroad, and the research focuses on the two parts of single image registration and image fusion. There are few researches on the complex problems encountered in the process of continuous video stream stitching. The mainstream method of image registration...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04N5/232H04N5/217
CPCH04N23/81H04N23/80H04N23/698
Inventor 魏周朝叱干鹏飞韩亚磊
Owner 西安卓越视讯科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products