Graphics rasterization method, device and storage medium

By identifying and processing repeated graphics in the rasterization method, rasterizing only once and reading the rasterized graphics of the cropped area solves the problems of graphics inconsistency and low efficiency in the traditional method, achieving resource saving and efficiency improvement.

CN113269842BActive Publication Date: 2024-10-22SVG TECH GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010096447.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-17
Publication Date
2024-10-22
Estimated Expiration
2040-02-17

AI Technical Summary

Technical Problem

When the traditional rasterization method processes multiple identical graphics, there are calculation numerical errors that lead to inconsistent pixel sizes of the same graphics in different rectangular frames, and multiple rasterization of repeated graphics reduces efficiency and wastes resources.

Method used

By obtaining the target to be rasterized, determine the target graphics whose number of repetitions is greater than or equal to the preset number, perform a rasterization process, and read the corresponding rasterized graphics in the cropping area to avoid repeated rasterization and solve calculation errors and Efficiency issues.

Benefits of technology

It achieves line width consistency of the same graphics, improves rasterization efficiency, saves equipment resources, and avoids resource waste and calculation errors caused by repeated rasterization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113269842B_ABST
    Figure CN113269842B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device and storage medium for rasterizing graphics, and belongs to the field of image processing technology. The method includes: obtaining a target to be rasterized; determining a target graphic whose number of repetitions is greater than or equal to a preset number in the target to be rasterized; performing rasterization processing on the target graphic to obtain a rasterized graphic; cutting the target to be rasterized to obtain multiple cutting areas; for each cutting area, reading the rasterized graphic corresponding to the target graphic when the cutting area includes the target graphic; the problem that performing rasterization once for repeated target graphics will waste the resources of electronic equipment and reduce the efficiency of graphic rasterization can be solved; the problem of consistency of the same graphics in the same file is solved, so that the consistency of line width is guaranteed. Since only one rasterization process needs to be performed for repeated target graphics, only the rasterized graphics need to be called later, so the rasterization efficiency can be improved and the equipment resources can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a graphics rasterization method, device and storage medium, and belongs to the field of image processing technology. Background Art

[0002] A lithographic apparatus is a device that applies a desired pattern to a target portion of a substrate (e.g., a workpiece, an object, a display, etc.). A lithographic apparatus can be used, for example, in the manufacture of integrated circuits (ICs), flat panel displays, and other devices containing fine structures. The pattern forming device (also called a mask or a mask original) in a conventional lithographic apparatus can be used to produce a circuit pattern corresponding to a single layer of an IC (or other device), which can be imaged onto a target portion of a substrate coated with a layer of radiation-sensitive material. The pattern forming device can include an array of individually controllable cells to produce a circuit pattern instead of a mask. A lithographic system using such an array is generally referred to as a maskless system.

[0003] Common laser maskless direct writing lithography methods include: Digital Micromirror Device (DMD) light field splicing exposure method, Acousto Optical Deflectors (AOD) and Acousto-optical Modulators (AOM) high-speed scanning method, laser beam direct focusing single light spot filling method, etc. The input file data formats of laser direct writing lithography are usually GDSII, Gerber, DXF, etc. The above methods all need to convert the input file format into a data format suitable for the device itself, among which rasterizing the input graphics is an important step (i.e., rasterization schematic diagram).

[0004] Since laser direct writing is a process of writing and exposing area by area, the conventional rasterization method includes: cutting and dividing the entire graphic into rectangular frames of a set size, and then rasterizing the divided area graphics.

[0005] However, when multiple identical graphics exist in different regions, they may be in different rectangular frames after being cropped. At this time, the later rasterization in each rectangular frame will cause the same graphics to have inconsistent pixel sizes in different rectangular frames due to the existence of numerical calculation errors; at the same time, multiple calls to the rasterization process for multiple identical graphics will reduce the overall rasterization efficiency. Summary of the invention

[0006] The present application provides a method, device and storage medium for rasterizing graphics, which can solve the problem that performing rasterization on repeated target graphics once will waste the resources of electronic equipment and reduce the efficiency of graphics rasterization. It can solve the problem of consistency of the same graphics in the same file, so that the consistency of line width is guaranteed. The present application provides the following technical solutions:

[0007] In a first aspect, a graphics rasterization method is provided, the method comprising:

[0008] Get the target to be rasterized;

[0009] Determine a target pattern whose number of repetitions in the target to be rasterized is greater than or equal to a preset number;

[0010] Performing rasterization processing on the target graphic to obtain a rasterized graphic;

