Linkage modification method and device with filling color changing along with isoline

By determining the cutting range and benchmark point in the contour map and dynamically adjusting the filling color range, the problem of complex contour map modification and data redundancy in existing technologies is solved, achieving efficient and accurate contour map updates and supporting rapid response and decision-making in geological exploration.

CN120976498APending Publication Date: 2025-11-18PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410613310.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing techniques are complex to operate during contour map modification, which can easily lead to data redundancy and errors, affecting data consistency and modification efficiency.

Method used

A method for dynamically modifying the fill color according to the contour lines is provided. By obtaining the original fill color range and the updated contour lines, the cutting range and reference point are determined, and the fill color range is dynamically adjusted to match the updated contour lines.

Benefits of technology

It enables efficient and accurate updating of contour maps, avoids data redundancy, improves work efficiency, and ensures timely response of geological models and accuracy of exploration decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120976498A_ABST
    Figure CN120976498A_ABST
Patent Text Reader

Abstract

The invention discloses a linkage modification method and device for a filling color changing along with a contour line. The generation method comprises the steps that a to-be-processed contour line map is acquired; the to-be-processed contour map comprises a plurality of original filling color ranges and a plurality of updated contour lines; for each updated isoline, obtaining two adjacent filling color ranges of the updated isoline based on the plurality of original filling color ranges; for each adjacent filling color range, obtaining a plurality of cutting ranges and two end points of each cutting range according to the updated contour line and the adjacent filling color ranges; for each cutting range, determining a reference point according to the updated contour line and two end points of the cutting range; and according to the reference point, changing the adjacent filling color range by using the cutting range to obtain an updated filling color range. According to the method, the filling color range in the to-be-processed contour map is intelligently modified along with the updated contour line, and the contour map can be updated conveniently and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a gradual filling color linkage modification method and device changing with contour. BACKGROUND

[0002] In the field of oil and gas exploration and development, the exploration and exploitation of oil and gas resources is a highly complex and technology-intensive work, the core of which is to accurately identify and locate the underground stratum structure rich in oil and gas. Oil and gas reservoirs are rich in the crevice or structure of a specific rock layer in the underground. Modern oil and gas exploration and development needs to use contour maps to determine the location, depth, and shape of the target stratum, and to design well sites and calculate reserves. Therefore, it is of great significance to quickly and accurately determine the underground stratum structure and fault spatial characteristics through contour maps.

[0003] As a classic and powerful visualization tool, contour maps play an indispensable role in modern oil and gas exploration. By drawing a series of lines connecting the same attribute values (such as depth, rock layer top or bottom elevation) on a map or profile, the three-dimensional structure of the underground stratum is intuitively displayed. With the color gradient filling technology, contour maps can more finely display the continuity, thickness variation and structure fluctuation of the stratum, enabling geologists and engineers to intuitively understand the details of complex geological structures, including but not limited to stratum inclination, fault strike and dip, and closure height.

[0004] In modern digital oilfield management, contour maps are combined with GIS (Geographic Information System) and three-dimensional visualization software to realize dynamic interactive analysis of exploration data, enabling decision-makers to adjust exploration strategies in real time and optimize development plans. The application of this integrated technology greatly improves exploration efficiency, reduces drilling risks, and promotes sustainable development of underground oil and gas resources.

[0005] Currently, in the field of geological exploration, color gradient filling contour industrialized maps are one of the most intuitive platforms for presenting geological understanding and exploration perspectives, and are also a key link in oil and gas and solid mineral exploration. SUMMARY

[0006] In order to realize efficient modification of contour maps, the present application provides a filling color linkage modification method and device changing with contour.

[0007] In the first aspect, the present application provides a filling color linkage modification method changing with contour, which can include:

[0008] Obtaining a contour map to be processed; the contour map to be processed includes a plurality of original filling color ranges and a plurality of updated contours;

[0009] For each updated contour line, two adjacent fill color ranges of the updated contour line are obtained based on the plurality of original fill color ranges;

[0010] For each adjacent fill color range, a plurality of cutting ranges and two end points of each cutting range are obtained according to the updated contour line and the adjacent fill color range;

