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

Image processing method and module

A technology of image processing and isosceles trapezoid, which is applied in the direction of drawing from basic elements, can solve the problems of not providing a ring interface and pre-preparing pictures by bitmap method, and achieve the effect of simple algorithm and high efficiency

Inactive Publication Date: 2014-06-25
GUANGDONG VTRON TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some software systems, such as systems based on OpenGL non-fixed pipeline technology, there is generally no interface for directly displaying the ring, so in practical applications, developers often need to design their own algorithms for drawing rings
[0003] At present, the general display method is to use a circular bitmap with transparency to replace the vector circular ring. This method is relatively simple, but the disadvantage of using the bitmap method is that the image needs to be prepared in advance.

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 processing method and module
  • Image processing method and module
  • Image processing method and module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Embodiments of the present invention provide an image processing method and an image processing module, which can draw a circle relatively simply.

[0039] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0040] see figure 1 , an embodiment of the image processing method in the present invention comprises:

[0041] 101. Obtain R1 and R2, wherein R1 and R2 are respectively the in...

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 embodiment of the invention discloses an image processing method and module. The image processing method and module are used for simply drawing an annulus. The image processing method includes the steps of obtaining the radius R1 of the inner circle of the target annulus and the radius R2 of the outer circle of the target annulus; drawing n isosceles trapezoids according to the target annulus, wherein the intersection angle of the nth isosceles trapezoid is alphan, the alphan is the acute angle formed in the mode that the two sides of the nth isosceles trapezoid extend to be intersected to a point, the lengths of the sides of each isosceles trapezoid are R2-R1, R1-R1*cos(alphan / 2)<=2, R2-R2*cos(alphan / 2)<=2, and an extension line of the upper bottom edge of the nth isosceles trapezoid is intersected with an extension line of the upper bottom edge of the (n-1)th isosceles trapezoid; obtaining the included angle beta between the side, far away from the second isosceles trapezoid, of the first isosceles trapezoid and the side, far away from the (n-1)th isosceles trapezoid, of the nth isosceles trapezoid; judging whether the included angle beta is smaller than 360 degrees or not, if the included angle beta is smaller than 360 degrees, drawing the (n+1)th isosceles trapezoid according to the obtained included angle beta, if the included angle beta is larger than or equal to 360 degrees, stopping drawing the isosceles trapezoid, and displaying all the isosceles trapezoids. According to the image processing method and module, the annulus can be simply drawn.

Description

technical field [0001] The invention relates to the technical field of image display, in particular to an image processing method and an image processing module. Background technique [0002] As a common graphics, rings are widely used in computer display software. For example, in a geographic information system (Geographic Information System, GIS), when an earthquake or other event occurs in a certain location, a circle can be used to describe it, where the inner ring represents the source of the accident and the outer ring is the affected area. However, in some software systems, such as systems based on OpenGL non-fixed pipeline technology, there is generally no interface for directly displaying the ring, so in practical applications, developers often need to design their own algorithms for drawing the ring. [0003] At present, the general display method is to replace the vector ring with a circular bitmap with transparency. This method is relatively simple, but the disa...

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/20
Inventor 陈泓坤
Owner GUANGDONG VTRON TECH CO LTD