Object rendering method and device

A technology of objects and target objects, which is applied in the field of object rendering methods and devices, can solve the problem of large consumption of computing resources, and achieve the effect of reducing the consumption of computing resources and reducing the amount of data

Active Publication Date: 2019-01-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] Embodiments of the present invention provide an object rendering method and device to at least solve the technical problem in the related art that consumes a large amount of computing resources of the computer CPU during real-time rendering

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
  • Object rendering method and device
  • Object rendering method and device
  • Object rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] According to an embodiment of the present invention, a method embodiment of an object rendering method is provided.

[0036] Optionally, in this embodiment, the above object rendering method can be applied to such as figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The object rendering method in this embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the object rendering method performed by the terminal 104 in the embodiment of the present invention may also be performe...

Embodiment 2

[0099] According to an embodiment of the present invention, an object rendering apparatus for implementing the above object rendering method is also provided. Figure 14 is a schematic diagram of an optional object rendering device according to an embodiment of the present invention, such as Figure 14 As shown, the apparatus may include: an acquisition unit 142 , a first identification unit 144 , a second identification unit 146 and a rendering unit 148 .

[0100] An acquisition unit 142, configured to acquire a two-dimensional image obtained by image acquisition of the target object;

[0101] The first identifying unit 144 is configured to identify a first set of pixel points among all the pixels of the two-dimensional image, wherein the pixels in the first set of pixel points are points on the outline of the target object;

[0102] The second identifying unit 146 is configured to identify one or more second pixel point sets in the first pixel point set by invoking the imag...

Embodiment 3

[0129] According to an embodiment of the present invention, a server or a terminal for implementing the above object rendering method is also provided.

[0130] Figure 15 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 15 As shown, the terminal may include: one or more (only one is shown in the figure) processor 1501, memory 1503, and transmission device 1505 (such as the sending device in the above-mentioned embodiment), such as Figure 15 As shown, the terminal may also include an input and output device 1507 .

[0131] Among them, the memory 1503 can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present invention, and the processor 1501 executes various functions by running the software programs and modules stored in the memory 1503 The application and data processing are to implement the above method. ...

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

An object rendering method, device, storage medium, and electronic device are provided. The method comprises: obtaining a two-dimensional image obtained by performing image collection on a target object (S202); recognizing a first pixel point set from all pixel points of the two-dimensional image, pixel points in the first pixel point set being points on a contour of the target object (S204); recognizing one or more second pixel point sets in the first pixel point set by means of calling an image processor, each pixel point in the second pixel point set indicating a line segment of the contour of the target object (S206); and respectively connecting each pixel point in the second pixel point set to form line segments of the contour of the target object, and displaying, according to a preset rendering manner, each connected line segment (S208). The method resolves the technical issue of the related art in which computing resource consumption of a CPU of a computer is large when real-time rendering is performed.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to an object rendering method and device. Background technique [0002] PR and NPR technologies are often used in games, animation and other fields. PR (Photorealistic Rendering) is photorealistic rendering, which refers to making real-world rendering effects through the study of real physical light and shadow; NPR (Non-Photorealistic Rendering) ) is non-photorealistic rendering, which refers to making a rendering effect similar to the abstract artistic conception by studying the abstract artistic conception outlined by the painter through the brush. It is a category of computer graphics and is mainly used to simulate artistic painting styles. Also used to develop new drawing styles. [0003] Different from the traditional computer graphics that pursues realism, NPR is influenced by oil paintings, sketches, technical drawings and animation cartoons. Therefore, the more devel...

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): G06T1/20G06T15/00
CPCG06T1/20G06T15/005
Inventor 刘皓
Owner TENCENT TECH (SHENZHEN) CO LTD
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