[0011] For each cutting range, a reference point is determined according to the updated contour line and the two end points of the cutting range;

[0012] According to the reference point, the adjacent fill color range is changed using the cutting range to obtain an updated fill color range.

[0013] In one or some optional embodiments of the embodiments of the present application, the updated contour line includes a plurality of sequentially numbered nodes;

[0014] The method for obtaining the two end points of each cutting range according to the updated contour line and the two end points of the cutting range includes:

[0015] The nodes in the updated contour line are searched in a numbered order, and a first node not on the edge of the adjacent fill color range is taken as a split node;

[0016] A previous node of the split node is taken as a first end point;

[0017] A first node after the split node and on the edge of the adjacent fill color range is taken as a second end point;

[0018] The cutting range is obtained according to the two end points, the updated contour line and the adjacent fill color range;

[0019] The step of searching the nodes in the updated contour line in a numbered order is continued from the second end point until the search of all the nodes in the updated contour line is completed, so that the plurality of cutting ranges and the two end points of each cutting range are obtained.

[0020] In one or some optional embodiments of the embodiments of the present application, the method for determining the reference point of each cutting range according to the updated contour line and the two end points of the cutting range includes:

[0021] For each cutting range, two end points of the cutting range are connected to obtain a cutting line segment, and a midpoint of the cutting line segment is taken as a first intersection point;

[0022] A perpendicular line of the cutting line segment is made based on the first intersection point, and an intersection point of the perpendicular line and the updated contour line is taken as a second intersection point;

[0023] taking a midpoint of the first intersection and the second intersection as a reference point.

[0024] In one or some optional implementations of the embodiments of the present application, the updating the adjacent fill color range using the cutting range according to the reference point comprises:

[0025] determining whether the reference point is in the adjacent fill color range;

[0026] if yes, obtaining an updated fill color range based on the adjacent fill color range minus the cutting range;

[0027] if no, obtaining an updated fill color range based on the adjacent fill color range plus the cutting range.

[0028] In one or some optional implementations of the embodiments of the present application, the to-be-processed contour map is obtained by the following manner:

[0029] obtaining an original contour map; the original contour map comprises a plurality of original fill color ranges and a plurality of original contours;

[0030] updating the plurality of original contours according to a plurality of updated data to obtain a plurality of updated contours;

[0031] obtaining a to-be-processed contour map according to the plurality of updated contours and the plurality of original fill color ranges.

[0032] In one or some optional implementations of the embodiments of the present application, the obtaining, for each updated contour, two adjacent fill color ranges of the updated contour based on the plurality of original fill color ranges comprises:

[0033] for each updated contour, taking original fill color ranges located on two sides of the updated contour from the plurality of original fill color ranges as adjacent fill color ranges.

[0034] In a second aspect, the embodiments of the present application provide a device for modifying fill colors in linkage with contours, which can comprise:

[0035] a first obtaining module, configured to obtain a to-be-processed contour map; the to-be-processed contour map comprises a plurality of original fill color ranges and a plurality of updated contours;

[0036] a second obtaining module, configured to obtain, for each updated contour, two adjacent fill color ranges of the updated contour based on the plurality of original fill color ranges;

[0037] an endpoint obtaining module configured to obtain, for each adjacent fill color range, a plurality of cutting ranges and two endpoints of each cutting range according to the updated contour line and the adjacent fill color range;

[0038] a reference point obtaining module configured to determine, for each cutting range, a reference point according to the updated contour line and the two endpoints of the cutting range;

[0039] an updating module configured to change the adjacent fill color range using the cutting range according to the reference point to obtain an updated fill color range.

[0040] In a third aspect, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program / instruction, which, when executed by a processor, implements the fill color linkage modification method according to the contour line change as described above.

[0041] In a fourth aspect, an embodiment of the present application provides a computer program product comprising a computer program / instruction, which, when executed by a processor, implements the fill color linkage modification method according to the contour line change as described above.

[0042] In a fifth aspect, an embodiment of the present application provides a computer device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the fill color linkage modification method according to the contour line change as described above when executing the computer program.

[0043] The above technical solution provided by the embodiment of the present application has at least the following beneficial effects:

