A simply connected method and system for filling any polygonal area
A technology of area filling and polygon, which is applied in the direction of filling the plane with attributes, can solve the problems of low efficiency, low efficiency of seed point algorithm, stack overflow, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The invention provides a method for filling arbitrary polygonal areas suitable for simple connectivity.
[0038] Simply connected arbitrary polygons, including convex and concave polygons. Area filling algorithm is a basic algorithm in computer graphics.
[0039] The so-called simply connected, that is, there are no holes in the region.
[0040] The overall flow of the method is as follows:
[0041] Proceed as follows:
[0042] Step S1, filling the concave corners of the original polygon to form a circumscribed convex envelope of the original polygon;
[0043] Step S2, coloring the circumscribed convex envelope.
[0044] The overall flow chart is as figure 1 shown.
[0045] The disadvantages of the existing technology are: 1. The scanning line algorithm has a fast processing speed, but it is slightly complicated for the case of concave polygons;
[0046] 2. The efficiency of the seed point algorithm is lower, and if the coloring area is large, the number of point...
Embodiment 2
[0106] System diagram such as Figure 12 As shown, a simply connected arbitrary polygon area filling system includes a filling unit and a coloring unit, the filling unit is used to fill the concave corners of the original polygon and form a circumscribed convex envelope, and the coloring unit is used to The circumscribed convex envelope is filled with color.
[0107] This system is applicable to the filling method of the single-connected arbitrary polygonal area in embodiment 1. The polygons with concave corners are filled by filling units to form convex polygons and then colored.
[0108] Further, the system also includes a judgment unit, a calculation unit, and a storage unit. in,
[0109] The judging unit is used to judge various conditions;
[0110] The calculation unit is used for calculation of various formulas, etc.;
[0111] The storage unit is used to store various data.
[0112] The judging unit, computing unit and storage unit can be set to belong to the fillin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


