4K real-time video panoramic 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: 2020-06-12
西安卓越视讯科技有限公司 +1
View PDF10 Cites 5 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 panoramic stitching method based on GPU acceleration
  • 4K real-time video panoramic stitching method based on GPU acceleration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described below in conjunction with the drawings:

[0028] See figure 1 with figure 2 , A 4K real-time video panorama stitching method based on GPU acceleration, including 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. Generally, the device fetches the stream to the CPU and then uploads it to the GPU. The present invention achieves one step and fetches the stream directly to the GPU, which greatly saves data upload time. Generally, it takes about 4ms to upload a 4K image from the CPU to the GPU. The core stitching modules of the program are implemented by CUDA multi-threading, including brightness compensation, chroma compensation, image mapping, de-vignetting, and Gaussian pyramid fusion. When the graphics card is RTX2080TI, this system can stitch at least 4 to 6 channels of 4K panoramic stitching video ...

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 invention discloses a 4K real-time video panoramic stitching method based on GPU acceleration. The method comprises the following steps that hardware equipment takes streams and directly transmitsthe streams to a GPU video memory; calculating camera parameters and storing the parameters; calculating image brightness and chromaticity correction parameters; calculating a mask pattern, and performing image fusion on subsequent frames by using the mask pattern; mapping the images to a projection plane by using the calculated camera parameters, and superposing the overlapping areas of the twoimages together; performing compensation processing on the image by using the brightness and chroma correction parameters calculated in the step 3; and fusing the images by adopting an image pyramid and an optimal splicing technology to obtain a panoramic spliced image for display, output and storage. According to the method, the high-frequency detail information of the image is extracted by adopting a Gaussian multilayer pyramid method for fusion, and all operations are accelerated by using the GPU, so that the problems of ghosting and ghosting in the splicing process are solved, and the real-time requirement is met.

Description

Technical field [0001] The invention belongs to the technical field of image splicing, and particularly relates to a 4K real-time video panoramic splicing method based on GPU acceleration. Background technique [0002] Panoramic stitching technology is a technology that combines several overlapping images (which may be obtained at different times, different perspectives or different sensors) into a large seamless high-resolution image. Image stitching is collected and processed by images. , Image feature processing, image matching, model building, image fusion and other steps, and finally complete the mosaic of panoramic images. [0003] At present, there are many researches on video splicing technology at home and abroad, and the focus of the research is mainly 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 splicing. The mainstream method of image registration i...

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 Applications(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