[0044] The embodiment of the present application provides a fill color linkage modification method according to the contour line change, which determines a plurality of cutting ranges and two endpoints of each cutting range according to an original fill color range in a to-be-processed contour line map and a plurality of updated contour lines, and determines a reference point according to the two endpoints, thereby modifying the fill color range. This method uses a series of logical and reasonable structures to realize the modification of the fill color range, so that the fill color range in the to-be-processed contour line map can be intelligently modified according to the updated contour line, avoiding the data redundancy and errors that may be caused by the traditional contour line modification method, maintaining the consistency and accuracy of the information in the contour line map, and conveniently and efficiently completing the updating and improvement of the contour line map, effectively simplifying the work process, improving the work efficiency, and enabling the geologists to respond to data changes more quickly, update the geological model in time, and speed up the exploration decision-making process.

[0045] The present application realizes the dynamic matching of the fill color in the contour line map according to the contour line change, so that the overall expression of the contour line map is stronger, and the geological features are more vivid and prominent. This not only improves the quality of the report and the display, but also provides more powerful support for scientific research communication and project decision-making.

[0046] Other features and advantages of the present application will be set forth in the description that follows, and in part will be apparent from the description, or can be learned by practice of the application. The purposes and other advantages of the present application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

[0047] The technical solutions of the present application are described in further detail below with the help of the accompanying drawings and examples. BRIEF DESCRIPTION OF DRAWINGS

[0048] The accompanying drawings are included to provide a further understanding of the present application and are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and explain the principles of the present application, and are not intended to limit the present application to the particular embodiments disclosed in the drawings. In the drawings:

[0049] Figure 1 A step schematic diagram of the linkage modification method for filling color change with contour provided by the embodiment of the present application;

[0050] Figure 2 A schematic diagram of the original contour map provided by the embodiment of the present application;

[0051] Figure 3 A schematic diagram of the contour map to be processed provided by the embodiment of the present application;

[0052] Figure 4 A schematic diagram of multiple cutting ranges in the updated contour provided by the embodiment of the present application;

[0053] Figure 5 A schematic diagram of the cutting range provided by the embodiment of the present application;

[0054] Figure 6 A schematic diagram of the cutting range provided by the embodiment of the present application;

[0055] Figure 7 A schematic diagram of the reference point provided by the embodiment of the present application;

[0056] Figure 8 A schematic diagram of the reference point provided by the embodiment of the present application;

[0057] Figure 9 A schematic diagram of the reference point of the ring-shaped updated contour provided by the embodiment of the present application;

[0058] Figure 10 A schematic diagram of the updated filling color range provided by the embodiment of the present application;

[0059] Figure 11 A schematic diagram of the updated filling color range provided by the embodiment of the present application;

[0060] Figure 12An annular updating contour processing flowchart provided by the embodiment of the present application is shown in the figure.

[0061] Figure 13 An updating contour chart diagram provided by the embodiment of the present application is shown in the figure.

[0062] Figure 14 A structure diagram of the linkage modification device with the filling color changing with the contour provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0063] Exemplary embodiments of the present disclosure will be described in greater detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be accurately conveyed to those skilled in the art.

[0064] The inventor found that in the prior art, by using related software, it is no longer necessary for the draftsmen to manually redraw and fill the contours, which saves a lot of time, but these software are relatively weak in the contour modification function, which not only has a complex operation, but also needs to be repeatedly edited, thereby leading to a cumbersome process. In particular, frequent changes to the contour chart not only cause the file size to expand, but also can cause the system to run slowly and even cause file damage, which undoubtedly increases unnecessary obstacles and time costs for research work. Based on this, the inventor has made the present application through further research and development, and provides a linkage modification method and device with the filling color changing with the contour.

[0065] Embodiment one

[0066] In the embodiment one of the present application, a linkage modification method with the filling color changing with the contour is provided, referring to the figure, the method can include the following steps S101-S105: Figure 1

[0067] S101: Obtain a contour chart to be processed; the contour chart to be processed includes a plurality of original filling color ranges and a plurality of updated contours.

[0068] S102: For each updated contour, based on the plurality of original filling color ranges, obtain two adjacent filling color ranges of the updated contour.

