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

Vector line segment contouring method applicable to mobile terminal

A vector line segment and mobile terminal technology, applied in the field of computer vector graphics rendering, can solve problems such as burden and complex filling operations

Inactive Publication Date: 2011-01-19
INST OF ELECTRONICS & INFORMATION ENG IN
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Stroke can improve the accuracy of graphic description and make the graphic display more beautiful, but at the same time it brings the burden of rendering
It is generally not recommended to use the stroke operation on graphics on mobile terminals, because the stroke operation involves the contour calculation of line segments, curve approximation, and filling, which is actually more complicated than simple filling operations

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
  • Vector line segment contouring method applicable to mobile terminal
  • Vector line segment contouring method applicable to mobile terminal
  • Vector line segment contouring method applicable to mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0074] Figure 5 is the contoured schematic diagram when the vector line segment has only one vertex in step (3).

[0075] Such as Figure 5 As shown, the vector line segment has only one vertex p, its coordinates are (x, y), and the line width is w. When contouring, take the coordinates of its polygonal contour points:

[0076] (x-w / 2, y-w / 2), (x+w / 2, y-w / 2), (x+w / 2, y+w / 2), (x-w / 2, y+w / 2);

[0077] Image 6 is the contoured schematic diagram when the number of vertices of the vector line segment is greater than 1 in step (3).

[0078] Such as Image 6 As shown, if the number of vertices of the vector line segment is n, and n>1, the vertices are p 0 ,p 1 …p n-1 , the line width is w, from p 0 Initially, each vertex is calculated in turn with its next vertex in the vertex sequence as follows:

[0079] Adjacent vertex coordinates are (x a ,y a ), (x b ,y b ),Such as Image 6 As shown in (a) figure, if it satisfies:

[0080] ...

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 vector line segment contouring method of a mobile terminal. In the method, two adjacent vertexes are overlapped or one coordinate is deleted when the distance between the vertexes is less than 0.5 pixel on a screen, so that the aims of reducing contour information for generating a polygon, reducing possibility of abnormal conditions and reducing rendering load is fulfilled; then judgment is made to determine whether the line width of a vector line segment is less than 1 pixel, end points and connection of the line segment are not processed, and over-large influence is not brought to display for the vector line segment with line width of less than 1 pixel because the display screen of the mobile terminal is small, and meanwhile, the contouring information of the polygon is reduced and the load for processing the mobile terminal is reduced; and meanwhile, for the vector line segment with line width of greater than 1 pixel, the end points are of square type, the connection of the line segment is of miter type and bevel type, and coordinate points of the polygonal contour after the contouring of the vector line segment are reduced, so that the load for processing the mobile terminal is reduced.

Description

technical field [0001] The invention belongs to the technical field of computer vector graphic rendering, and more specifically relates to a method for contouring vector line segments suitable for mobile terminals. Background technique [0002] The rendering step is the most time-consuming process of rich media processing. At present, the implementation of rendering operations on mobile terminals can be divided into three types: pure software implementation, pure hardware acceleration, and a combination of software and hardware. [0003] The pure software implementation of rendering is completely based on a general-purpose CPU. A typical software implementation is the software implementation of the OpenGLES standard by Rasteroid of Hybrid Company. The implementation of Hybrid has been commercially applied on Nokia mobile phones. [0004] The pure hardware acceleration of rendering is based on dedicated hardware to achieve the best performance. The research on hardware accele...

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): G06T11/00
Inventor 俸志刚姜帆
Owner INST OF ELECTRONICS & INFORMATION ENG IN
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