A device and method for quickly converting yuv420 into rgb format

A YUV420, format technology, applied in the field of image processing, can solve the problems of unable to convert frame images at the same time, inconsistent data and Y channel data size, unable to meet real-time requirements, etc., to reduce time and improve real-time effect.

Inactive Publication Date: 2019-02-05
GUILIN CHANGHAI DEV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Usually, the frame image format of some video surveillance equipment after video decoding is YUV420 format, which needs to be converted into RGB for the next step of image processing, and the time required for the general conversion method increases with the increase of image resolution. Multiple channels of YUV420 format frame images are converted at the same time, because the data size of the U and V channels is inconsistent with that of the Y channel, and parallel computing cannot be directly implemented on the graphics processor GPU, thus failing to meet real-time requirements

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
  • A device and method for quickly converting yuv420 into rgb format
  • A device and method for quickly converting yuv420 into rgb format
  • A device and method for quickly converting yuv420 into rgb format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0057] Such as figure 1 As shown, a device for quickly converting YUV420 to RGB format, including a loading module, a separation module, an expansion module, a calculation module and a merger module;

[0058] The loading module is used to load YUV420 format data into the continuous memory of the graphics processing unit GPU;

[0059] The separation module is used to extract YUV420 format data from the graphics processor GPU, and separate the channel data of three channels of Y, U and V, wherein the channel data size of the U channel is consistent with that of the V channel, and the U channel and the V channel are the same. The channel data size of the channel is inconsistent with that of the Y channel;

[0060] YU...

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 provides a device and a method for quickly converting a YUV420 format into a RGB format. The device comprises a loading module, a separation module, an extension module, a computation module and a combining module, wherein the loading module is used for loading data of YUV420 format into a continuous memory of a graphics processing unit (GPU), the separation module is used for separating the data of YUV420 format, the extension module is used for extending the channel data of a U channel and a V channel, the computation module is used for computing the values of R, G and B channels, and the combining module is used for combining the values of the R, G and B channels into an image of RGB format. The device provided by the invention adopts the GPU to quickly convert the YUV420 format into the RGB format and achieve complete parallel computation, and is applicable to the situations of the YUV420 formats with different resolutions; with the configuration of a relatively low-performance video card, time required for converting the YUV420 format into the RGB format is only within several milliseconds, in the case that the GPU has many resources, multiple paths of YUV420 data can be quickly converted at the same time, the time for converting the YUV420 format into the RGB format is greatly reduced, and the instantaneity is improved under various applications.

Description

technical field [0001] The present invention mainly relates to the technical field of image processing, in particular to a device and method for quickly converting YUV420 into RGB format. Background technique [0002] Usually, the frame image format of some video surveillance equipment after video decoding is YUV420 format, which needs to be converted into RGB for the next step of image processing, and the time required for the general conversion method increases with the increase of image resolution. Multi-channel YUV420 format frame images are converted at the same time, because the U and V channel data are inconsistent with the Y channel data size, and parallel computing cannot be directly implemented on the graphics processor GPU, thus failing to meet real-time requirements. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a device and method for quickly converting YUV420 to RGB format, so as to realize fast Y...

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): H04N19/436H04N19/85H04N9/64H04N11/20H04N7/01
CPCH04N7/0117H04N9/64H04N11/20H04N19/436H04N19/85
Inventor 曾日金刘忠山王健秦忠华王珅周凌梁秋波孙枕涟桑莉莉
Owner GUILIN CHANGHAI DEV
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