[0069] S103: For each adjacent filling color range, according to the updated contour and the adjacent filling color range, obtain a plurality of cutting ranges and two endpoints of each cutting range.

[0070] S104: For each cutting range, determine a reference point according to the two endpoints of the cutting range.

[0071] ​S105: According to the reference point, the adjacent filling color range is changed using the cutting range to obtain an updated filling color range.

[0072] The filling color linkage modification method provided by the embodiment of the present application can modify the filling color range according to the original filling color range in the to-be-processed contour map and a plurality of updated contours, determine a plurality of cutting ranges and two endpoints of each cutting range, and determine a reference point according to the two endpoints, thereby modifying the filling color range. The method uses a series of logical and reasonable structures to achieve the modification of the filling color range, intelligently modifies the filling color range in the to-be-processed contour map according to the updated contour, avoids the data redundancy and errors that may be caused by the traditional contour modification method, maintains the consistency and accuracy of the information in the contour map, can conveniently and efficiently complete the updating and improvement of the contour map, effectively simplifies the work process, improves the work efficiency, and enables the geologists to respond to the data changes more quickly, update the geological model in time, and speed up the exploration decision-making process.

[0073] The filling color linkage modification method provided by the embodiment of the present application can dynamically match the filling color in the contour map with the contour, make the overall performance of the contour map stronger, and make the presentation of the geological features more distinct and prominent. This not only improves the quality of the report and the display, but also provides more powerful support for scientific research communication and project decision-making.

[0074] In the step S101, the to-be-processed contour map can be obtained by the following method, specifically including the following steps S1011-S1013:

[0075] S1011: Obtain an original contour map.

[0076] Exemplarily, the original contour map is as shown in FIG. 1, including a plurality of original filling color ranges and a plurality of original contours, and each original filling color range and original contour has a corresponding value. Figure 2

[0077] Specifically, Figure 2 The value corresponding to the leftmost original filling color range in FIG. 1 is 30, indicating that the values corresponding to all points in the original filling color range are greater than or equal to 30. The black curve to the right of the original filling color range is the original contour corresponding to the value 30, indicating that the values corresponding to all points on the original contour are 30. The original filling color ranges and original contours corresponding to the values 20, 10 and 0 from left to right are sequentially arranged, and the original contour corresponding to the value 0 is a closed ring. The inside of the ring represents the original filling color range with the value-10, indicating that the values corresponding to all points in the original filling color range are between 0 and-10.

[0078] ​The values in the above examples are only examples, and therefore the units of the values are not specified. The actual contour map will have different values and units according to the requirements. For example, if the contour map shows the altitude, the unit is meter or foot.

[0079] Meanwhile, since the method does not include processing of the values, the values will not be described below.

[0080] S1012: updating the plurality of original contours according to the plurality of update data to obtain a plurality of update contours.

[0081] In the embodiment of the application, the plurality of update data obtained generally includes a plurality of discrete points and a value corresponding to each point. Therefore, when the original contour is updated using the update data in step S1012, a smooth curve is fitted according to the original contour and the update data as the update contour.

[0082] The method of fitting the curve can be implemented by those skilled in the art according to the detailed description of the prior art, such as smoothing filtering, and the embodiment of the application can not be specifically limited.

[0083] S1013: obtaining a to-be-processed contour map according to the plurality of update contours and the plurality of original fill color ranges.

[0084] Exemplarily, the to-be-processed contour map obtained according to the original contour map of Figure 2 is shown in Figure 3 It can be seen that the leftmost update contour and the original fill color ranges on both sides have two places where they do not fit, and other update contours also have some places where they do not fit with the original fill color ranges on both sides. Therefore, the original fill color range needs to be modified so that the fill color range fits the update contour.

[0085] In step S102, for each update contour, the original fill color ranges on both sides of the update contour in the plurality of original fill color ranges are taken as adjacent fill color ranges. For example, the to-be-processed contour map shown in Figure 3 The original fill colors on both sides of the leftmost update contour are the original fill colors corresponding to the update contour, and the original fill colors outside and inside the right lower annular update contour are the original fill colors corresponding to the update contour.