[0011] Cutting the target to be rasterized to obtain a plurality of cutting areas;

[0012] For each cutting area, when the cutting area includes the target graphic, a rasterized graphic corresponding to the target graphic is read.

[0013] Optionally, the determining the target graphics whose number of repetitions in the target to be rasterized is greater than or equal to a preset number includes:

[0014] Traversing each graphic in the target to be rasterized to obtain feature information corresponding to each graphic;

[0015] Count the number of graphics with the same feature information;

[0016] When the number is greater than or equal to a preset number, the graphic having the same characteristic information is determined to be the target graphic.

[0017] Optionally, counting the number of graphics having the same characteristic information includes:

[0018] For each graphic in the target to be rasterized, after acquiring the feature information corresponding to the graphic, a feature identifier of the feature information is generated, and the feature identifiers corresponding to different feature information have the same length;

[0019] Determining whether the feature identifier has been stored;

[0020] When the feature identifier is not stored, establishing an association relationship between the feature identifier, the signature count, and the feature information, and the signature count is initialized to 1;

[0021] When the feature identifier has been stored, adding 1 to the value of the signature count in the association relationship to which the feature identifier belongs;

[0022] The value of the signature count is the number of graphics with the same characteristic information.

[0023] Optionally, the feature information includes position description information, shape description information, and size description information, and the feature identification for generating the feature information includes:

[0024] The shape description information and the size description information in the feature information are calculated based on a signature algorithm to obtain a feature identifier corresponding to the feature information.

[0025] Optionally, each graphic in the target to be rasterized includes a closed polygon, the position description information includes: the coordinate position of the target node; the shape description information includes: the graphic identifier and the number of nodes; the size description information includes: the distance of other nodes relative to the target node; and / or,

[0026] Each graphic in the target to be rasterized includes a circle, the position description information includes: the coordinate position of the center of the circle; the shape description information includes: a graphic identifier; the size description information includes the radius of the circle; and / or,

[0027] Each graphic in the target to be rasterized includes a rectangle, and the position description information includes: the coordinate position of the target vertex; the shape description information includes: a graphic identifier; and the size description information includes the width and height of the rectangle.

[0028] Optionally, the method further comprises:

[0029] For each cutting area, when the cutting area does not include the target graphic, rasterizing is performed on the graphic in the cutting area.

[0030] In a second aspect, a graphics rasterization device is provided, the device comprising:

[0031] A target acquisition module, used to acquire the target to be rasterized;

[0032] A graphics determination module, used to determine a target graphics whose number of repetitions in the target to be rasterized is greater than or equal to a preset number;

[0033] A rasterization module, used for performing rasterization processing on the target graphic to obtain a rasterized graphic;

[0034] An object cutting module, used for cutting the object to be rasterized to obtain a plurality of cutting areas;

[0035] The data reading module is used for reading the rasterized graphics corresponding to the target graphics for each cutting area when the cutting area includes the target graphics.

[0036] Optionally, the graphic determination module is used to:

[0037] Traversing each graphic in the target to be rasterized to obtain feature information corresponding to each graphic;

[0038] Count the number of graphics with the same feature information;

[0039] When the number is greater than or equal to a preset number, the graphic having the same characteristic information is determined to be the target graphic.

[0040] In a third aspect, a graphics rasterization device is provided, the device comprising a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to implement the graphics rasterization method described in the first aspect.

[0041] In a fourth aspect, a computer-readable storage medium is provided, wherein a program is stored in the storage medium, and the program is loaded and executed by the processor to implement the graphics rasterization method described in the first aspect.

[0042] The beneficial effects of the present application are: by obtaining the target to be rasterized; determining the target graphics whose number of repetitions in the target to be rasterized is greater than or equal to the preset number; performing rasterization processing on the target graphics to obtain a rasterized graphics; cutting the target to be rasterized to obtain multiple cutting areas; for each cutting area, reading the rasterized graphics corresponding to the target graphics when the cutting area includes the target graphics; it can solve the problem that performing rasterization on repeated target graphics once will waste the resources of the electronic device and reduce the efficiency of graphics rasterization; at the same time, the target graphics are not cut, but the corresponding rasterized graphics are read, which solves the calculation value error existing in the cutting, avoids the phenomenon of inconsistent pixel size of the same graphics due to different cutting positions, and solves the problem of inconsistent line width of the same graphics. Since only one rasterization process needs to be performed for repeated target graphics, and only the rasterized graphics need to be called later, it can improve the rasterization efficiency and save equipment resources; it solves the problem of consistency of the same graphics, so that the consistency of line width is guaranteed.

