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

Image rendering method and apparatus

An image rendering and image technology, applied in the field of image processing, can solve problems such as difficult to ensure real-time rendering, and achieve the effect of small calculation and simple logic

Inactive Publication Date: 2016-06-15
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide an image rendering method and device to solve the problem that it is difficult to ensure real-time rendering due to the fact that filters with good effects contain too many layers

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
  • Image rendering method and apparatus
  • Image rendering method and apparatus
  • Image rendering method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Such as figure 1 As shown, the embodiment of the present invention provides an image rendering method, including:

[0033] Step 101, receiving a rendering instruction of an image to be rendered input by a user.

[0034] In this embodiment, through the rendering instruction, the user may instruct to render a certain image, or may indicate what kind of rendering to perform on a certain image, which is not limited here.

[0035] Step 102, acquiring original pixel values ​​corresponding to each pixel of the image to be rendered.

[0036] Step 103, obtain the target pixel value corresponding to each original pixel value according to the preset mapping table.

[0037] In this embodiment, since the pixel value of the image to be rendered has a specific value range, taking an 8-bit image as an example, the value range must be between 0-255; therefore, 0-255 needs to be set in the preset mapping table The target pixel value corresponding to the pixel value between; that is, t...

Embodiment 2

[0042] Such as figure 2 As shown, the image rendering method provided by the embodiment of the present invention includes:

[0043] Step 201, receiving a rendering instruction of an image to be rendered input by a user.

[0044] In this embodiment, through the rendering instruction, the user may instruct to render a certain image, or may indicate what kind of rendering to perform on a certain image, which is not limited here.

[0045] Step 202, acquiring original pixel values ​​corresponding to each pixel of the image to be rendered.

[0046] Step 203, selecting the target mapping table from the preset mapping table set according to the rendering instruction.

[0047] In this embodiment, since the pixel value of the image to be rendered has a specific value range, taking an 8-bit image as an example, the value range must be between 0-255; therefore, the mapping table in the preset mapping table set only needs to be Just set the target pixel value corresponding to the pixel...

Embodiment 3

[0053] Such as image 3 As shown, an embodiment of the present invention provides an image rendering device, including:

[0054] An instruction receiving module 301, configured to receive a rendering instruction of an image to be rendered input by a user;

[0055] A pixel value acquisition module 302, connected to the indication receiving module, for acquiring the original pixel value corresponding to each pixel of the image to be rendered according to the rendering indication;

[0056] A pixel value conversion module 303, connected to the pixel value acquisition module, for acquiring a target pixel value corresponding to each original pixel value acquired by the pixel value acquisition module according to a preset mapping table;

[0057] The rendering module 304 is connected to the pixel value conversion module, and is used for modifying the image to be rendered according to the target pixel value obtained by the pixel value conversion module to obtain a rendered image.

[00...

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 an image rendering method and apparatus, and relates to the image processing field, aiming at solving the problem that as a filter with good effect includes too many layers, real time rending is difficult to guarantee. The image rendering method includes the steps: receiving rendering indication, for an image to be rendered, input by a user; acquiring the original pixel value corresponding to each pixel for the image to be rendered; according to a preset mapping table, acquiring the target pixel value corresponding to each original pixel value; and according to the target pixel value, modifying the image to be rendered, and obtaining the image after rendering. The image rendering method and apparatus can be applied to the editing process of images and videos.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to an image rendering method and device. Background technique [0002] In video editing applications, filters are often added to video images to make the video show a specific style or effect. Adding a filter can often bring life back to a lackluster video. In general, it consists of several toning or overlay layers, and then the developer implements each layer, and finally these layers are combined to form a complete filter. [0003] However, most effective filters are complex, and some even contain more than 10 layers. Since the more layers, the greater the amount of computation, it is difficult to guarantee real-time rendering. Contents of the invention [0004] The purpose of the embodiments of the present invention is to provide an image rendering method and device to solve the problem that it is difficult to ensure real-time rendering because a filter with good eff...

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
IPC IPC(8): G06T15/00
CPCG06T15/005
Inventor 陈欣
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
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