[0086] In step S103, the update contour includes a plurality of nodes with sequential numbers. For each adjacent fill color range, all nodes in the update contour are traversed to determine the places where the update contour and the adjacent fill color range do not fit, and the cutting range and two end points of each cutting range are obtained. Specifically, steps S1031-S1035 are included:

[0087] S1031: Search and update nodes in the contour lines in numerical order, and take the first node that is not on the edge of the adjacent fill color range as the split node.

[0088] S1032: Use the node preceding the split node as the first endpoint.

[0089] S1033: Take the first node that is on the edge of the adjacent fill color range after splitting the node as the second endpoint.

[0090] S1034: Determine the boundary based on the two endpoints, and use the area enclosed by the edge line of the adjacent fill color range and the updated contour line as the cutting range.

[0091] S1035: Starting from the second endpoint, continue executing the steps described above for searching and updating nodes in the contour lines in numerical order until the search for all nodes in the contour lines is completed, resulting in multiple cutting ranges and the two endpoints of each cutting range.

[0092] When searching for and updating nodes in the contour lines in order of their numbers in steps S1031 and S1035 above, the search can be performed in ascending order or descending order of their numbers.

[0093] For example, the multiple cutting ranges in the updated contour lines obtained in step S103 are as follows: Figure 4 As shown, the diagram includes two cutting ranges, f1 and f2. The two endpoints of cutting range f1 are a1 and b1, and the two endpoints of cutting range f2 are a2 and b2. The corresponding filling points in the diagram correspond to the adjacent filling color ranges mentioned above, the contour lines correspond to the updated contour lines mentioned above, and the contour line nodes correspond to the nodes in the updated contour lines mentioned above.

[0094] In step S104 above, the reference point is determined based on the two endpoints of each cutting range and the updated contour lines, specifically including the following steps S1041-S1043:

[0095] S1041: For each cutting range, connect the two endpoints of the cutting range to obtain a cutting line segment, and take the midpoint of the cutting line segment as the first intersection point.

[0096] S1042: Draw a perpendicular line to the cutting line segment based on the first intersection point, and take the intersection point of the perpendicular line and the updated contour line as the second intersection point.

[0097] S1043: Use the midpoint between the first intersection point and the second intersection point as the reference point.

[0098] by Figure 5 and Figure 6 Taking the cutting range shown as an example, according to Figure 5 The diagram showing the cutting range and corresponding endpoints obtained through step S104 is as follows:Figure 7 As shown in FIG. 6, according to the method of the present application, the cutting range and the corresponding end points are obtained by step S104, and the reference point is shown in FIG. 7. Figure 6 As shown in FIG. 7, the reference point is not in the cutting range, so step S1053 is executed, and the updated filling color range is obtained by adding the cutting range to the adjacent filling color range, as shown in FIG. 8. Figure 8 As shown in FIG. 7, Figure 7 and Figure 8 respectively show two different cutting cases formed by the updated contour and the adjacent filling color range, where a and b are two end points of the cutting range, the cutting line segment ab is obtained by connecting the two end points, the first intersection point c is the midpoint of the cutting line segment ab, the second intersection point d is obtained by drawing a perpendicular line of the cutting line segment ab based on the first intersection point c, and the reference point e is the midpoint of the first intersection point c and the second intersection point d.

[0099] In the embodiments of the present application, due to the diversity of the updated data, there is no fixed rule for the shape of the cutting range, and the cutting range is not necessarily a straight line. Figure 9 As shown in the reference point, the first intersection point c is not in the cutting range, and the method can ensure that the reference point e is in the cutting range, avoiding the cutting range processing failure caused by the positioning error of the reference point, and improving the robustness of the method.

[0100] In the above step S105, the adjacent filling color range is modified based on the cutting range according to the position of the reference point, and the updated filling color range is obtained, which specifically includes the following steps S1051-S1053:

[0101] S1051: Determine whether the reference point is in the adjacent filling color range: if yes, execute step S1052; if no, execute step S1053.

[0102] S1052: The updated filling color range is obtained by subtracting the cutting range from the adjacent filling color range.

[0103] S1053: The updated filling color range is obtained by adding the cutting range to the adjacent filling color range.

