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

Graph drawing method and device, terminal equipment and storage medium

A graphics drawing and storage medium technology, applied in the directions of image data processing, image memory management, 2D image generation, etc., can solve the problems of CanvasAPI stuttering and difficulty in drawing polygons, and achieve the effect of improving drawing efficiency and improving display effect

Active Publication Date: 2020-06-12
广州图匠数据科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the graphics that can be drawn by the DOM rendering method are limited by the HTML tag type and the operating range of DOM nodes. It can only draw simple 2D graphics such as rectangles and circles, and it is difficult to draw complex 2D graphics such as polygons and irregular curves.
Although the Canvas API-based method can draw complex 2D graphics, it only supports drawing basic 3D graphics, and when drawing basic 3D graphics or drawing multiple images at the same time, it is easy to cause the Canvas API to freeze.

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
  • Graph drawing method and device, terminal equipment and storage medium
  • Graph drawing method and device, terminal equipment and storage medium
  • Graph drawing method and device, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] It should be noted that the numbering of the steps in the text is only for the convenience of explanation of the specific embodiments, and does not serve as a function of limiting the execution order of the steps. The method provided in this embodiment may be executed by a relevant server, and the description below takes the server as an execution subject as an example.

[0044] see Figure 1-4 .

[0045] Such as figure 1 As shown, the first embodiment provides a graph drawi...

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 graph drawing method and device, terminal equipment and a storage medium. The method comprises the following steps: constructing an HTML5 (Hypertext Markup Language) canvas label, and acquiring a WebGL context object according to the HTML5 canvas label; and verifying the WebGL context object, and calling a WebGL API to draw a graph of a target image when the verificationsucceeds. According to the method, the WebGL API can be called to realize graph drawing, so that the graph display effect and drawing efficiency are improved.

Description

technical field [0001] The invention relates to the technical field of computer graphic drawing, in particular to a graphic drawing method, device terminal equipment and storage medium. Background technique [0002] As an important task of computer vision, image annotation mainly adopts the method based on DOM rendering and the method based on Canvas API to realize graphical annotation. Among them, the graphics that can be drawn by the method based on DOM rendering are limited by the type of HTML tags and the operating range of DOM nodes. It can only draw simple 2D graphics such as rectangles and circles, and it is difficult to draw complex 2D graphics such as polygons and irregular curves. Although the Canvas API-based method can draw complex 2D graphics, it only supports drawing basic 3D graphics, and when drawing basic 3D graphics or drawing multiple images at the same time, it is easy to cause the Canvas API to freeze. . Contents of the invention [0003] The inventi...

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): G06T11/00G06T1/20G06T1/60G06T17/00
CPCG06T11/00G06T17/00G06T1/20G06T1/60Y02D10/00
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