[0043] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present application in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flowchart of a graphics rasterization method provided by an embodiment of the present application;

[0045] Figure 2 is a schematic diagram of a target to be rasterized provided by an embodiment of the present application;

[0046] Figure 3 is a flow chart for determining a target graph provided by an embodiment of the present application;

[0047] Figure 4is a schematic diagram of feature information of a closed polygon provided by an embodiment of the present application;

[0048] Figure 5 is a schematic diagram of characteristic information of a circle provided by an embodiment of the present application;

[0049] Figure 6 is a schematic diagram of feature information of a rectangle provided by an embodiment of the present application;

[0050] Figure 7 is a schematic diagram of a graphic feature information recording table provided by an embodiment of the present application;

[0051] Figure 8 It is a schematic diagram of obtaining a feature identifier provided by an embodiment of the present application;

[0052] Fig. 9 is a schematic diagram of a graphic feature information signature table provided by an embodiment of the present application;

[0053] Fig.10 is a schematic diagram of a rasterization process of a target graphic provided by an embodiment of the present application;

[0054] Fig.11 is a schematic diagram of cutting a target to be rasterized provided by an embodiment of the present application;

[0055] Fig.12 is a schematic diagram of rasterizing a target to be rasterized provided by an embodiment of the present application;

[0056] Fig.13 is a block diagram of a graphics rasterization device provided by an embodiment of the present application;

[0057] Fig.14 It is a block diagram of a graphics rasterization device provided by one embodiment of the present application. DETAILED DESCRIPTION

[0058] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.

[0059] First, several terms involved in this application are introduced.

[0060] Rasterization: refers to the process of converting an image into an image composed of raster grids.

[0061] Rasterization rules: used to define how vector data is mapped to raster data. Raster data will be snapped to integer positions that will then be culled and clipped (in order to draw the minimum number of pixels), and per-pixel attributes will be interpolated (from per-vertex attributes) before being passed to the pixel shader. Existing rasterization rules include: triangle rasterization rules, line rasterization rules, point rasterization rules, multi-sample anti-aliasing rasterization rules, etc.

[0062] Optionally, the present application takes the execution subject of each embodiment as an electronic device as an example for explanation, and the electronic device may be a terminal or a server, and the terminal may be a computer, a mobile phone, a tablet computer, etc., and the present embodiment does not limit the type of electronic device. Schematically, the electronic device is used to control a lithography system to perform laser maskless direct writing lithography.

[0063] Figure 1 This is a flowchart of a graphics rasterization method provided by an embodiment of the present application. The method includes at least the following steps:

[0064] Step 101, obtaining the target to be rasterized.

[0065] The target to be rasterized includes a plurality of graphics to be rasterized, and the graphics to be rasterized include circles, triangles, rectangles, lines and / or dots. The present embodiment does not limit the types of graphics to be rasterized. Figure 2 The target 21 to be rasterized shown includes 3 triangles, 2 circles and 1 rectangle.

[0066] Step 102 , determining target graphics whose number of repetitions in the target to be rasterized is greater than or equal to a preset number.

[0067] Since the target to be rasterized may include target graphics of the same size and shape but different positions, if each target graphic is rasterized once, it will waste the resources of the electronic device and reduce the rasterization efficiency of the graphics.

[0068] Optionally, refer to Figure 3 , determining the target graphics whose number of repetitions in the target to be rasterized is greater than or equal to a preset number, at least comprising steps 31-33:

[0069] Step 31, traverse each graphic in the target to be rasterized to obtain feature information corresponding to each graphic.

[0070] The characteristic information of the graphic includes position description information, shape description information and size description information.