[0104] Taking the reference point shown in FIG. 7 as an example, Figure 7 and Figure 8 the reference point is not in the adjacent filling color range, so step S1053 is executed, and the updated filling color range is obtained by adding the cutting range to the adjacent filling color range, as shown in FIG. 8. Figure 7 As shown in FIG. 7, Figure 10 the reference point is in the adjacent filling color range, so step S1052 is executed, and the updated filling color range is obtained by subtracting the cutting range from the adjacent filling color range, as shown in FIG. 9. Figure 8 Figure 11 In the embodiments of the present application, in addition to being able to handle the case where the updated contour is a curve in the above examples, the method can also handle the case where the updated contour is a straight line, as shown in FIG. 10.

[0105] In the embodiments of the present application, in addition to being able to handle the case where the updated contour is a curve in the above examples, the method can also handle the case where the updated contour is a straight line, as shown in FIG. 10.​Figure 3 The right lower annular update contour line in the to-be-processed contour map is processed in detail, and a flowchart is as shown in Figure 12 As shown in the figure, the figure includes four parts, from left to right, they are a partial to-be-processed contour map, a reference point, a cutting range, and an updated filling color range.

[0106] In the embodiment of the present application, based on Figure 3 The to-be-processed contour map is as shown in the figure, and the updated contour map obtained by processing through the method is as shown in Figure 13 As shown in the figure, it can be seen that all original filling color ranges that do not conform to the updated contour line are processed, so that all updated filling color ranges conform to the adjacent updated contour line.

[0107] Embodiment two

[0108] Based on the same inventive concept, the embodiment of the present application further provides a filling color linkage modification device changing with contour lines, referring to Figure 14 As shown in the figure, the device includes:

[0109] The first acquisition module 101 is configured to acquire a to-be-processed contour map; the to-be-processed contour map includes a plurality of original filling color ranges and a plurality of updated contour lines;

[0110] The second acquisition module 102 is configured to, for each updated contour line, based on the plurality of original filling color ranges, obtain two adjacent filling color ranges of the updated contour line;

[0111] The endpoint acquisition module 103 is configured to, for each adjacent filling color range, obtain a plurality of cutting ranges and two endpoints of each cutting range according to the updated contour line and the adjacent filling color range;

[0112] The reference point acquisition module 104 is configured to, for each cutting range, determine a reference point according to the updated contour line and the two endpoints of the cutting range;

[0113] The update module 105 is configured to, according to the reference point, change the adjacent filling color range using the cutting range to obtain an updated filling color range.

[0114] Embodiment three

[0115] Based on the same inventive concept, the embodiment of the present application further provides a computer readable storage medium, which stores a computer program / instruction, and the computer program / instruction is executed by a processor to realize the filling color linkage modification method changing with contour lines as described in the above embodiment one.

[0116] Embodiment four

[0117] Based on the same inventive concept, the embodiment of the present application further provides a computer program product comprising computer programs / instructions which, when executed by a processor, implement the method for modifying the filling color in linkage with the change of the contour line as described in the above embodiment one.

[0118] Embodiment five

[0119] Based on the same inventive concept, the embodiment of the present application further provides a computer device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the method for modifying the filling color in linkage with the change of the contour line as described in the above embodiment one when executing the computer program.

[0120] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk memory and optical memory, etc.) containing computer-usable program code.

[0121] The present application is described with reference to the flowcharts and / or block diagrams of the method, device (system) and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a means for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 means for performing the functions specified in the flowchart

[0122] These computer program instructions can also be stored in a computer-readable memory capable of guiding the computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product comprising instruction means, which implement the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 means for performing the functions specified in the flowchart

