Unlock instant, AI-driven research and patent intelligence for your innovation.

Computer live image rendering method and system based on graphics card

An image rendering and computer technology, applied in the computer field, can solve problems such as inability to provide high-speed processing capabilities, achieve the effect of ensuring picture clarity and video fluency, meeting filter requirements, and improving user experience

Active Publication Date: 2019-01-29
SHANGHAI HODE INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This type of software usually uses the CPU for color adjustment, which cannot provide high-speed processing capabilities.

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
  • Computer live image rendering method and system based on graphics card
  • Computer live image rendering method and system based on graphics card
  • Computer live image rendering method and system based on graphics card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0098] 1. Create a Direct3D rendering pipeline, write the code in PixelShader (pixel shader) to achieve color beautification by referring to the texture, specifically the red, green and blue primary color data of the screen as the coordinates of the texture, and extract the corresponding color from the texture.

[0099] 2. Load the color map texture compatible with GPUImage's LookupTable filter, upload it to the video memory, and pass it in as the parameter of the above PixelShader code.

[0100] 3. Capture the camera image and upload it to the video memory by writing the DirectShow filter and component media flow graph.

[0101] 4. Execute the Direct3D rendering pipeline, let the code of PixelShader process the camera image, and generate the target image.

[0102] 5. Download the target screen from the video memory to the internal memory for subsequent encoding and streaming to the live server for backup.

Embodiment 2

[0104] Taking the Windows system as an example, the basic steps of implementation are as follows: Figure 6 shown, including:

[0105] 1. By calling the DirectShow interface of the Windows system, capture the lens image from the camera device and store it in the memory.

[0106] 2. Create two textures in the video memory, and transfer the camera image and the color map of the color filter to the video memory.

[0107] 3. The software gives the position of the lens image displayed in the preview screen, transfers the position coordinates to the video memory, and converts the coordinate system through the vertex shader to obtain the final display coordinates.

[0108] 4. Sampling in the lens image texture through the given coordinates to get a pixel.

[0109] 5. Perform linear interpolation on the two mapped colors according to the color mapping table to obtain an accurate final output.

[0110] 6. Transfer the processed texture from the video memory to the memory.

[0111] ...

Embodiment 3

[0114] On the basis of Embodiment 2, between steps 4 and 5, the passing pixels can be distinguished by the YUV ellipse model to distinguish the content of the picture. Take differentiating skin as an example. If the pixel is skin color, it will be treated with microdermabrasion and strong whitening. If it is not the color of the skin, no microdermabrasion and weak whitening treatment will be performed. For the pixels of the whitened color, it is decomposed into the three primary colors of red, green and blue, and the mapped color is obtained through blue. Which two small blocks in the 64 small blocks in the mapping table are located, and the mapped color is obtained through red and green. Where is the small piece.

[0115] The present invention uses a graphics card on a computer to perform high-performance color beautification by means of Direct3D, defines a color mapping table by means of a LUT (Look UpTable), and realizes direct access to live broadcast software based on t...

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 relates to a computer live image rendering method and system based on a graphics card, belonging to the technical field of computers. The method and system of the invention use the graphics card to obtain the lens image and the filter color mapping table, and render the lens image into a rendered image based on the conversion relationship on the left and the filter color mapping table; thus, it has high-speed processing capability and maintains 1920x1080 resolution and 30 frames The real-time processing speed per second executes the color optimization filter, meets the filter requirements of high-end cameras, ensures the clarity of the picture and the smoothness of the video, and then improves the user experience, and the computer live image rendering method and system based on the graphics card of the present invention , the application method is simple, the application cost is low, and the application range is relatively wide.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to the technical field of video processing, and specifically refers to a computer live image rendering method and system based on a graphics card. Background technique [0002] With the advancement of Internet technology and the rise of self-media, live broadcasting has become a popular form of self-media. All kinds of live broadcast software usually have a filter function to achieve the purpose of beautifying the image. However, the filter function of the live broadcast software is different from that of the image processing software, which requires higher image processing capabilities to ensure the clarity and transmission effect of the video while realizing the filter function. [0003] At present, a large number of mobile phone software provide the filter function of the camera screen. However, due to the limitations of mobile phone computing chips, it only uses the ...

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/262G06T1/20G06T1/60H04L29/06
CPCH04N5/262G06T1/20G06T1/60H04L65/611H04L65/762
Inventor 姜军
Owner SHANGHAI HODE INFORMATION TECH CO LTD