Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and system for encoding and decoding videos of red green and blue (RGB) space

A technology of RGB space and video encoding, which is applied in the field of video encoding and decoding, can solve the problems of consuming CPU resources, etc., and achieve the effect of improving decoding and echoing speed and good visual encoding effect

Inactive Publication Date: 2011-05-25
深圳市云宙多媒体技术有限公司
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the embodiments of the present invention is to propose a video encoding method in RGB space, aiming to solve the problem that the color space conversion process in the prior art consumes a lot of CPU resources

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
  • Method, device and system for encoding and decoding videos of red green and blue (RGB) space
  • Method, device and system for encoding and decoding videos of red green and blue (RGB) space
  • Method, device and system for encoding and decoding videos of red green and blue (RGB) space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Such as figure 1 Shown is a flow chart of a video encoding method in RGB space according to an embodiment of the present invention, and the method includes the following steps:

[0052] S101: set the resolution to MxN, press R 1 G 1 B 1 The red component R of the sequenced video sequence 1 and the blue component B 1 conduct The downsampling of the obtained resolution is The red component R 1 ’ and the blue component B 1 '.

[0053] Among them, G 1 is the green component, M represents the horizontal resolution of the video sequence, and N represents the vertical resolution of the video sequence.

[0054] The red component R 1 and the blue component B 1 conduct The downsampling of is specifically:

[0055] R 1 '(i,j)=(R 1 (2i, 2j)+R 1 (2i+1, 2j)+R 1 (2i, 2j+1)+R 1 (2i+1, 2j+1)) / 4 (1)

[0056] B 1 '(i,j)=(B 1 (2i, 2j)+B 1 (2i+1, 2j)+B 1 (2i, 2j+1)+B 1 (2i+1, 2j+1)) / 4

[0057] Among them: i, j represent row subscript and column subscript respect...

Embodiment 2

[0068] Such as figure 2 Shown is a flow chart of a video decoding method in RGB space according to an embodiment of the present invention, and the method includes the following steps:

[0069] S201: Decode the coded code stream, and press G after being restored 2 R 2 "B 2 "Sequential video sequence.

[0070] Among them, G 2 is the green component, R 2 "is the red component, B 2 ″ is the blue component; the encoded code stream is a YUV signal in 4:1:1 format, and the decoder used is a decoder in 4:2:0 format, such as JM or x264 decoder.

[0071] S202: set the red component R 2 ″ and the blue component B 2 "Do the second linear processing to obtain the red component R 2 ’ and the blue component B 2 '.

[0072] The red component R 2 ″ and the blue component B 2 "doing the second linear processing is specifically:

[0073] R 2 '=(R 2 ″-128)×2+128 (3)

[0074] B 2 '=(B 2 "-128)×2+128

[0075] S203: For the red component R 2 ’ and the blue component B 2 'condu...

Embodiment 3

[0083] Such as image 3Shown is a structural diagram of a video encoding device in RGB space according to an embodiment of the present invention, and the encoding device includes:

[0084] Downsampling module for converting the resolution to MxN, by R 1 G 1 B 1 The red component R of the sequenced video sequence 1 and the blue component B 1 conduct The downsampling of the obtained resolution is The red component R 1 ’ and the blue component B 1 ';

[0085] Among them, G 1 is the green component, M represents the horizontal resolution of the video sequence, and N represents the vertical resolution of the video sequence.

[0086] The red component R 1 and the blue component B 1 conduct The downsampling of is specifically:

[0087] R 1 '(i,j)=(R 1 (2i, 2j)+R 1 (2i+1, 2j)+R 1 (2i, 2j+1)+R 1 (2i+1, 2j+1)) / 4 (1)

[0088] B 1 '(i,j)=(B 1 (2i, 2j)+B 1 (2i+1, 2j)+B 1 (2i, 2j+1)+B 1 (2i+1, 2j+1)) / 4

[0089] Among them: i, j represent row subscript and column...

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 method for encoding and decoding videos of a red green and blue (RGB) space. The method comprises the following steps: arranging red component R1, green component G1 and blue component B1 of a video sequence according to an order of R1 G1 B1 with a resolution ratio of M*N; carrying out M*N-M / 2 * N / 2 downsampling to the red component R1 and the blue component B1, and obtaining the red component R1' and the blue component B1' with the resolution ratio of M / 2 * N / 2; carrying out first linear treatment on the red component R1' and the blue component B1' to obtain red component R1'' and blue component B1''; rearranging the video sequence in an RGB color mode in accordance with a G1R1''B1'' sequence; and carrying out video encoding on the rearranged G1R1''B1'' video sequence. In the method, higher encoding of definition is carried out on the green component of a video signal, and lower encoding of definition is carried out on the blue component and the red component, thus slightly reducing the cost of picture encoding quality, acquiring preferable vision encoding effect, and improving decoding and echo speeds of equipment at a decoding terminal. The method is especially suitable for low-end handheld devices.

Description

technical field [0001] The present invention relates to the technical field of video encoding and decoding, in particular to a video encoding and decoding method, device and system in RGB space. Background technique [0002] Colors in nature are ever-changing. In order to give a quantitative measure of color, it is necessary to establish a color space model to describe various colors. Since people's perception of color is a complex physiological and psychological process, so in different In order to better and more accurately meet their respective needs in the application fields of various color space models, various color space models have emerged to quantify and describe colors. The ones we are more often exposed to include RGB / CMYK / YIQ / YUV / HSI and so on. For the field of digital electronic multimedia, the concept of color space that we are often exposed to is mainly RGB and YUV. [0003] RGB describes the color according to the principle of the three-primary color plus ...

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): H04N7/26H04N7/46H04N9/64
CPCH04N9/641H04N7/26292H04N19/00315H04N7/465H04N19/00903H04N7/26882H04N19/00757H04N19/186H04N19/59H04N19/85
Inventor 张智雄
Owner 深圳市云宙多媒体技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products