[0071] refer to Figure 4 , each graphic in the target to be rasterized includes closed polygons (for example: Figure 2The position description information includes: the coordinate position 41 of the target node; the shape description information includes: the graphic identifier 42 and the number of nodes 43 (the number of nodes of the triangle is 3); the size description information includes: the distance 44 of other nodes relative to the target node.

[0072] The graphic identifier is used to identify graphics with the same characteristic information. The graphic identifier may be a randomly generated string or a code generated in sequence. This embodiment does not limit the generation method of the graphic identifier.

[0073] The target node is any node (or inflection point, node, etc.) on the closed polygon. Other nodes refer to all nodes on the closed polygon except the target node.

[0074] The distances of the other nodes relative to the target node are represented by the differences between the x-axis coordinates of the other nodes and the x-axis coordinates of the target node, and the differences between the y-axis coordinates of the other nodes and the y-axis coordinates of the target node.

[0075] and / or, reference Figure 5 , each graphic in the target to be rasterized includes a circle, and the position description information includes: the coordinate position of the center of the circle 51; the shape description information includes: the graphic identifier 52; and the size description information includes the radius 53 of the circle.

[0076] and / or, reference Figure 6 Each graphic in the target to be rasterized includes a rectangle, and the position description information includes: the coordinate position 61 of the target vertex; the shape description information includes: the graphic identifier 62; and the size description information includes the width 63 and the height 64 of the rectangle.

[0077] The target vertex of the rectangle is any vertex on the rectangle, for example, the left vertex.

[0078] Step 32, counting the number of graphics with the same characteristic information.

[0079] For each graphic in the target to be rasterized, a feature identifier of the feature information is generated after the feature information corresponding to the graphic is obtained; it is determined whether the feature identifier has been stored; when the feature identifier has not been stored, an association relationship is established between the feature identifier, the signature count, and the feature information; when the feature identifier has been stored, the value of the signature count is increased by 1 in the association relationship to which the feature identifier belongs.

[0080] The signature count initialization value is 1, and the signature count value is the number of graphics with the same characteristic information; the lengths of the characteristic identifiers corresponding to different characteristic information are the same. Generating the characteristic identifier of the characteristic information includes: calculating the shape description information and the size description information in the characteristic information based on the signature algorithm to obtain the characteristic identifier corresponding to the characteristic information.

[0081] The signature algorithm is used to convert different feature information into strings with the same character length. The signature algorithm includes but is not limited to the MD5 message digest algorithm, the SHA algorithm, etc. This embodiment does not limit the type of the signature algorithm.

[0082] Since the signature algorithm obtains the same string when calculating the same information and different strings when calculating different information, and the shape description information and size description information of the repeated graphics in the target to be rasterized are the same but the position description information is different, in this embodiment, the same string can be obtained by calculating only the shape description information and the size description information, thereby ensuring that the repeated graphics have the same feature identifier.

[0083] Optionally, after acquiring the characteristic information corresponding to the graphic, the electronic device stores the characteristic information in a preset graphic characteristic information recording table, for example: Figure 7 ,Will Figure 4 The characteristic information shown is stored in position 71 of the graphic characteristic information record table to obtain the characteristic information of graphic 3; Figure 5 The characteristic information shown is stored in position 72 of the graphic characteristic information record table to obtain the characteristic information of graphic 2; Figure 6 The characteristic information shown is stored in position 73 of the graphic characteristic information record table to obtain the characteristic information of graphic 1. At this time, the characteristic information of the graphic also includes the storage position of the corresponding characteristic identifier in the graphic characteristic information record table, refer to Figure 4 of 46; Figure 5 54 and Figure 6 Of these, 65.

[0084] For each feature information of a graphic, the electronic device detects whether a feature identifier corresponding to the feature information exists; if not, the electronic device calculates the feature identifier corresponding to the feature information. Figure 8 The process of calculating the feature identifier corresponding to the feature information is shown. Figure 8 Taking the characteristic information of a triangle as an example, the electronic device connects the characteristic information of the triangle end to end to obtain a character string 81, and uses the MD5 algorithm to calculate the shape description information and size description information in the character string 81, that is, to calculate other information except the coordinates (96, 254) of the target node in the triangle, to obtain a characteristic identifier 82. At this time, the signature count corresponding to the characteristic information is 1. If there is a characteristic identifier corresponding to the characteristic information, the electronic device adds 1 to the signature count in the association relationship to which the characteristic information belongs.

[0085] Optionally, after acquiring the feature identifier and signature count, the electronic device stores the feature identifier, signature count and storage location of the feature information in a preset graphic feature information signature table to obtain the association relationship between the feature identifier, signature count and feature information. Fig. 9 ,Will Figure 8 The feature identifier 82, signature count 83 and feature information storage location 84 are stored in location 91 of the graphic feature information signature table. Location 91 also includes a rasterized graphic storage address, which is used to indicate the storage location of the corresponding graphic after rasterization. The rasterized graphic storage location is initialized to empty.

[0086] Assume that based on the above steps Figure 2 The target to be rasterized is traversed, and the obtained graphic feature information record table and graphic feature information signature table are as follows Fig.10 As shown, the signature count corresponding to the triangle is 3, the signature count corresponding to the circle is 2, and the signature count corresponding to the rectangle is 1.

[0087] Step 33: When the number is greater than or equal to the preset number, determine the graphics with the same characteristic information as the target graphics.

[0088] The preset number is an integer such as 2 or 3, and this embodiment does not limit the value of the preset number.

[0089] Taking the preset number as 2 as an example, follow Fig.10 From the signature counts shown, it can be seen that both the triangle and the circle are target shapes.

[0090] Step 103, performing rasterization processing on the target graphic to obtain a rasterized graphic.

[0091] Optionally, since the number of repetitions of the target graphics is relatively large, when rasterizing the target graphics, the electronic device may randomly select a target graphic for rasterization; or, select a target graphic at a specified position for rasterization.

[0092] right Fig.10 The rasterized graphics reference obtained by rasterizing the triangle and circle shown Fig.10 in 101 and 102.

[0093] Step 104 , cutting the object to be rasterized to obtain a plurality of cutting areas.

[0094] Assume that Figure 2 The multiple cut areas obtained by cutting the target to be rasterized are as shown in Fig.11 shown.

[0095] The cutting area may be a regular shape such as a rectangle or a polygon; or it may be an irregular shape; different cutting areas may have the same or different sizes, and this embodiment does not limit the cutting method of the electronic device.

[0096] Step 105 : for each cutting area, when the cutting area includes the target graphic, read the rasterized graphic corresponding to the target graphic.

[0097] Optionally, for each cutout region, when the cutout region does not include the target graphic, the graphic in the cutout region is rasterized.

[0098] for example: Fig.11 The rectangular frame 1 shown contains the graphic 3-1. It can be found through the signature table that the graphic 3-1 has been pre-rasterized. Therefore, there is no need to perform the rasterization process on the graphic 3-1. The memory data belonging to the rectangular frame is directly copied to realize rasterization, such as Fig.12 As shown in the figure 1-1, since it has not been pre-rasterized, the rasterization process needs to be called to complete the rasterization of the figure.

[0099] In summary, the graphics rasterization method provided in this embodiment obtains the target to be rasterized; determines the target graphics whose number of repetitions in the target to be rasterized is greater than or equal to the preset number; performs rasterization processing on the target graphics to obtain a rasterized graphics; cuts the target to be rasterized to obtain multiple cut areas; for each cut area, reads the rasterized graphics corresponding to the target graphics when the cut area includes the target graphics; it can solve the problem that performing rasterization on repeated target graphics once will waste the resources of the electronic device and reduce the efficiency of graphics rasterization; at the same time, the target graphics are not cut, but the corresponding rasterized graphics are read, which solves the calculation value error caused by cutting, avoids the phenomenon of inconsistent pixel size of the same graphics due to different cutting positions, and solves the problem of inconsistent line width of the same graphics. Since only one rasterization process needs to be performed for repeated target graphics, and only the rasterized graphics need to be called later, it can improve the rasterization efficiency and save equipment resources; it solves the problem of consistency of the same graphics, so that the consistency of line width is guaranteed.

[0100] Fig.13 1 is a block diagram of a graphics rasterization device provided by an embodiment of the present application. The device comprises at least the following modules: a target acquisition module 1301 , a graphics determination module 1302 , a rasterization module 1303 , a target cutting module 1304 and a data reading module 1305 .

[0101] The target acquisition module 1301 is used to acquire the target to be rasterized;

[0102] A graphic determination module 1302 is used to determine a target graphic whose number of repetitions is greater than or equal to a preset number in the target to be rasterized;

[0103] A rasterization module 1303, configured to perform rasterization processing on the target graphic to obtain a rasterized graphic;

[0104] The object cutting module 1304 is used to cut the object to be rasterized to obtain multiple cutting areas;

[0105] The data reading module 1305 is configured to read, for each cutting area, a rasterized graphic corresponding to the target graphic when the cutting area includes the target graphic.

[0106] Optionally, the graphic determination module 1302 is used to:

[0107] Traversing each graphic in the target to be rasterized to obtain feature information corresponding to each graphic;

[0108] Count the number of graphics with the same feature information;

[0109] When the number is greater than or equal to a preset number, the graphic having the same characteristic information is determined to be the target graphic.

[0110] For relevant details, refer to the above method embodiment.

[0111] It should be noted that: the graphics rasterization device provided in the above embodiment only uses the division of the above functional modules as an example when performing graphics rasterization. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the graphics rasterization device is divided into different functional modules to complete all or part of the functions described above. In addition, the graphics rasterization device provided in the above embodiment and the graphics rasterization method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0112] Fig.14 1401 is a block diagram of a graphics rasterization device provided by an embodiment of the present application. The device at least includes a processor 1401 and a memory 1402.

