Groove-ridge line identification method, system, medium and electronic equipment
By constructing a contour map and noise filtering, combined with visually identifiable symbols and machine learning models, the longitude and latitude coordinates of trough and ridge lines are identified, which solves the problems of low efficiency and low accuracy in the existing technology and improves the identification of trough and ridge lines. Accuracy.
Patent Information
- Application Number
- CN202410174958.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-07
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-02-07
AI Technical Summary
The existing technology has low efficiency and low accuracy in identifying trough and ridge lines, the manual analysis efficiency is low, and the software algorithm fails to intuitively represent meteorological features from a visual perspective, resulting in low feature accuracy.
By obtaining meteorological data, constructing a contour map, filtering noise, and mapping it into a visually identifiable image, combined with the pre-trained ridge line regional positioning and regression model, the longitude and latitude coordinates of the ridge line are determined to improve the recognition accuracy.
It reduces the misrecognition rate of ridge line recognition, improves the recognition accuracy, makes the ridge line area more obvious, and provides the most direct wind field data information to the machine learning model.
Smart Images

Figure CN117994661B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a groove and ridge line recognition method, system, medium and electronic device. Background Art
[0002] In the field of meteorology, trough-ridge lines include trough lines and ridge lines. Trough lines refer to a low-pressure area in the atmosphere that curves and bulges to the south or north, and are usually associated with weather activities such as cold fronts and rainfall. Ridge lines refer to high-pressure areas that bulge to the south or north, and are usually associated with weather activities such as sunny days and high temperatures. Therefore, accurately identifying trough-ridge lines is a very important thing in weather forecasting.
[0003] In the related art, the analysis of ridge lines is basically achieved by manual analysis, which is inefficient. At the same time, there are also examples of using software algorithms to process weather maps in the prior art. The software algorithm uses a data-driven approach to allow the machine learning model to extract image features on its own, and then gives an identification process for the ridge line area. This approach does not intuitively characterize the meteorological features from a visual perspective, resulting in low feature accuracy, thereby reducing the recognition accuracy of the ridge lines. Summary of the invention
[0004] The embodiments of the present application provide a method, system, medium and electronic device for identifying groove and ridge lines. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0005] In a first aspect, an embodiment of the present application provides a method for identifying a groove ridge line, the method comprising:
[0006] Obtaining meteorological data of the area to be identified, the meteorological data includes grid point data and high-altitude potential meter data, each grid point in the grid point data is used to represent the high-altitude wind field data at each longitude and latitude;
[0007] Based on the upper air potential meter data, a contour map of the area to be identified is constructed;
[0008] Perform noise filtering on high-altitude wind field data to obtain filtered multiple target wind field data;
[0009] Map each target wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified;
[0010] Based on the contour map and wind field meteorological map of the area to be identified, the longitude and latitude coordinates of the trough and ridge line corresponding to the area to be identified are determined.
[0011] Optionally, the high-altitude wind field data is subjected to noise filtering to obtain filtered multiple target wind field data, including:
[0012] Scan the high-altitude wind field data of a preset number of adjacent points in rows from the high-altitude wind field data;
[0013] The high-altitude wind field data of the scanned adjacent preset number of points are determined as a group of high-altitude wind field data to be filtered, and multiple groups of high-altitude wind field data to be filtered are obtained;
[0014] The mean value of the horizontal coordinate and the vertical coordinate contained in each group of high-altitude wind field data to be filtered is calculated to perform noise filtering on the high-altitude wind field data to obtain a plurality of filtered target wind field data.
[0015] Optionally, the visually identifiable preset symbol includes a visually identifiable wind direction mark and a wind farm type mark;
[0016] Each target wind field data is mapped to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified, including:
[0017] Obtain the wind direction in each target wind field data;
[0018] Linearly mapping a wind direction mark used to characterize the wind direction in each target wind field data in an image of a preset resolution to obtain a wind direction map of the area to be identified;
[0019] Obtaining positive and negative parameters of the vertical component in each target wind field data to determine the wind field type represented by each target wind field data;
[0020] Linearly mapping a wind field type identifier used to characterize the wind field type in each target wind field data in an image of a preset resolution to obtain a wind direction type map of the area to be identified;
[0021] The wind direction map and wind direction type map of the area to be identified are used as the wind field meteorological map of the area to be identified.
[0022] Optionally, based on the contour map and the wind field meteorological map of the area to be identified, the longitude and latitude coordinates of the trough and ridge line corresponding to the area to be identified are determined, including:
[0023] Merging the contour map, wind direction map and wind direction type map of the area to be identified to obtain visual representation data of the area to be identified;
[0024] Inputting the visual representation data of the area to be identified into a pre-trained groove and ridge line area positioning model, and outputting the groove and ridge line area corresponding to the area to be identified;
[0025] Input the groove and ridge line area corresponding to the area to be identified into the pre-trained groove and ridge line regression model, and output the groove and ridge line corresponding to the area to be identified;
[0026] The position of the groove ridge line corresponding to the area to be identified is inversely mapped to determine the longitude and latitude coordinates of the groove ridge line corresponding to the area to be identified.
[0027] Optionally, the following steps are performed to generate a pre-trained ridgeline area positioning model and a pre-trained ridgeline regression model, including:
[0028] Obtain historical meteorological data for each potential meter in each sub-time period within a preset time period; the historical meteorological data for each potential meter includes historical grid point data and historical high-altitude potential meter data, and each grid point in the historical grid point data is used to represent the historical high-altitude wind field data at each longitude and latitude;
[0029] Based on the historical upper-air potential meter data, a contour map of each sub-time period is constructed;
[0030] Perform noise filtering on historical high-altitude wind field data to obtain multiple filtered historical wind field data;
[0031] Map each historical wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind direction map and a wind direction type map for each sub-time period;
[0032] The contour map of each sub-time period, the wind direction map of each sub-time period, and the wind direction type map are combined to obtain visual representation data of each sub-time period;
[0033] Based on the visual representation data of each sub-time period, a pre-trained groove and ridge line area positioning model and a pre-trained groove and ridge line regression model are generated.
[0034] Optionally, based on the visual representation data of each sub-time period, a pre-trained groove ridge line area positioning model and a pre-trained groove ridge line regression model are generated, including:
[0035] From the visual representation data of each sub-time period, the groove area and the ridge area are marked and extracted to obtain a visual image of the groove area and a visual image of the ridge area of each sub-time period;
[0036] Create a ridgeline area positioning model;
[0037] Perform machine learning on the groove-ridge area positioning model according to the groove area visual image and the ridge area visual image of each sub-time period to obtain a pre-trained groove-ridge area positioning model;
[0038] From the visual images of the trough area and the ridge area in each sub-time period, the longitude and latitude of the trough and ridge line are obtained to obtain the trough and ridge line data in each sub-time period;
[0039] Create a ridgeline regression model;
[0040] The ridge line regression model is subjected to machine learning based on the ridge line data of each sub-time period to obtain a pre-trained ridge line regression model.
[0041] Optionally, based on the upper air potential meter data, a contour map of the area to be identified is constructed, including:
[0042] The contour lines are drawn by using the contour line drawing algorithm and the high-altitude potential meter data of the area to be identified, and the contour lines of the potential meter of the area to be identified are obtained;
[0043] The potential meter contour lines of the area to be identified are linearly mapped onto a single-channel image of a preset resolution to obtain a contour map of the area to be identified.
[0044] In a second aspect, an embodiment of the present application provides a groove ridge line recognition system, the system comprising:
[0045] A meteorological data acquisition module is used to acquire meteorological data of the area to be identified. The meteorological data includes grid point data and high-altitude potential meter data. Each grid point in the grid point data is used to represent the high-altitude wind field data at each longitude and latitude.
[0046] The contour map construction module is used to construct the contour map of the area to be identified based on the upper air potential meter data;
[0047] A noise filtering module is used to perform noise filtering on high-altitude wind field data to obtain filtered multiple target wind field data;
[0048] A wind field data mapping module is used to map each target wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified;
[0049] The trough-ridge line determination module is used to determine the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified based on the contour map and wind field meteorological map of the area to be identified.
[0050] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0051] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0052] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0053] In an embodiment of the present application, the present application filters out the noise in the wind field data of the altitude layer close to the ground that is affected by the terrain by performing noise filtering on the high-altitude wind field data, so that the trough ridge line area is more obvious; at the same time, the wind field data that is most concerned when identifying the trough ridge line is abstracted into visually recognizable symbols, providing the most direct information for machine learning, thereby reducing the error rate of trough ridge line identification, thereby improving the recognition accuracy of the trough ridge line.
[0054] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0056] Figure 1 It is a flow chart of a groove ridge line recognition method provided in an embodiment of the present application;
[0057] Figure 2 It is a contour map provided in an embodiment of the present application;
[0058] Figure 3 It is a wind direction map provided in an embodiment of the present application;
[0059] Figure 4 It is a wind direction type map provided in an embodiment of the present application;
[0060] Figure 5 is a schematic diagram of visual representation data provided by an embodiment of the present application;
[0061] Figure 6 It is a schematic diagram of a slot line area provided in an embodiment of the present application;
[0062] Figure 7 is a schematic diagram of a ridge area provided in an embodiment of the present application;
[0063] Figure 8 It is a flowchart of a training method for model training provided in an embodiment of the present application;
[0064] Fig. 9 It is a structural schematic diagram of a groove ridge line recognition system provided in an embodiment of the present application;
[0065] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The following description and the accompanying drawings sufficiently illustrate specific embodiments of the present application to enable those skilled in the art to practice them.
[0067] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0068] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of systems and methods consistent with some aspects of the present application as detailed in the attached claims.
[0069] In the description of the present application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0070] The present application provides a ridgeline recognition method, system, medium and electronic device to solve the problems existing in the above-mentioned related technical issues. In the technical solution provided by the present application, the present application filters out the noise in the wind field data of the height layer close to the ground affected by the terrain by performing noise filtering on the high-altitude wind field data, so that the ridgeline area is more obvious; at the same time, the wind field data that is most concerned when identifying the ridgeline is abstracted into visually recognizable symbols, providing the most direct information for machine learning, so that the error rate of ridgeline recognition is reduced, thereby improving the recognition accuracy of the ridgeline. The following is a detailed description using an exemplary embodiment.
[0071] The following will be combined with the attached Figure 1 -Attached Figure 8 , the groove ridge line recognition method provided in the embodiment of the present application is introduced in detail. The method can be implemented by a computer program and can be run on a groove ridge line recognition system based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.
[0072] See also Figure 1, a flow chart of a groove ridge line recognition method is provided for an embodiment of the present application.
[0073] like Figure 1 As shown, the method of the embodiment of the present application may include the following steps:
[0074] S101, obtaining meteorological data of the area to be identified, the meteorological data including grid point data and high-altitude potential meter data, each grid point in the grid point data is used to represent high-altitude wind field data at each longitude and latitude;
[0075] Among them, the area to be identified is the area where trough and ridge line identification is required. Grid data is a data format commonly used in the fields of meteorology and climatology. It refers to dividing the earth's surface into a series of grid points of fixed size and fixed longitude and latitude intervals, and discretizing the physical quantities in each direction at each grid point. Discrete description, and construct a three-dimensional physical field in space and time. Each grid point in the grid data corresponds to a longitude and latitude coordinate, which can represent the numerical value of meteorological elements such as temperature, precipitation, and wind speed at that location. Geopotential Height refers to the height corresponding to the gravitational potential energy per unit mass in a certain atmospheric layer. It is used to describe the vertical thickness and air pressure distribution of the atmosphere. In meteorology and climatology, geopotential height data is often used to analyze and predict weather conditions. The preset conditions can be a longitude range of 40-170 degrees, a latitude range of 5-80 degrees, and an altitude of 500hpa. High-altitude wind field data refers to wind speed and direction data measured at different altitudes in the atmosphere.
[0076] In an embodiment of the present application, when identifying ridge lines in a region to be identified, firstly, grid point data and high-altitude potential meter data of the region to be identified in a specified scene are acquired to obtain meteorological data of the region to be identified.
[0077] S102, constructing a contour map of the area to be identified based on the upper air potential meter data;
[0078] In an embodiment of the present application, the process of constructing a contour map of the area to be identified based on the upper-altitude potential meter data specifically includes: drawing contour lines through a contour line drawing algorithm and the upper-altitude potential meter data of the area to be identified, so as to obtain the potential meter contour lines of the area to be identified; linearly mapping the potential meter contour lines of the area to be identified to a single-channel image of a preset resolution, so as to obtain a contour map of the area to be identified.
[0079] Specifically, the longitude and latitude parameters used by the contour line algorithm are: longitude range 40-170 degrees, latitude range 5-80 degrees.
[0080] In one embodiment, the potential meter contour lines are obtained based on the high-altitude potential meter data and the contour line drawing algorithm, and the potential meter contour lines are linearly mapped to a single-channel image of a preset resolution, in which the lowest latitude corresponds to the bottom of the image, the highest latitude corresponds to the top of the image, the lowest longitude corresponds to the left of the image, and the highest longitude corresponds to the right of the image. For example, it can be mapped to a single-channel image with a resolution of 1000*1000, such as Figure 2 shown.
[0081] S103, performing noise filtering on the high-altitude wind field data to obtain filtered multiple target wind field data;
[0082] In an embodiment of the present application, in the process of performing noise filtering on high-altitude wind field data to obtain a plurality of filtered target wind field data, it specifically includes: from the high-altitude wind field data, scanning the high-altitude wind field data of a preset number of adjacent points in rows; determining the scanned high-altitude wind field data of a preset number of adjacent points as a group of high-altitude wind field data to be filtered, and obtaining a plurality of groups of high-altitude wind field data to be filtered; performing mean calculation on the horizontal coordinate and the vertical coordinate contained in each group of high-altitude wind field data to be filtered, so as to perform noise filtering on the high-altitude wind field data, and obtain a plurality of filtered target wind field data.
[0083] In one embodiment, for example, the specific method of filtering the high-altitude wind field data to eliminate the noise in the horizontal direction of the wind field is as follows: the grid data is scanned row by row. Assuming that point0, point1, and point2 are three adjacent points in a row, and the wind field data are (u0, v0), (u1, v1), and (u2, v2), respectively, each target wind field data after point1 filtering is
[0084] S104, mapping each target wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified;
[0085] Among them, the visually identifiable preset symbols include visually identifiable wind direction marks and wind field type marks.
[0086] In an embodiment of the present application, in the process of mapping each target wind field data to an image of preset resolution through visually identifiable preset symbols to obtain a wind field meteorological map of the area to be identified, it specifically includes: obtaining the wind direction in each target wind field data; linearly mapping a wind direction identifier used to characterize the wind direction in each target wind field data in the image of preset resolution to obtain a wind direction map of the area to be identified; obtaining positive and negative parameters of the vertical component in each target wind field data to determine the wind field type represented by each target wind field data; linearly mapping a wind field type identifier used to characterize the wind field type in each target wind field data in the image of preset resolution to obtain a wind direction type map of the area to be identified; using the wind direction map and wind direction type map of the area to be identified as the wind field meteorological map of the area to be identified.
[0087] It should be noted that the wind direction mark may be an arrow, and the wind field type mark may be represented by the positive and negative vertical components in the wind field data, or may be represented by any other form of mark that can be distinguished by human vision.
[0088] In one embodiment, the wind direction in each target wind field data may be mapped to a single-channel image with a resolution of 1000*1000 by using arrows, for example Figure 3 The positive or negative value of the vertical component in each target wind field data can reflect whether the wind field is southerly or northerly. For example, the wind field type is mapped to a single-channel image with a resolution of 1000*1000 by using the symbol + to represent southerly wind and - to represent northerly wind. Figure 4 shown.
[0089] S105, determining the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified based on the contour map and the wind field meteorological map of the area to be identified.
[0090] In an embodiment of the present application, in the process of determining the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified based on the contour map and wind field meteorological map of the area to be identified, it specifically includes: merging the contour map, wind direction map and wind direction type map of the area to be identified to obtain visual representation data of the area to be identified; inputting the visual representation data of the area to be identified into a pre-trained trough-ridge line area positioning model, and outputting the trough-ridge line area corresponding to the area to be identified; inputting the trough-ridge line area corresponding to the area to be identified into a pre-trained trough-ridge line regression model, and outputting the trough-ridge line corresponding to the area to be identified; and inversely mapping the position of the trough-ridge line corresponding to the area to be identified to determine the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified.
[0091] In one embodiment, the single-channel images (contour map, wind direction map, and wind direction type map) are combined into a three-channel image to obtain the final visual representation data of the area to be identified, such as Figure 5As shown, the contour map can reflect the curvature information of the potential meter contour line, the wind direction map can reflect the wind direction information, and the wind direction type map can reflect the north-south information of the wind field.
[0092] In an embodiment of the present application, a pre-trained trough ridge line area positioning model and a pre-trained trough ridge line regression model are generated according to the following steps, including: obtaining historical meteorological data under each potential meter in each sub-time period within a preset time period; the historical meteorological data under each potential meter includes historical grid data and historical high-altitude potential meter data, and each grid point in the historical grid data is used to represent the historical high-altitude wind field data at each longitude and latitude; according to the historical high-altitude potential meter data, a contour map of each sub-time period is constructed; the historical high-altitude wind field data is noise filtered to obtain a plurality of filtered historical wind field data; each historical wind field data is mapped to an image of a preset resolution through a visually recognizable preset symbol to obtain a wind direction map and a wind direction type map for each sub-time period; the contour map of each sub-time period, the wind direction map of each sub-time period and the wind direction type map are merged to obtain visual representation data for each sub-time period; based on the visual representation data of each sub-time period, a pre-trained trough ridge line area positioning model and a pre-trained trough ridge line regression model are generated.
[0093] Among them, the preset time period is the whole year of 2013, and the potential meter data are 500hpa, 700hpa, and 850hpa altitude layer data respectively.
[0094] In one embodiment, for example, the visual representation data of a certain sub-time period is Figure 5 , the area of the groove ridge line can be marked on the visual representation data, where Figure 6 is the slot area, Figure 7 It is the ridgeline area.
[0095] In an embodiment of the present application, the process of generating a pre-trained groove-ridge line area positioning model and a pre-trained groove-ridge line regression model based on the visual representation data of each sub-time period includes: marking and extracting the groove line area and the ridge line area from the visual representation data of each sub-time period to obtain the groove line area visual image and the ridge line area visual image of each sub-time period; creating a groove-ridge line area positioning model; performing machine learning on the groove-ridge line area positioning model according to the groove line area visual image and the ridge line area visual image of each sub-time period to obtain a pre-trained groove-ridge line area positioning model; obtaining the groove-ridge line longitude and latitude from the groove line area visual image and the ridge line area visual image of each sub-time period to obtain the groove-ridge line data of each sub-time period; creating a groove-ridge line regression model; performing machine learning on the groove-ridge line regression model based on the groove-ridge line data of each sub-time period to obtain a pre-trained groove-ridge line regression model.
[0096] Among them, the positioning algorithm in deep learning can be used to create a ridge line area positioning model, including but not limited to ssd and yolo series of neural network algorithms.
[0097] Among them, the trough-ridge area positioning model is a mathematical model that can locate the trough line area and the ridge line area, the trough-ridge line regression model can be constructed using a regression algorithm, and the trough-ridge line regression model is a mathematical model that can regress the longitude and latitude of the trough-ridge line.
[0098] In an embodiment of the present application, the present application filters out the noise in the wind field data of the altitude layer close to the ground that is affected by the terrain by performing noise filtering on the high-altitude wind field data, so that the trough ridge line area is more obvious; at the same time, the wind field data that is most concerned when identifying the trough ridge line is abstracted into visually recognizable symbols, providing the most direct information for machine learning, thereby reducing the error rate of trough ridge line identification, thereby improving the recognition accuracy of the trough ridge line.
[0099] See also Figure 8 , which is a flow chart of a weather situation classification model training method provided in the present application embodiment. Figure 8 As shown, the method of the embodiment of the present application may include the following steps:
[0100] S201, obtaining historical meteorological data at each potential meter in each sub-time period within a preset time period;
[0101] Among them, the historical meteorological data under each potential meter includes historical grid data and historical upper air potential meter data. Each grid point in the historical grid data is used to represent the historical upper air wind field data at each longitude and latitude.
[0102] S202, constructing visual representation data for each sub-time period based on each piece of historical meteorological data;
[0103] In an embodiment of the present application, the process of constructing visual representation data for each sub-time period based on each piece of historical meteorological data includes: constructing a contour map for each sub-time period based on the historical high-altitude potential meter data; performing noise filtering on the historical high-altitude wind field data to obtain multiple filtered historical wind field data; mapping each historical wind field data to an image of a preset resolution through a visually identifiable preset symbol to obtain a wind direction map and a wind direction type map for each sub-time period; merging the contour map of each sub-time period, the wind direction map of each sub-time period, and the wind direction type map to obtain visual representation data for each sub-time period.
[0104] S203, annotating and extracting the groove area and the ridge area from the visual representation data of each sub-time period, and obtaining a visual image of the groove area and a visual image of the ridge area of each sub-time period;
[0105] S204, creating a ridge line area positioning model;
[0106] S205, performing machine learning on the groove-ridge area positioning model according to the groove area visual image and the ridge area visual image of each sub-time period to obtain a pre-trained groove-ridge area positioning model;
[0107] S206, acquiring the longitude and latitude of the trough and ridge lines from the trough line area visual image and the ridge line area visual image of each sub-time period, and obtaining the trough and ridge line data of each sub-time period;
[0108] S207, creating a ridge line regression model;
[0109] S208, performing machine learning on the ridge line regression model based on the ridge line data of each sub-time period to obtain a pre-trained ridge line regression model.
[0110] In an embodiment of the present application, the present application filters out the noise in the wind field data of the altitude layer close to the ground that is affected by the terrain by performing noise filtering on the high-altitude wind field data, so that the trough ridge line area is more obvious; at the same time, the wind field data that is most concerned when identifying the trough ridge line is abstracted into visually recognizable symbols, providing the most direct information for machine learning, thereby reducing the error rate of trough ridge line identification, thereby improving the recognition accuracy of the trough ridge line.
[0111] The following is a system embodiment of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the system embodiment of the present application, please refer to the method embodiment of the present application.
[0112] See also Fig. 9 , which shows a schematic diagram of the structure of a ridge line recognition system provided by an exemplary embodiment of the present application. The ridge line recognition system can be implemented as all or part of an electronic device through software, hardware or a combination of both. The system 1 includes a meteorological data acquisition module 10, a contour map construction module 20, a noise filtering module 30, a wind field data mapping module 40, and a ridge line determination module 50.
[0113] A meteorological data acquisition module 10 is used to acquire meteorological data of the area to be identified, wherein the meteorological data includes grid point data and high-altitude potential meter data, wherein each grid point in the grid point data is used to represent high-altitude wind field data at each longitude and latitude;
[0114] The contour map construction module 20 is used to construct a contour map of the area to be identified based on the upper air potential meter data;
[0115] A noise filtering module 30 is used to perform noise filtering on the high-altitude wind field data to obtain a plurality of filtered target wind field data;
[0116] A wind field data mapping module 40 is used to map each target wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified;
[0117] The trough-ridge line determination module 50 is used to determine the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified based on the contour map and the wind field meteorological map of the area to be identified.
[0118] It should be noted that the groove ridge line recognition system provided in the above embodiment only uses the division of the above functional modules as an example when executing the groove ridge line recognition method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the groove ridge line recognition system provided in the above embodiment and the groove ridge line recognition method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0119] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0120] In an embodiment of the present application, the present application filters out the noise in the wind field data of the altitude layer close to the ground that is affected by the terrain by performing noise filtering on the high-altitude wind field data, so that the trough ridge line area is more obvious; at the same time, the wind field data that is most concerned when identifying the trough ridge line is abstracted into visually recognizable symbols, providing the most direct information for machine learning, thereby reducing the error rate of trough ridge line identification, thereby improving the recognition accuracy of the trough ridge line.
[0121] The present application also provides a computer-readable medium having program instructions stored thereon, and when the program instructions are executed by a processor, the groove and ridge line recognition methods provided by the above-mentioned various method embodiments are implemented.
[0122] The present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the groove and ridge line recognition methods of the above-mentioned various method embodiments.
[0123] See also Fig.10 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .
[0124] The communication bus 1002 is used to realize the connection and communication between these components.
[0125] The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
[0126] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0127] Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts within the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, and it can be implemented separately through a chip.
[0128] Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may also be optionally at least one storage system located away from the aforementioned processor 1001. As Fig.10 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a groove ridge line recognition application.
[0129] exist Fig.10 In the electronic device 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1001 can be used to call the groove ridge line recognition application stored in the memory 1005, and specifically perform the following operations:
[0130] Obtaining meteorological data of the area to be identified, the meteorological data includes grid point data and high-altitude potential meter data, each grid point in the grid point data is used to represent the high-altitude wind field data at each longitude and latitude;
[0131] Based on the upper air potential meter data, a contour map of the area to be identified is constructed;
[0132] Perform noise filtering on high-altitude wind field data to obtain filtered multiple target wind field data;
[0133] Map each target wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified;
[0134] Based on the contour map and wind field meteorological map of the area to be identified, the longitude and latitude coordinates of the trough and ridge line corresponding to the area to be identified are determined.
[0135] In one embodiment, when the processor 1001 performs noise filtering on the high-altitude wind field data to obtain filtered multiple target wind field data, the processor 1001 specifically performs the following operations:
[0136] Scan the high-altitude wind field data of a preset number of adjacent points in rows from the high-altitude wind field data;
[0137] The high-altitude wind field data of the scanned adjacent preset number of points are determined as a group of high-altitude wind field data to be filtered, and multiple groups of high-altitude wind field data to be filtered are obtained;
[0138] The mean value of the horizontal coordinate and the vertical coordinate contained in each group of high-altitude wind field data to be filtered is calculated to perform noise filtering on the high-altitude wind field data to obtain a plurality of filtered target wind field data.
[0139] In one embodiment, when the processor 1001 maps each target wind field data to an image of preset resolution through a visually recognizable preset symbol to obtain a wind field meteorological map of the area to be identified, the processor 1001 specifically performs the following operations:
[0140] Obtain the wind direction in each target wind field data;
[0141] Linearly mapping a wind direction mark used to characterize the wind direction in each target wind field data in an image of a preset resolution to obtain a wind direction map of the area to be identified;
[0142] Obtaining positive and negative parameters of the vertical component in each target wind field data to determine the wind field type represented by each target wind field data;
[0143] Linearly mapping a wind field type identifier used to characterize the wind field type in each target wind field data in an image of a preset resolution to obtain a wind direction type map of the area to be identified;
[0144] The wind direction map and wind direction type map of the area to be identified are used as the wind field meteorological map of the area to be identified.
[0145] In one embodiment, when the processor 1001 determines the longitude and latitude coordinates of the trough and ridge line corresponding to the area to be identified based on the contour map and the wind field meteorological map of the area to be identified, the processor 1001 specifically performs the following operations:
[0146] Merging the contour map, wind direction map and wind direction type map of the area to be identified to obtain visual representation data of the area to be identified;
[0147] Inputting the visual representation data of the area to be identified into a pre-trained groove and ridge line area positioning model, and outputting the groove and ridge line area corresponding to the area to be identified;
[0148] Input the groove and ridge line area corresponding to the area to be identified into the pre-trained groove and ridge line regression model, and output the groove and ridge line corresponding to the area to be identified;
[0149] The position of the groove ridge line corresponding to the area to be identified is inversely mapped to determine the longitude and latitude coordinates of the groove ridge line corresponding to the area to be identified.
[0150] In one embodiment, the processor 1001 performs the following operations when generating a pre-trained groove ridge line area positioning model and a pre-trained groove ridge line regression model:
[0151] Obtain historical meteorological data for each potential meter in each sub-time period within a preset time period; the historical meteorological data for each potential meter includes historical grid point data and historical high-altitude potential meter data, and each grid point in the historical grid point data is used to represent the historical high-altitude wind field data at each longitude and latitude;
[0152] Based on the historical upper-air potential meter data, a contour map of each sub-time period is constructed;
[0153] Perform noise filtering on historical high-altitude wind field data to obtain multiple filtered historical wind field data;
[0154] Map each historical wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind direction map and a wind direction type map for each sub-time period;
[0155] The contour map of each sub-time period, the wind direction map of each sub-time period, and the wind direction type map are combined to obtain visual representation data of each sub-time period;
[0156] Based on the visual representation data of each sub-time period, a pre-trained groove and ridge line area positioning model and a pre-trained groove and ridge line regression model are generated.
[0157] In one embodiment, when the processor 1001 generates a pre-trained groove ridge line area positioning model and a pre-trained groove ridge line regression model based on the visual representation data of each sub-time period, the processor 1001 specifically performs the following operations:
[0158] From the visual representation data of each sub-time period, the groove area and the ridge area are marked and extracted to obtain a visual image of the groove area and a visual image of the ridge area of each sub-time period;
[0159] Create a ridgeline area positioning model;
[0160] Perform machine learning on the groove-ridge area positioning model according to the groove area visual image and the ridge area visual image of each sub-time period to obtain a pre-trained groove-ridge area positioning model;
[0161] From the visual images of the trough area and the ridge area in each sub-time period, the longitude and latitude of the trough and ridge line are obtained to obtain the trough and ridge line data in each sub-time period;
[0162] Create a ridgeline regression model;
[0163] The ridge line regression model is subjected to machine learning based on the ridge line data of each sub-time period to obtain a pre-trained ridge line regression model.
[0164] In one embodiment, when the processor 1001 constructs a contour map of the area to be identified based on the upper air potential meter data, the processor 1001 specifically performs the following operations:
[0165] The contour lines are drawn by using the contour line drawing algorithm and the high-altitude potential meter data of the area to be identified, and the contour lines of the potential meter of the area to be identified are obtained;
[0166] The potential meter contour lines of the area to be identified are linearly mapped onto a single-channel image of a preset resolution to obtain a contour map of the area to be identified.
[0167] In an embodiment of the present application, the present application filters out the noise in the wind field data of the altitude layer close to the ground that is affected by the terrain by performing noise filtering on the high-altitude wind field data, so that the trough ridge line area is more obvious; at the same time, the wind field data that is most concerned when identifying the trough ridge line is abstracted into visually recognizable symbols, providing the most direct information for machine learning, thereby reducing the error rate of trough ridge line identification, thereby improving the recognition accuracy of the trough ridge line.
[0168] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program for groove and ridge line recognition can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium of the program for groove and ridge line recognition can be a magnetic disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0169] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for identifying groove and ridge lines, characterized in that: The method comprises: Acquire meteorological data of the area to be identified, the meteorological data including grid point data and high-altitude potential meter data, each grid point in the grid point data is used to represent high-altitude wind field data at each longitude and latitude; Constructing a contour map of the area to be identified based on the upper air potential meter data; Performing noise filtering on the high-altitude wind field data to obtain a plurality of filtered target wind field data; Each target wind field data is mapped to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified; wherein, The visually identifiable preset symbols include visually identifiable wind direction marks and wind farm type marks; The method maps each target wind field data to an image of preset resolution through a visually recognizable preset symbol to obtain a wind field meteorological map of the area to be identified, including: Obtain the wind direction in each target wind field data; Linearly mapping the wind direction identifier used to characterize the wind direction in each target wind field data in the image of preset resolution to obtain a wind direction map of the area to be identified; Obtaining positive and negative parameters of the vertical component in each target wind field data to determine the wind field type represented by each target wind field data; Linearly mapping the wind field type identifier used to characterize the wind field type in each target wind field data in the image of preset resolution to obtain a wind direction type map of the area to be identified; Using the wind direction map of the area to be identified and the wind direction type map as a wind field meteorological map of the area to be identified; Based on the contour map of the area to be identified and the wind field meteorological map, the longitude and latitude coordinates of the trough and ridge lines corresponding to the area to be identified are determined.
2. The method according to claim 1, characterized in that The step of performing noise filtering on the high-altitude wind field data to obtain filtered multiple target wind field data includes: Scan the high-altitude wind field data of a preset number of adjacent points in rows from the high-altitude wind field data; The high-altitude wind field data of the scanned adjacent preset number of points are determined as a group of high-altitude wind field data to be filtered, and multiple groups of high-altitude wind field data to be filtered are obtained; The horizontal coordinates and the vertical coordinates contained in each group of high-altitude wind field data to be filtered are averaged to perform noise filtering on the high-altitude wind field data to obtain a plurality of filtered target wind field data.
3. The method according to claim 1, characterized in that The determining of the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified based on the contour map of the area to be identified and the wind field meteorological map comprises: Merging the contour map of the area to be identified, the wind direction map, and the wind direction type map to obtain visual representation data of the area to be identified; Inputting the visual representation data of the area to be identified into a pre-trained groove-ridge line area positioning model, and outputting the groove-ridge line area corresponding to the area to be identified; Inputting the groove-ridge line area corresponding to the area to be identified into a pre-trained groove-ridge line regression model, and outputting the groove-ridge line corresponding to the area to be identified; The position of the groove-ridge line corresponding to the area to be identified is inversely mapped to determine the longitude and latitude coordinates of the groove-ridge line corresponding to the area to be identified.
4. The method according to claim 3, characterized in that The following steps are followed to generate a pre-trained ridgeline area location model and a pre-trained ridgeline regression model, including: Obtain historical meteorological data under each potential meter in each sub-time period within a preset time period; the historical meteorological data under each potential meter includes historical grid point data and historical high-altitude potential meter data, and each grid point in the historical grid point data is used to represent historical high-altitude wind field data at each longitude and latitude; Constructing a contour map of each sub-time period according to the historical upper-air potential meter data; Performing noise filtering on the historical high-altitude wind field data to obtain a plurality of filtered historical wind field data; Mapping each historical wind field data into an image of preset resolution through visually recognizable preset symbols to obtain a wind direction map and a wind direction type map for each sub-time period; Merging the contour map of each sub-time period, the wind direction map of each sub-time period, and the wind direction type map of each sub-time period to obtain visual representation data of each sub-time period; Based on the visual representation data of each sub-time period, a pre-trained ridge line area positioning model and a pre-trained ridge line regression model are generated.
5. The method according to claim 4, characterized in that The generating of a pre-trained groove ridge line area positioning model and a pre-trained groove ridge line regression model based on the visual representation data of each sub-time period includes: From the visual representation data of each sub-time period, annotate and extract the groove line area and the ridge line area to obtain a visual image of the groove line area and a visual image of the ridge line area of each sub-time period; Create a ridgeline area positioning model; Performing machine learning on the groove-ridge area positioning model according to the groove area visual image and the ridge area visual image of each sub-time period to obtain a pre-trained groove-ridge area positioning model; Acquire the longitude and latitude of the trough and ridge lines from the trough line area visual image and the ridge line area visual image of each sub-time period, and obtain the trough and ridge line data of each sub-time period; Create a ridgeline regression model; The ridge line regression model is subjected to machine learning based on the ridge line data of each sub-time period to obtain a pre-trained ridge line regression model.
6. The method according to claim 1, characterized in that The step of constructing a contour map of the area to be identified based on the upper air potential meter data comprises: Draw contour lines using a contour line drawing algorithm and the high-altitude potential meter data of the area to be identified, and obtain contour lines of potential meters in the area to be identified; The potential meter contour lines of the area to be identified are linearly mapped onto a single-channel image of a preset resolution to obtain a contour line map of the area to be identified.
7. A groove ridge line recognition system, characterized in that: The system comprises: A meteorological data acquisition module is used to acquire meteorological data of the area to be identified, wherein the meteorological data includes grid point data and high-altitude potential meter data, and each grid point in the grid point data is used to represent high-altitude wind field data at each longitude and latitude; A contour map construction module is used to construct a contour map of the area to be identified based on the upper air potential meter data; A noise filtering module, used for performing noise filtering on the high-altitude wind field data to obtain a plurality of filtered target wind field data; The wind field data mapping module is used to map each target wind field data to an image of preset resolution through visually recognizable preset symbols to obtain a wind field meteorological map of the area to be identified; wherein, The visually identifiable preset symbols include visually identifiable wind direction marks and wind farm type marks; The wind farm data mapping module is specifically used for: Obtain the wind direction in each target wind field data; Linearly mapping the wind direction identifier used to characterize the wind direction in each target wind field data in the image of preset resolution to obtain a wind direction map of the area to be identified; Obtaining positive and negative parameters of the vertical component in each target wind field data to determine the wind field type represented by each target wind field data; Linearly mapping the wind field type identifier used to characterize the wind field type in each target wind field data in the image of preset resolution to obtain a wind direction type map of the area to be identified; Using the wind direction map of the area to be identified and the wind direction type map as a wind field meteorological map of the area to be identified; The trough-ridge line determination module is used to determine the longitude and latitude coordinates of the trough-ridge line corresponding to the area to be identified based on the contour map of the area to be identified and the wind field meteorological map.
8. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method according to any one of claims 1 to 6.
