GPU-based method for calculating random polygon intersection area

A calculation method and polygon technology, applied in the field of polygon intersection area calculation, can solve the problems of concave polygon intersection area, time-consuming concave polygon intersection area, increased calculation amount, etc., to avoid data transmission, facilitate implementation, and improve processing speed Effect

Active Publication Date: 2017-03-22
PLA UNIV OF SCI & TECH +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, for the calculation of the polygon intersection area, there is still a lack of an engineering implementation method based on GPU processing to complete the polygon intersection area
[0005] In addition, from the perspective of the shape of the intersecting polygons, most of the existing polygon intersection area calculation methods are calculated for the intersection area of ​​convex polygons, and for the intersection of concave polygons, most calculation methods need to triangulate or convexize the concave polygon first. Minute
Since the subdivision itself is more complex and will bring more edges to do intersection testing, this greatly increases the amount of calculation, especially for polygons with many concave points or a large number of intersection points
Therefore, in the prior art, the calculation of the intersection area of ​​concave polygons takes a lot of time, the workload is heavy, and the efficiency is low. Compared with the calculation of the intersection area of ​​convex polygons, the calculation of the intersection area of ​​concave polygons seems to be powerless.

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
  • GPU-based method for calculating random polygon intersection area
  • GPU-based method for calculating random polygon intersection area
  • GPU-based method for calculating random polygon intersection area

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to facilitate the understanding of the present invention, the present invention will be described in more detail below in conjunction with the accompanying drawings and specific embodiments. Preferred embodiments of the invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, these embodiments are provided to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0031] It should be noted that, unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field of the present invention. Terms used in the description of the present invention are only for the purpose of describing specific embodiments, and are not used to limit the present invention. The term "...

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 GPU-based method for calculating a random polygon intersection area. According to the method disclosed by the invention, rasterization is carried out on a random polygon by using a GPU and thus the polygon expressed by a vertex coordinate is converted into polygon raster images expressed by rasters; according to the intersection situation of the raster images, assignment and correction are carried out on location identifiers of all rasters; and then statistics of the number of intersected rasters is carried out by using a CPU or GPU and an intersection area is calculated. The method is not limited by concavity and convexity of the polygon; and on the basis of the parallel characteristic of the GPU, the method enables the processing speed to increase substantially by being compared with the CPU-based computing method. Moreover, the principle is simple and the method is convenient to implement. The experiment result demonstrates that the method disclosed by the invention is suitable for any complex polygon; and a problem of singularity in the traditional calculation method can be solved, so that the robustness is high.

Description

technical field [0001] The invention relates to the field of calculation of polygon intersection areas, in particular to a GPU-based calculation method for arbitrary polygon intersection areas. Background technique [0002] The intersection area of ​​plane polygons is widely used. In the fields of computer graphics, computational geometry, and computational fluid dynamics, it is necessary to calculate the area of ​​the common coverage area of ​​intersecting polygons. Its content includes two parts: intersection test and intersection area. The intersection area will be Shape and area calculations that determine polygon intersections. [0003] The existing methods for calculating the intersection area of ​​polygons are generally implemented by a general-purpose processor (CPU) of a computer in a serial processing manner. In recent years, in the fields of computer animation, virtual reality, etc., in order to express richer details, the existing CPU-based serial processing met...

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): G06T1/20
CPCG06T1/20
Inventor 罗健欣裘杭萍权冀川高艺唐斌吴波刘勇段伟伟罗晨张琦张雁飞
Owner PLA UNIV OF SCI & TECH
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