[0113] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.

[0114] The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, which is used to be executed by the processor 1401 to implement the graphics rasterization method provided in the method embodiment of the present application.

[0115] In some embodiments, the graphics rasterization device may also optionally include: a peripheral device interface and at least one peripheral device. The processor 1401, the memory 1402 and the peripheral device interface may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface via a bus, a signal line or a circuit board. Schematically, the peripheral devices include but are not limited to: a radio frequency circuit, a touch display screen, an audio circuit, and a power supply.

[0116] Of course, the graphics rasterization device may also include fewer or more components, which is not limited in this embodiment.

[0117] Optionally, the present application also provides a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the graphics rasterization method of the above method embodiment.

[0118] Optionally, the present application also provides a computer product, which includes a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the graphics rasterization method of the above method embodiment.

[0119] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0120] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A graphics rasterization method, characterized in that: The method comprises: Get the target to be rasterized; Determine a target pattern whose number of repetitions in the target to be rasterized is greater than or equal to a preset number; Performing rasterization processing on the target graphic to obtain a rasterized graphic; Cutting the target to be rasterized to obtain a plurality of cutting areas; For each cutting area, when the cutting area includes the target graphic, a rasterized graphic corresponding to the target graphic is read.

2. The method according to claim 1, characterized in that The step of determining target graphics whose number of repetitions in the target to be rasterized is greater than or equal to a preset number includes: Traversing each graphic in the target to be rasterized to obtain feature information corresponding to each graphic; Count the number of graphics with the same feature information; When the number is greater than or equal to a preset number, the graphic having the same characteristic information is determined to be the target graphic.