[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are performed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide a means for implementing the functions specified in the flowcharts and / or block diagrams.Figure 1 one or more processes and / or functions specified in one or more blocks Figure 1 one or more processes and / or functions specified in one or more blocks

[0124] It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application cover modifications and variations of this application provided they come within the scope of the appended claims and their equivalents.

Claims

1. A method for modifying a linkage with a fill color that varies with contour, characterized by, The method comprises the following steps: obtaining a to-be-processed contour map, wherein the to-be-processed contour map comprises a plurality of original filling color ranges and a plurality of updated contours; for each updated contour, obtaining two adjacent filling color ranges of the updated contour based on the plurality of original filling color ranges; for each adjacent filling color range, obtaining a plurality of cutting ranges and two end points of each cutting range according to the updated contour and the adjacent filling color range; for each cutting range, determining a reference point according to the updated contour and the two end points of the cutting range; based on the reference point, changing the adjacent filling color range by using the cutting range to obtain an updated filling color range.

2. The method of claim 1, wherein, The updated contour comprises a plurality of sequentially numbered nodes; the step of obtaining, for each adjacent filling color range, a plurality of cutting ranges and two end points of each cutting range according to the updated contour and the adjacent filling color range comprises: searching the nodes in the updated contour in a numbered order, and taking a first node not on the edge of the adjacent filling color range as a division node; taking the node before the division node as a first end point; taking the node after the division node and first on the edge of the adjacent filling color range as a second end point; obtaining the cutting range according to the two end points, the updated contour and the adjacent filling color range; continuing the step of searching the nodes in the updated contour in a numbered order from the second end point until the search of all the nodes in the updated contour is completed to obtain the plurality of cutting ranges and the two end points of each cutting range.

3. The method of claim 1, wherein, the step of determining, for each cutting range, a reference point according to the updated contour and the two end points of the cutting range comprises: for each cutting range, connecting the two end points of the cutting range to obtain a cutting line segment, and taking the midpoint of the cutting line segment as a first intersection point; drawing a perpendicular line of the cutting line segment based on the first intersection point, and taking the intersection of the perpendicular line and the updated contour as a second intersection point; taking the midpoint of the first intersection point and the second intersection point as the reference point.

4. The method of claim 1, wherein, the step of changing, based on the reference point, the adjacent filling color range by using the cutting range to obtain an updated filling color range comprises: determining whether the reference point is in the adjacent filling color range; if yes, obtaining the updated filling color range based on the adjacent filling color range minus the cutting range; if no, obtaining the updated filling color range based on the adjacent filling color range plus the cutting range.

5. The method of claim 1, wherein, The to-be-processed contour map is obtained by the following method: obtaining an original contour map, wherein the original contour map comprises a plurality of original filling color ranges and a plurality of original contours; updating the plurality of original contours based on a plurality of obtained update data to obtain a plurality of updated contours; obtaining the to-be-processed contour map according to the plurality of updated contours and the plurality of original filling color ranges.

6. The method of claim 1, wherein, the step of obtaining, for each updated contour, two adjacent filling color ranges of the updated contour based on the plurality of original filling color ranges comprises: For each updated contour line, original filling color ranges on both sides of the updated contour line in the plurality of original filling color ranges are taken as adjacent filling color ranges.

7. A linkage modification device for filling color variation along contours, characterized by The application relates to a computer program product and a computer readable storage medium. The first obtaining module is used for obtaining a contour map to be processed. The contour map to be processed comprises a plurality of original filling color ranges and a plurality of updated contour lines. The second obtaining module is used for obtaining, for each updated contour line, two adjacent filling color ranges of the updated contour line based on the plurality of original filling color ranges. The endpoint obtaining module is used for obtaining, for each adjacent filling color range, a plurality of cutting ranges and two endpoints of each cutting range according to the updated contour line and the adjacent filling color range. The reference point obtaining module is used for determining, for each cutting range, a reference point according to the updated contour line and the two endpoints of the cutting range. The updating module is used for changing the adjacent filling color range by using the cutting range according to the reference point, so as to obtain an updated filling color range.

8. A computer readable storage medium having stored thereon computer programs / instructions, characterized in that, The computer program / instruction is executed by a processor to realize the linkage modification method of filling color change with contour line according to any one of claims 1-6.

9. A computer readable storage medium having stored thereon computer programs / instructions, characterized in that, The computer program / instruction is executed by a processor to realize the linkage modification method of filling color change with contour line according to any one of claims 1-6.

10. A computer device comprising a memory, a processor, and a computer program stored on the memory, wherein the computer program comprises instructions that, when executed by the processor, cause the processor to perform the method of any one of claims 1-9. The processor executes the computer program to realize the linkage modification method of filling color change with contour line according to any one of claims 1-6.