3. The method according to claim 2, characterized in that The counting of the number of graphics having the same characteristic information includes: For each graphic in the target to be rasterized, after acquiring the feature information corresponding to the graphic, a feature identifier of the feature information is generated, and the feature identifiers corresponding to different feature information have the same length; Determining whether the feature identifier has been stored; When the feature identifier is not stored, establishing an association relationship between the feature identifier, the signature count, and the feature information, and the signature count is initialized to 1; When the feature identifier has been stored, adding 1 to the value of the signature count in the association relationship to which the feature identifier belongs; The value of the signature count is the number of graphics with the same characteristic information.

4. The method according to claim 3, characterized in that The feature information includes position description information, shape description information and size description information, and the feature identifier for generating the feature information includes: The shape description information and the size description information in the feature information are calculated based on a signature algorithm to obtain a feature identifier corresponding to the feature information.

5. The method according to claim 4, characterized in that Each graphic in the target to be rasterized includes a closed polygon, the position description information includes: the coordinate position of the target node; the shape description information includes: the graphic identifier and the number of nodes; the size description information includes: the distance of other nodes relative to the target node; and / or, Each graphic in the target to be rasterized includes a circle, the position description information includes: the coordinate position of the center of the circle; the shape description information includes: a graphic identifier; the size description information includes the radius of the circle; and / or, Each graphic in the target to be rasterized includes a rectangle, and the position description information includes: the coordinate position of the target vertex; the shape description information includes: a graphic identifier; and the size description information includes the width and height of the rectangle.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: For each cutting area, when the cutting area does not include the target graphic, rasterizing is performed on the graphic in the cutting area.

7. A graphics rasterization device, characterized in that: The device comprises: A target acquisition module, used to acquire the target to be rasterized; A graphics determination module, used to determine a target graphics whose number of repetitions in the target to be rasterized is greater than or equal to a preset number; A rasterization module, used for performing rasterization processing on the target graphic to obtain a rasterized graphic; An object cutting module, used for cutting the object to be rasterized to obtain a plurality of cutting areas; The data reading module is used for reading the rasterized graphics corresponding to the target graphics for each cutting area when the cutting area includes the target graphics.

8. The device according to claim 7, characterized in that The graphic determination module is used to: Traversing each graphic in the target to be rasterized to obtain feature information corresponding to each graphic; Count the number of graphics with the same feature information; When the number is greater than or equal to a preset number, the graphic having the same characteristic information is determined to be the target graphic.

9. A graphics rasterization device, characterized in that: The device includes a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to implement the graphics rasterization method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The storage medium stores a program, and when the program is executed by a processor, it is used to implement the graphics rasterization method according to any one of claims 1 to 6.