Image-based natural resource early warning method and system

Through image-based natural resource early warning methods, image data comparison analysis is used to achieve real-time monitoring and early warning of natural resources, solving the problem of failure to promptly warning of sudden damage to natural resources in the existing technology, and improving monitoring efficiency and protection effect.

CN119049232APending Publication Date: 2024-11-29ANHUI UNIV OF FINANCE & ECONOMICS +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411036034.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing technology lacks effective real-time monitoring and early warning mechanisms to prevent sudden damage to natural resources, resulting in the inability to take timely protection measures.

Method used

Using the image-based natural resource early warning method, by acquiring periodic monitoring image data, combining the image data of natural resources with time, establishing monitoring and comparison standard image data, and using historical early warning data to establish an early warning image comparison library for real-time Image comparison analysis to achieve early warning.

Benefits of technology

It realizes accurate and timely status monitoring of natural resources, improves the efficiency of early warning events, and ensures effective protection of natural resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119049232A_ABST
    Figure CN119049232A_ABST
Patent Text Reader

Abstract

The invention provides an image-based natural resource early warning method and system, and relates to the technical field of natural resource monitoring. The method comprises the steps of obtaining periodic image monitoring data, and performing image data division based on natural resource categories to form a monitoring comparison standard image database; acquiring image data in a historical early warning state, performing analysis based on image uniformity comparison, and establishing an early warning image comparison resource library; and acquiring real-time monitoring data, and performing early warning analysis based on difference comparison in combination with the monitoring comparison standard image data and the early warning image comparison resource library to form early warning analysis result data. According to the method, natural resources are monitored in real time by using an image processing technology, and early warning for unfavorable conditions is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of natural resource monitoring, and in particular to an image-based natural resource early warning method and system. Background Art

[0002] Natural resources are precious resources that humans rely on for survival. With the development of society, human activities of destroying and using various natural resources have gradually increased, leading to the gradual scarcity of natural resources. For the sustainable development and survival of mankind, it is necessary to establish the awareness of natural resource protection and implement the protection and rational use of important, non-renewable and scarce natural resources.

[0003] For the protection of natural resources, the most important thing is to monitor natural resources in real time to prevent sudden human or non-human damage, and also provide data support for the formulation of remedial measures. Natural resources are wide-ranging, and most of them are not conducive to real-time management by humans. At present, there is no reasonable way to provide real-time warning for sudden adverse situations of natural resources. Combining the current advanced image technology can be used as a way to break through this aspect.

[0004] Therefore, designing an image-based natural resource early warning method and system, using image processing technology to monitor natural resources in real time, and providing timely early warning of adverse situations is an urgent problem to be solved. Summary of the invention

[0005] The purpose of the present invention is to provide an image-based natural resource early warning method, which obtains monitoring image data collected during the early warning monitoring period, divides different natural resources within the monitoring range in combination with the characteristics of natural resource image data changing over time, and establishes monitoring comparison standard image data for the characteristics of different natural resources changing over time, providing important and accurate basic comparison data for subsequent real-time image comparison. At the same time, a warning image data comparison library for different natural resources is established using historical early warning data, providing reference and accurate basic comparison data for different warning times for subsequent early warning analysis using real-time image data. On the whole, the early warning monitoring of natural resources is digitized, which can accurately and real-timely monitor the status of natural resources and improve the efficiency of early warning event monitoring.

[0006] The present invention also aims to provide an image-based natural resource early warning system, which acquires basic data for early warning analysis of natural resource status through an image acquisition unit. The data analysis unit performs reasonable image comparison analysis, obtains analysis result data under real-time data, and outputs the analysis result through an early warning information data unit. As a whole, an efficient and real-time image processing system is formed, which can monitor the status of natural resources in a timely manner, realize timely event early warning, and fully and effectively protect natural resources.

[0007] In a first aspect, the present invention provides an image-based natural resource early warning method, comprising obtaining periodic image monitoring data, and dividing the image data based on natural resource categories to form monitoring comparison standard image data; obtaining image data in a historical early warning state, and performing analysis based on image uniformity comparison to establish an early warning image comparison resource library; obtaining real-time monitoring data, combining the monitoring comparison standard image data and the early warning image comparison resource library, performing early warning analysis based on difference comparison to form early warning analysis result data.

[0008] In the present invention, the method obtains monitoring image data collected during the early warning monitoring period, combines the characteristics of natural resource image data changing over time to divide different natural resources within the monitoring range, and establishes monitoring comparison standard image data for the characteristics of different natural resources changing over time, providing important and accurate basic comparison data for subsequent real-time image comparison. At the same time, a warning image data comparison library for different natural resources is established using historical early warning data, providing reference and accurate basic comparison data for different warning times for subsequent early warning analysis using real-time image data. Overall, the early warning monitoring of natural resources is digitized, which can accurately and real-time monitor the status of natural resources and improve the efficiency of early warning event monitoring.

[0009] As a possible implementation method, periodic image monitoring data is obtained, and image data is divided based on natural resource categories to form monitoring comparison standard image data, including: obtaining periodic image monitoring data, performing pixel conversion based on the RGB color system on all images in the periodic image monitoring data to form a periodic color system conversion monitoring image; determining typical time points, obtaining periodic color system conversion monitoring images at typical time points, dividing the target warning area into blocks based on the RGB color system, and performing classification and merging based on natural resource categories to form color system resource block division data; obtaining the periodic color system conversion monitoring image corresponding to the starting acquisition point of the warning period, and performing block division according to the color system resource block division data to form a starting block division monitoring image; based on the starting block division monitoring image, extracting standard comparison images of the periodic color system conversion monitoring image during the entire monitoring period to form monitoring comparison standard image data.

[0010] In the present invention, the method of forming monitoring and comparison standard image data is to use the image that best reflects the characteristics of different natural resources in the early warning area to divide the blocks of different natural resources, and then obtain image data for different types of natural resources in the entire natural resource change cycle for comparison, and use the milestone image that can show the change of the characteristics of the natural resources themselves as the image data for subsequent comparison reference. It should be noted here that for natural resources, the use of image data to divide the blocks of different types of natural resources needs to be combined with the characteristics of natural resources. Most natural resources such as forests, lakes, glaciers, etc. will show different states and colors during the entire cycle of their own changes, and the change of state will inevitably cause the change of color. Therefore, color processing of image data can establish a unified color system, and then provide a unit quantity basis for the division of blocks. Of course, the choice of color system is diverse. The RGB color system is the most basic color system. Compared with other complex color systems, it can reduce the complexity of data processing on the basis of retaining the color characteristics of image data. At the same time, how to select the most typical images that can reflect different types of natural resources can be comprehensively considered according to the types of natural resources to be monitored, especially focusing on the distinction of colors. For example, for natural resources that are both forests, one is a maple forest and the other is a birch forest. There may not be much difference in color in spring, but in autumn, there will be obvious color differences. Then, the image collected at a certain time point in autumn can be used as the image obtained at a typical time point to divide different types of natural resources. In addition, for the early warning cycle, it can be a relatively fixed calendar cycle, such as a month, year, etc., or it can be a cycle that is more characteristic of the natural resource itself. It should also be noted that if the closely collected images are directly arranged in chronological order to form monitoring and comparison standard image data, on the one hand, due to the huge number of images to be processed, a large workload is generated for the subsequent comparison and analysis, which is not conducive to data management and analysis. On the other hand, the characteristics of natural resources are not highlighted. It is likely that the characteristics of natural resources have almost no change in a long period of time, and it cannot play a good data guidance role. At the same time, it is also not conducive to the update of the monitoring and comparison standard image data in the later period, and it is impossible to quickly locate the turning point that needs to be effectively compared and updated. Of course, for the establishment of monitoring and comparison standard images in time sequence, different natural resources can be separated, or they can be merged into one image to reduce the workload of separating and extracting image data. As long as the color change characteristics of natural resources can be shown, it is desirable.

[0011] As a possible implementation method, a typical time point is determined, a periodic color conversion monitoring image at the typical time point is obtained, the target warning area is divided into blocks based on the RGB color system, and classification and merging based on natural resource categories are performed to form color resource block division data, including: obtaining a typical image of periodic color conversion at a typical time point, setting a color block division threshold α1, and performing the following block division based on the RGB color system: setting a pixel search direction, for a target pixel to be analyzed, in a direction perpendicular to the pixel search direction, if the difference between adjacent pixels on both sides of the target pixel and the target pixel exceeds the color block division threshold α1 on one side and does not exceed the color block division threshold α1 on the other side, the target pixel value is determined as a color block division fitting boundary pixel; extracting all color block division fitting boundary pixels, performing boundary fitting to form division boundaries of different color blocks, and determining each color block according to the division boundary; merging the color blocks divided from the target warning area by natural resource categories to form color resource blocks, and extracting the boundaries of the color resource blocks to form color resource block division data.

[0012] In the present invention, the block division of different types of natural resources is mainly to distinguish colors. The changes in color data of different natural resources are very obvious. Therefore, a color contrast threshold can be set to judge the block boundary. Here, the color block division threshold can be obtained based on the analysis of big data. It should be noted that the block division based on color features may separate blocks belonging to the same natural resource. For example, for lakes, there are dry seasons and wet seasons, so the entire lake area may present two blocks with significantly different colors under different circumstances. Therefore, after completing the block division based on color, it is necessary to combine the characteristics of natural resources to perform certain merging. The merging method can be manual or combined with the surveying and mapping data of natural resources in the warning area. It should be noted that the collected image data needs to ensure the same collection position and the same collection time in the unit period. It can be understood that for image acquisition, the impact of the environment on the image data is more obvious, that is, the noise processing of the image will interfere with the accuracy of the image data, so the environmental conditions can be kept the same as much as possible when collecting image data. For example, collect at the same position, under the same light conditions, etc., to reduce the impact of environmental noise on image data.

[0013] As a possible implementation method, based on the initial block division monitoring image, a standard comparison image is extracted from the periodic color conversion monitoring image during the entire monitoring period to form monitoring comparison standard image data, including: for each color resource block in the initial block division monitoring image, block color representative data based on typical color values ​​is obtained to form block color representative data; according to the time sequence of the early warning cycle, the block color representative data of the initial block division monitoring image is used as a comparison reference object, and the periodic color conversion monitoring image is extracted in turn to perform the following comparison to obtain a monitoring comparison standard image to form monitoring comparison standard image data; the extracted periodic color conversion monitoring image is compared with the comparison reference object based on the block color representative data to obtain a monitoring comparison standard image, wherein: if the comparison result is If it is determined that the periodic color conversion monitoring image is extracted as the monitoring comparison standard image, the block color representative data of the periodic color conversion monitoring image is obtained to form a new comparison reference object, and the next periodic color conversion monitoring image is obtained in the time sequence of the early warning cycle and compared with the new comparison reference object based on the block color representative data; if the comparison result determines that the periodic color conversion monitoring image is not extracted as the monitoring comparison standard image, the next periodic color conversion monitoring image is obtained in the time sequence of the early warning cycle and the comparison with the comparison reference object is continued based on the block color representative data; all the extracted monitoring comparison standard images are arranged in the time sequence of the early warning cycle, and the period duration corresponding to each monitoring comparison standard image is determined to form monitoring comparison standard image data.

[0014] In the present invention, a method for acquiring monitoring and comparison standard image data is provided. Starting from the initial image acquisition point of the early warning cycle, since the color change of natural resources is continuous, the color comparison of the subsequent image data with the previous image data is performed each time. If the color difference reaches the threshold requirement, the subsequent image data is used as a milestone image, and this image is used as a comparison reference again to obtain the subsequent image for comparison and judgment. If the color difference does not reach the threshold requirement, it can be considered that the natural resources have not changed in color between the previous image acquisition time point and the current image acquisition time point, so the previous image can be used to express the color state of the natural resources during this period, so that when the next image is acquired, it is compared and analyzed with the original image. After the image is acquired, the images are arranged in chronological order, and the corresponding duration of each image needs to be determined, so that the corresponding comparison image can be found for comparison and analysis when the real-time image is acquired later.

[0015] As a possible implementation method, the starting block is divided into each color resource block in the monitoring image, and the block color representative data based on the typical color value is formed to form the block color representative data, including: setting the variance change threshold ρ and the quantity exceeding limit threshold N lim , obtain the following block color representative data for each color resource block: when all variances satisfy a n <ρ, then determine the average representative color value C of all pixel color values cen , get the average representative color value C cen and the color values ​​of all pixels to form a single block color representative data, where N0 represents the number of pixels in the corresponding color resource block; when there is a n The number of pixels N0<N lim , then determine except a n The average representative color value C of the color values ​​of pixels other than pixels with ≥ρ cen , get the average representative color value C cen and the color values ​​of all pixels to form a single block of color representation data; when there is a n The number of pixels ≥ρ is not less than N lim , then a n Pixels with values ​​greater than or equal to ρ are extracted and determined as the block feature pixel set A, and the feature average color value C of the block feature pixel set A is determined A , the remaining a in the corresponding color resource block n The pixels with a value less than ρ determine the average representative color value C cen , get the feature average color value C A , average representative color value C cen And the color values ​​of all pixels form the color representative data of the feature block, where N A Represents the number of pixels in the block feature pixel set A.

[0016] In the present invention, the acquisition of the color characteristics of the natural resource block is mainly based on the color value of the image pixel and the color average value of the pixels on the entire block. At the same time, considering that there is a certain color error in the image data, when judging whether the pixel color affects the overall color situation, it is necessary to analyze the magnitude of these effects, which is determined here by the number of pixels reaching the threshold. The quantity limit can be determined according to the situation of different types of natural resources.

[0017] As a possible implementation method, image data under the historical warning state is obtained, and analysis based on image uniformity comparison is performed to establish a warning image comparison resource library, including: obtaining the historical warning image of the target warning area, and performing pixel conversion on the historical warning image based on the RGB color system to form a historical warning color system conversion image; dividing the historical warning color system conversion image into blocks according to the color system resource block division data to form a historical warning block division image; determining the warning time of the historical warning block division image, obtaining the monitoring comparison standard image with the same warning time in the monitoring comparison standard image data, and performing a difference comparison of the pixel difference color value to determine the warning feature color range; obtaining the warning event corresponding to the warning feature color range and the historical warning block division image to form a warning image comparison resource library.

[0018] In the present invention, the establishment of the early warning image comparison resource library is mainly to provide a reference for different types of known early warning times for early warning analysis. Considering that the occurrence of early warning events will inevitably affect the color changes of natural resources, such as drought, fire, illegal logging, etc., these difference parameters can be extracted based on historical early warning image data to establish a comparison database. It should be noted that the early warning feature color range can be considered as the threshold data of the early warning. The early warning is not to warn as soon as the situation occurs, but to warn after the event occurs when it is uncontrollable or requires human processing. Therefore, there is still a certain gap between the color range of the early warning feature and the normal pixel color value. And this gap period can also be considered as a normal situation. Of course, it can also be refined in combination with the actual situation of different types of natural resources to improve the monitoring effect.

[0019] As a possible implementation method, real-time monitoring data is obtained, and early warning analysis based on difference comparison is performed in combination with monitoring comparison standard image data and early warning image comparison resource library to form early warning analysis result data, including: obtaining a real-time monitoring image, and performing pixel conversion based on the RGB color system to form a real-time color system conversion monitoring image; dividing the real-time color system conversion monitoring image into blocks according to the color system resource block division data to form a real-time block division image; extracting a monitoring comparison standard image with the same acquisition time point as the real-time block division image from the monitoring comparison standard image data, performing difference comparison analysis to form a difference comparison analysis result; when the difference comparison analysis result determines that there is a difference between the real-time block division image and the monitoring comparison standard image, combining the early warning image comparison resource library to perform early warning analysis to form early warning analysis result data.

[0020] In the present invention, the early warning analysis is mainly performed when the real-time image data cannot match the monitoring comparison standard image data. In the case of mismatch, it is determined whether the abnormal situation has reached a situation requiring an early warning, and then an early warning indication is given.

[0021] As a possible implementation method, a monitoring comparison standard image with the same acquisition time point as the real-time block division image is extracted from the monitoring comparison standard image data, and a difference comparison analysis is performed to form a difference comparison analysis result, including: extracting a monitoring comparison standard image with the same acquisition time point as the real-time block division image from the monitoring comparison standard image data, and determining it as the real-time monitoring comparison standard image; setting a pixel color difference threshold β1, a color averaging threshold β2, a feature pixel color difference threshold η1, and a feature averaging threshold η2, and performing the following difference comparison analysis on different color resource blocks: When the block color representative data of the color resource block in the monitoring comparison standard image is a single block color representative data, then: if It is determined that the corresponding color resource blocks on the real-time block division image have no difference, where: The average color value of the pixels at the same position corresponding to the real-time block division image; if If the number of pixels whose pixel color difference at the corresponding position in the color resource block exceeds the pixel color difference threshold β1 is less than the difference number threshold S0, then it is determined that the corresponding color resource block on the real-time block division image has no difference; If the number of pixels whose pixel color difference at the corresponding position in the color resource block exceeds the pixel color difference threshold β1 is not less than the difference number threshold S0, it is judged that the corresponding color resource block on the real-time block division image has a difference, and the pixels whose pixel color difference exceeds the pixel color difference threshold β1 are extracted to form a difference pixel set B; when the block color representative data of the color resource block in the monitoring comparison standard image is the characteristic block color representative data, then: if it is judged that the corresponding color resource block on the real-time block division image has no difference, any one of the following conditions must be met; otherwise, it is judged that the corresponding color resource block on the real-time block division image has a difference, and the pixels whose color difference of the pixels corresponding to the pixel position of the block characteristic pixel set A in the monitoring comparison standard image exceeds the characteristic pixel color difference threshold η1 and the pixels whose color difference of the pixels at other positions exceeds the pixel color difference threshold β1 are extracted to form a difference pixel set B: and in, Represents the color average value of all pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image; and The number of pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image and the pixel color value difference of the block feature pixel set A in the monitoring comparison standard image exceeding η1 is less than the adjustment number threshold S1; and The number of pixels on the real-time block division image corresponding to the positions of the pixels outside the block feature pixel set A in the monitoring comparison standard image and the color value differences of the pixels at the corresponding positions in the monitoring comparison standard image exceeding β1 is less than the difference number threshold S0; and The number of pixels on the real-time block division image corresponding to the positions of pixels located outside the block feature pixel set A in the monitoring comparison standard image and the pixel color value difference between the corresponding positions in the monitoring comparison standard image by more than β1 is less than the difference quantity threshold S0, and the number of pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image and the pixel color value difference between the block feature pixel set A in the monitoring comparison standard image by more than η1 is less than the adjustment quantity threshold S1.

[0022] In the present invention, for the difference comparison between the real-time image data and the monitoring comparison standard image data, the main consideration is the order of magnitude of the average value of the pixels on the block and the pixel color difference exceeding the threshold. If the average value is less than the threshold, it can be considered that the pixels of the real-time image as a whole have met the normal requirements, and there is no need to examine the individual pixels. After all, the changes in natural resources are holistic, and the average color value is very accurate in expressing the characteristics. For the case of reaching the average threshold, it is necessary to consider whether there is an error. If the number of differential errors is within a controllable range, it is considered normal. Only when the average value exceeds the threshold and the number of pixels with deviations exceeds the threshold will it be determined that there is a difference, and the difference characteristics are extracted as the basic data for subsequent early warning analysis.

[0023] As a possible implementation method, when the difference comparison analysis results determine that there is a difference between the real-time block division image and the monitoring comparison standard image, the early warning analysis is performed in combination with the early warning image comparison resource library to form early warning analysis result data, including: extracting the early warning feature color range in the early warning image comparison resource library according to the event type; setting the quantity ratio R, comparing the color value of the pixel in the difference pixel set B with the early warning feature color range: if the pixel color value in the difference pixel set B has a number k that belongs to the early warning feature color range that satisfies Then a warning message is formed, where M is the number of all pixels in the difference pixel set B; otherwise, a non-warning message is formed.

[0024] In the present invention, for the warning comparison analysis, the main consideration is which time feature the color of the difference pixel concentration is close to in the warning image comparison resource library, so that timely preparation and processing can be carried out for different events while issuing warnings, thereby improving the efficiency of warning processing.

[0025] In the second aspect, the present invention provides an image-based natural resource early warning system, which is applied to the image-based natural resource early warning method mentioned in the first aspect, including an image acquisition unit, which is used to acquire natural resource image data of the target early warning area; a data analysis unit, which is used to obtain the natural resource image data acquired by the image acquisition unit, divide the image data, and form monitoring comparison standard image data, which is used to perform analysis based on image uniformity comparison, establish a warning image comparison resource library, and perform warning analysis based on difference comparison to form warning analysis result data; a warning information output unit, which is used to obtain the warning analysis result data formed by the data analysis unit and output it for display.

[0026] In the present invention, the system obtains basic data for early warning analysis of natural resource status through an image acquisition unit. The data analysis unit performs reasonable image comparison analysis to obtain analysis result data under real-time data, and outputs the analysis result through an early warning information data unit. As a whole, an efficient and real-time image processing system is formed, which can monitor the status of natural resources in a timely manner, realize timely event early warning, and fully and effectively protect natural resources.

[0027] The beneficial effects of the image-based natural resource early warning system and method provided by the present invention are as follows:

[0028] This method obtains the monitoring image data collected during the early warning monitoring period, combines the characteristics of natural resource image data changing over time to divide different natural resources within the monitoring range, and establishes monitoring comparison standard image data for the characteristics of different natural resources changing over time, which provides important and accurate basic comparison data for subsequent real-time image comparison. At the same time, a warning image data comparison library for different natural resources is established using historical warning data, which provides reference and accurate basic comparison data for different warning times for subsequent early warning analysis using real-time image data. Overall, the early warning monitoring of natural resources is digitized, which can accurately and real-time monitor the status of natural resources and improve the efficiency of early warning event monitoring.

[0029] The system uses the image acquisition unit to obtain basic data for early warning analysis of natural resource status. The data analysis unit performs reasonable image comparison analysis to obtain analysis result data under real-time data, and outputs the analysis result through the early warning information data unit. Overall, an efficient and real-time image processing system is formed, which can monitor the status of natural resources in a timely manner, realize timely event warning, and fully and effectively protect natural resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 A step diagram of an image-based natural resource early warning method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0033] Natural resources are precious resources that humans rely on for survival. With the development of society, human activities of destroying and using various natural resources have gradually increased, leading to the gradual scarcity of natural resources. For the sustainable development and survival of mankind, it is necessary to establish the awareness of natural resource protection and implement the protection and rational use of important, non-renewable and scarce natural resources.

[0034] For the protection of natural resources, the most important thing is to monitor them in real time to prevent sudden human or non-human damage, and also to provide reminders for humans to take remedial measures. Natural resources are wide-ranging, and most of them are not conducive to real-time management by humans. At present, there is no reasonable way to provide factual early warning for sudden adverse situations of natural resources. Combining with the current advanced image technology can be a way to break through this aspect.

[0035] refer to Figure 1 The embodiment of the present invention provides an image-based natural resource early warning method, which obtains monitoring image data collected within the early warning monitoring period, divides different natural resources within the monitoring range in combination with the characteristics of natural resource image data changing over time, and establishes monitoring comparison standard image data for the characteristics of different natural resources changing over time, providing important and accurate basic comparison data for subsequent real-time image comparison. At the same time, a warning image data comparison library for different natural resources is established using historical early warning data, providing reference and accurate basic comparison data for different warning times for subsequent early warning analysis using real-time image data. Overall, the early warning monitoring of natural resources is digitized, which can accurately and real-time monitor the status of natural resources and improve the efficiency of early warning event monitoring.

[0036] The image-based natural resource early warning method specifically includes the following steps:

[0037] S1: Obtain periodic image monitoring data, and divide the image data based on natural resource categories to form monitoring comparison standard image data.

[0038] Obtain periodic image monitoring data, and divide the image data based on natural resource categories to form monitoring comparison standard image data, including: obtaining periodic image monitoring data, performing pixel conversion based on the RGB color system on all images in the periodic image monitoring data to form periodic color system conversion monitoring images; determining typical time points, obtaining periodic color system conversion monitoring images at typical time points, dividing the target early warning area into blocks based on the RGB color system, and performing classification and merging based on natural resource categories to form color system resource block division data; obtaining the periodic color system conversion monitoring image corresponding to the starting acquisition point of the early warning period, and dividing the blocks according to the color system resource block division data to form a starting block division monitoring image; based on the starting block division monitoring image, extracting standard comparison images of the periodic color system conversion monitoring image during the entire monitoring period to form monitoring comparison standard image data.

[0039] The way to form monitoring and comparison standard image data is to use the images that best reflect the characteristics of different natural resources in the early warning area to divide the blocks of different natural resources, and then obtain image data for different types of natural resources in the entire natural resource change cycle for comparison, and use the milestone images that can show the changes in the characteristics of natural resources themselves as image data for subsequent comparison reference. It should be noted here that for natural resources, the use of image data to divide the blocks of different types of natural resources requires the combination of the characteristics of natural resources. Most natural resources such as forests, lakes, glaciers, etc. will show different states and colors throughout the cycle of their own changes, and changes in state will inevitably cause changes in color. Therefore, color processing of image data can establish a unified color system, thereby providing a unit quantity basis for block division. Of course, the choice of color system is diverse. The RGB color system is the most basic color system. Compared with other complex color systems, it can reduce the complexity of data processing while retaining the color characteristics of image data. At the same time, how to select the most typical images that can reflect different types of natural resources can be comprehensively considered according to the types of natural resources to be monitored, especially focusing on the distinction of colors. For example, for natural resources that are both forests, one is a maple forest and the other is a birch forest. There may not be much difference in color in spring, but in autumn, there will be obvious color differences. Then, the image collected at a certain time point in autumn can be used as the image obtained at a typical time point to divide different types of natural resources. In addition, for the early warning cycle, it can be a relatively fixed calendar cycle, such as a month, year, etc., or it can be a cycle that is more characteristic of the natural resource itself. It should also be noted that if the closely collected images are directly arranged in chronological order to form monitoring and comparison standard image data, on the one hand, due to the huge number of images to be processed, a large workload is generated for the subsequent comparison and analysis, which is not conducive to data management and analysis. On the other hand, the characteristics of natural resources are not highlighted. It is likely that the characteristics of natural resources have almost no change in a long period of time, and it cannot play a good data guidance role. At the same time, it is also not conducive to the update of the monitoring and comparison standard image data in the later period, and it is impossible to quickly locate the turning point that needs to be effectively compared and updated. Of course, for the establishment of monitoring and comparison standard images in time sequence, different natural resources can be separated, or they can be merged into one image to reduce the workload of separating and extracting image data. As long as the color change characteristics of natural resources can be shown, it is desirable.

[0040] Determine a typical time point, obtain a monitoring image of periodic color conversion at the typical time point, divide the target warning area into blocks based on the RGB color system, and perform classification and merging based on natural resource categories to form color resource block division data, including: obtaining a typical image of periodic color conversion at a typical time point, setting a color block division threshold α1, and performing the following block division based on the RGB color system: setting a pixel search direction, for a target pixel to be analyzed, in a direction perpendicular to the pixel search direction, if the difference between adjacent pixels on both sides of the target pixel and the target pixel exceeds the color block division threshold α1 on one side and does not exceed the color block division threshold α1 on the other side, then the target pixel value is determined as a color block division fitting boundary pixel; extract all color block division fitting boundary pixels, perform boundary fitting, form division boundaries of different color blocks, and determine each color block according to the division boundary; merge the color blocks divided from the target warning area into natural resource categories to form color resource blocks, and extract the boundaries of the color resource blocks to form color resource block division data.

[0041] The main purpose of block division for different types of natural resources is to distinguish colors. The changes in color data of different natural resources are very obvious. Therefore, a color contrast threshold can be set to judge the block boundary. Here, the color block division threshold can be obtained based on the analysis of big data. It should be noted that the block division based on color features may separate blocks belonging to the same natural resource. For example, for lakes, there are dry seasons and wet seasons. Therefore, the entire lake area may present two blocks with significantly different colors under different circumstances. Therefore, after completing the color-based block division, it is necessary to combine the characteristics of natural resources to perform certain merging. The merging method can be manual or combined with the surveying and mapping data of natural resources in the warning area. It should be noted that the collected image data needs to ensure the same collection position and the same collection time in the unit cycle. It can be understood that for image acquisition, the impact of the environment on the image data is more obvious, that is, the noise processing of the image will interfere with the accuracy of the image data. Therefore, the same environmental conditions can be achieved as much as possible when collecting image data. For example, collect at the same location and under the same light conditions to reduce the impact of environmental noise on image data.

[0042] Based on the monitoring image divided by the initial block, a standard comparison image is extracted from the monitoring image of the periodic color conversion in the entire monitoring cycle to form monitoring comparison standard image data, including: for each color resource block in the monitoring image divided by the initial block, block color representative data based on typical color values ​​is obtained to form block color representative data; according to the time sequence of the early warning cycle, the block color representative data of the monitoring image divided by the initial block is used as a comparison reference object, and the periodic color conversion monitoring image is extracted in turn to perform the following comparison to obtain a monitoring comparison standard image to form monitoring comparison standard image data; the extracted periodic color conversion monitoring image is compared with the comparison reference object based on the block color representative data to obtain a monitoring comparison standard image, wherein: if the comparison result determines that the periodic If the periodic color conversion monitoring image is extracted as the monitoring comparison standard image, the block color representative data of the periodic color conversion monitoring image is obtained to form a new comparison reference object, and the next periodic color conversion monitoring image is obtained in the time sequence of the early warning cycle and compared with the new comparison reference object based on the block color representative data; if the comparison result determines that the periodic color conversion monitoring image is not extracted as the monitoring comparison standard image, the next periodic color conversion monitoring image is obtained in the time sequence of the early warning cycle and the comparison with the comparison reference object is continued based on the block color representative data; all the extracted monitoring comparison standard images are arranged in the time sequence of the early warning cycle, and the period duration corresponding to each monitoring comparison standard image is determined to form monitoring comparison standard image data.

[0043] Starting from the initial image acquisition point of the early warning cycle, since the color change of natural resources is continuous, the color of the next image data is compared with the previous image data each time. If the color difference reaches the threshold requirement, the next image data is used as a milestone image, and this image is used as a comparison reference again to obtain the next image for comparison and judgment. If the color difference does not reach the threshold requirement, it can be considered that the natural resources have not changed in color between the previous image acquisition time point and the current image acquisition time point, so the previous image can be used to express the color state of the natural resources during this period, so that the next image is obtained for comparison and analysis with the original image. After the image is acquired, the images are arranged in chronological order, and the corresponding duration of each image needs to be determined, so that the corresponding comparison image can be found for comparison and analysis when the real-time image is acquired later.

[0044] For each color resource block in the monitoring image, the color representative data of the block based on the typical color value is formed by dividing the starting block into blocks, including: setting the variance change threshold ρ and the quantity exceeding limit threshold N lim, obtain the following block color representative data for each color resource block: when all variances satisfy a n <ρ, then determine the average representative color value C of all pixel color values cen , get the average representative color value C cen and the color values ​​of all pixels to form a single block color representative data, where N0 represents the number of pixels in the corresponding color resource block; when there is a n The number of pixels N0<N lim , then determine except a n The average representative color value C of the color values ​​of pixels other than pixels with ≥ρ cen , get the average representative color value C cen and the color values ​​of all pixels to form a single block of color representation data; when there is a n The number of pixels ≥ρ is not less than N lim , then a n Pixels with values ​​greater than or equal to ρ are extracted and determined as the block feature pixel set A, and the feature average color value C of the block feature pixel set A is determined A , the remaining a in the corresponding color resource block n The pixels with a value less than ρ determine the average representative color value C cen , get the feature average color value C A , average representative color value C cen And the color values ​​of all pixels form the color representative data of the feature block, where N A Represents the number of pixels in the block feature pixel set A.

[0045] The acquisition of color features of natural resource blocks is mainly based on the color values ​​of image pixels and the color average value of pixels in the entire block. At the same time, considering that there are certain color errors in image data, when judging whether the pixel color affects the overall color situation, it is necessary to analyze the magnitude of these effects, which is determined here by the number of pixels that reach the threshold. The quantity limit can be determined according to the situation of different types of natural resources.

[0046] S2: Obtain image data under historical warning status, conduct analysis based on image uniformity comparison, and establish a warning image comparison resource library.

[0047] Obtain image data under the historical warning state, and conduct analysis based on image uniformity comparison to establish a warning image comparison resource library, including: obtaining the historical warning image of the target warning area, and performing pixel conversion on the historical warning image based on the RGB color system to form a historical warning color system conversion image; dividing the historical warning color system conversion image into blocks according to the color system resource block division data to form a historical warning block division image; determining the warning time of the historical warning block division image, obtaining the monitoring comparison standard image with the same warning time in the monitoring comparison standard image data, and performing a difference comparison of the pixel difference color value to determine the warning feature color range; obtaining the warning feature color range and the warning events corresponding to the historical warning block division image to form a warning image comparison resource library.

[0048] The establishment of the early warning image comparison resource library is mainly to provide a reference for different types of known early warning times for early warning analysis. Considering that the occurrence of early warning events will inevitably affect the color changes of natural resources, such as drought, fire, illegal logging, etc., these difference parameters can be extracted based on historical early warning image data to establish a comparison database. It should be noted that the color range of the early warning feature can be considered as the threshold data of the early warning. The early warning is not necessary as soon as the situation occurs, but after the event occurs, it is uncontrollable or requires human processing. Therefore, there is still a certain gap between the color range of the early warning feature and the normal pixel color value. This gap period can also be considered as a normal situation. Of course, it can also be refined in combination with the actual situation of different types of natural resources to improve the monitoring effect.

[0049] S3: Acquire real-time monitoring data, combine it with monitoring comparison standard image data and early warning image comparison resource library, conduct early warning analysis based on difference comparison, and form early warning analysis result data.

[0050] Real-time monitoring data is acquired, and early warning analysis based on difference comparison is performed in combination with monitoring comparison standard image data and early warning image comparison resource library to form early warning analysis result data, including: acquiring real-time monitoring images, and performing pixel conversion based on RGB color system to form real-time color system conversion monitoring images; dividing the real-time color system conversion monitoring images into blocks according to color system resource block division data to form real-time block division images; extracting monitoring comparison standard images with the same acquisition time point as the real-time block division images from the monitoring comparison standard image data, performing difference comparison analysis to form difference comparison analysis results; when the difference comparison analysis results determine that there is a difference between the real-time block division image and the monitoring comparison standard image, combining the early warning image comparison resource library to perform early warning analysis to form early warning analysis result data.

[0051] Early warning analysis is mainly carried out when the real-time image data cannot match the monitoring comparison standard image data. In the case of mismatch, it is determined whether the abnormal situation has reached a point where an early warning is required, and then an early warning indication is given.

[0052] A monitoring comparison standard image having the same acquisition time point as the real-time block division image is extracted from the monitoring comparison standard image data, and a difference comparison analysis is performed to form a difference comparison analysis result, including: extracting a monitoring comparison standard image having the same acquisition time point as the real-time block division image from the monitoring comparison standard image data, and determining it as the real-time monitoring comparison standard image; setting a pixel color difference threshold β1, a color averaging threshold β2, a feature pixel color difference threshold η1, and a feature averaging threshold η2, and performing the following difference comparison analysis on different color resource blocks: When the block color representative data of the color resource block in the monitoring comparison standard image is a single block color representative data, then: if It is determined that the corresponding color resource blocks on the real-time block division image have no difference, where: The average color value of the pixels at the same position corresponding to the real-time block division image; if If the number of pixels whose pixel color difference at the corresponding position in the color resource block exceeds the pixel color difference threshold β1 is less than the difference number threshold S0, then it is determined that the corresponding color resource block on the real-time block division image has no difference; If the number of pixels whose pixel color difference at the corresponding position in the color resource block exceeds the pixel color difference threshold β1 is not less than the difference number threshold S0, it is judged that the corresponding color resource block on the real-time block division image has a difference, and the pixels whose pixel color difference exceeds the pixel color difference threshold β1 are extracted to form a difference pixel set B; when the block color representative data of the color resource block in the monitoring comparison standard image is the characteristic block color representative data, then: if it is judged that the corresponding color resource block on the real-time block division image has no difference, any one of the following conditions must be met; otherwise, it is judged that the corresponding color resource block on the real-time block division image has a difference, and the pixels whose color difference of the pixels corresponding to the pixel position of the block characteristic pixel set A in the monitoring comparison standard image exceeds the characteristic pixel color difference threshold η1 and the pixels whose color difference of the pixels at other positions exceeds the pixel color difference threshold β1 are extracted to form a difference pixel set B: and in, Represents the color average value of all pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image; and The number of pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image and the pixel color value difference of the block feature pixel set A in the monitoring comparison standard image exceeding η1 is less than the adjustment number threshold S1; and The number of pixels on the real-time block division image corresponding to the positions of the pixels outside the block feature pixel set A in the monitoring comparison standard image and the color value differences of the pixels at the corresponding positions in the monitoring comparison standard image exceeding β1 is less than the difference number threshold S0; and The number of pixels on the real-time block division image corresponding to the positions of pixels located outside the block feature pixel set A in the monitoring comparison standard image and the pixel color value difference between the corresponding positions in the monitoring comparison standard image by more than β1 is less than the difference quantity threshold S0, and the number of pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image and the pixel color value difference between the block feature pixel set A in the monitoring comparison standard image by more than η1 is less than the adjustment quantity threshold S1.

[0053] For the difference comparison between real-time image data and monitoring comparison standard image data, the main consideration is the order of magnitude of the average value of pixels on the block and the pixel color difference exceeding the threshold. If the average value is less than the threshold, it can be considered that the pixels of the real-time image as a whole have met the normal requirements, and there is no need to examine individual pixels. After all, the changes in natural resources are holistic, and the average color value is very accurate in expressing the characteristics. For the case of reaching the average threshold, it is necessary to consider whether there is an error. If the number of differential errors is within a controllable range, it is considered normal. Only when the average value exceeds the threshold and the number of pixels with deviations exceeds the threshold will it be determined that there is a difference, and the difference features are extracted as the basic data for subsequent early warning analysis.

[0054] When the difference comparison analysis results determine that there is a difference between the real-time block division image and the monitoring comparison standard image, the early warning analysis is performed in combination with the early warning image comparison resource library to form early warning analysis result data, including: extracting the early warning feature color range in the early warning image comparison resource library according to the event type; setting the quantity ratio R, comparing the color value of the pixel in the difference pixel set B with the early warning feature color range: if the pixel color value in the difference pixel set B has a number k that belongs to the early warning feature color range that satisfies Then a warning message is formed, where M is the number of all pixels in the difference pixel set B; otherwise, a non-warning message is formed.

[0055] Here, for the warning comparison analysis, the main consideration is which time feature in the color of the difference pixel concentration is close to the warning image comparison resource library, so that while issuing a warning, timely preparation and processing can be carried out for different events, thereby improving the efficiency of warning processing.

[0056] The present invention also provides an image-based natural resource early warning system, which adopts the image-based natural resource early warning method provided by the present invention, including an image acquisition unit, which is used to collect natural resource image data of the target early warning area; a data analysis unit, which is used to obtain the natural resource image data collected by the image acquisition unit, divide the image data, and form monitoring comparison standard image data, which is used to perform analysis based on image uniformity comparison, establish an early warning image comparison resource library, and perform early warning analysis based on difference comparison to form early warning analysis result data; an early warning information output unit, which is used to obtain the early warning analysis result data formed by the data analysis unit and output it for display.

[0057] The system uses the image acquisition unit to obtain basic data for early warning analysis of natural resource status. The data analysis unit performs reasonable image comparison analysis to obtain analysis result data under real-time data, and outputs the analysis result through the early warning information data unit. Overall, an efficient and real-time image processing system is formed, which can monitor the status of natural resources in a timely manner, realize timely event warning, and fully and effectively protect natural resources.

[0058] In summary, the image-based natural resource early warning method and system provided by the embodiments of the present invention have the following beneficial effects:

[0059] This method obtains the monitoring image data collected during the early warning monitoring period, combines the characteristics of natural resource image data changing over time to divide different natural resources within the monitoring range, and establishes monitoring comparison standard image data for the characteristics of different natural resources changing over time, which provides important and accurate basic comparison data for subsequent real-time image comparison. At the same time, a warning image data comparison library for different natural resources is established using historical warning data, which provides reference and accurate basic comparison data for different warning times for subsequent early warning analysis using real-time image data. Overall, the early warning monitoring of natural resources is digitized, which can accurately and real-time monitor the status of natural resources and improve the efficiency of early warning event monitoring.

[0060] The system uses the image acquisition unit to obtain basic data for early warning analysis of natural resource status. The data analysis unit performs reasonable image comparison analysis to obtain analysis result data under real-time data, and outputs the analysis result through the early warning information data unit. Overall, an efficient and real-time image processing system is formed, which can monitor the status of natural resources in a timely manner, realize timely event warning, and fully and effectively protect natural resources.

[0061] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0062] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0063] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0064] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0065] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0066] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0067] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0068] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

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

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

Claims

1. A natural resource early warning method based on images, characterized in that: include: Obtain periodic image monitoring data, and divide the image data based on natural resource categories to form monitoring comparison standard image data; Obtain image data under historical warning status, conduct analysis based on image uniformity comparison, and establish a warning image comparison resource library; Real-time monitoring data is acquired, and early warning analysis based on difference comparison is performed in combination with the monitoring comparison standard image data and the early warning image comparison resource library to form early warning analysis result data.

2. The image-based natural resource early warning method according to claim 1, characterized in that: The periodic image monitoring data is obtained, and the image data is divided based on natural resource categories to form monitoring comparison standard image data, including: Acquire periodic image monitoring data, and perform pixel conversion based on the RGB color system on all images in the periodic image monitoring data to form a periodic color system conversion monitoring image; Determine a typical time point, obtain the periodic color conversion monitoring image at the typical time point, divide the target warning area into blocks based on the RGB color system, and perform classification and merging based on natural resource categories to form color resource block division data; Acquire the periodic color conversion monitoring image corresponding to the starting collection point of the early warning period, and perform block division according to the color resource block division data to form a starting block division monitoring image; Based on the monitoring image divided by the starting block, a standard comparison image is extracted from the monitoring image of the periodic color conversion during the entire monitoring period to form the monitoring comparison standard image data.

3. The image-based natural resource early warning method according to claim 2, characterized in that: The typical time point is determined, the periodic color conversion monitoring image at the typical time point is obtained, the target warning area is divided into blocks based on the RGB color system, and classified and merged based on the natural resource category to form color resource block division data, including: The typical image of the periodic color conversion at the typical time point is obtained, the color block division threshold α1 is set, and the following block division based on the RGB color system is performed: Set a pixel search direction. For a target pixel to be analyzed, if the difference between the adjacent pixels on both sides of the target pixel and the target pixel in a direction perpendicular to the pixel search direction exceeds the color block division threshold α1 on one side and does not exceed the color block division threshold α1 on the other side, the target pixel value is determined as a color block division fitting boundary pixel; Extracting all the color block division fitting boundary pixels, performing boundary fitting to form division boundaries of different color blocks, and determining each color block according to the division boundaries; The color blocks divided from the target warning area are merged according to natural resource categories to form color resource blocks, and the boundaries of the color resource blocks are extracted to form the color resource block division data.

4. The image-based natural resource early warning method according to claim 3, characterized in that: The method of extracting a standard comparison image from the periodic color conversion monitoring image based on the initial block division monitoring image during the entire monitoring period to form the monitoring comparison standard image data includes: Divide each color resource block in the monitoring image into the starting block, and perform block color representative data based on typical color values ​​to form block color representative data; According to the time sequence of the warning cycle, the block color representative data of the monitoring image divided by the starting block is used as a comparison reference object, and the periodic color conversion monitoring image is extracted in sequence for comparison in the following manner to obtain a monitoring comparison standard image to form the monitoring comparison standard image data; The extracted periodic color conversion monitoring image is compared with the comparison reference object based on the block color representative data to obtain a monitoring comparison standard image, wherein: If the comparison result determines that the periodic color conversion monitoring image is extracted as the monitoring comparison standard image, the block color representative data is obtained for the periodic color conversion monitoring image to form a new comparison reference object, and the next periodic color conversion monitoring image is obtained in the time sequence of the early warning cycle to compare with the new comparison reference object based on the block color representative data; If the comparison result determines that the periodic color conversion monitoring image is not to be extracted as the monitoring comparison standard image, then the next periodic color conversion monitoring image is obtained in the time sequence of the warning cycle and the comparison reference object is continued to be compared based on the block color representative data; All the extracted monitoring comparison standard images are arranged in the time sequence of the early warning cycle, and the cycle duration corresponding to each monitoring comparison standard image is determined to form the monitoring comparison standard image data.

5. The image-based natural resource early warning method according to claim 4, characterized in that: The step of dividing each color resource block in the monitoring image into the starting block and performing block color representative data based on typical color values ​​to form block color representative data includes: Set the variance change threshold ρ and the quantity exceeding limit threshold N lim , for each color resource block, the following block color representative data is obtained: When all variances satisfy a n <ρ, then determine the average representative color value C of all pixel color values cen , obtain the average representative color value C cen and the color values ​​of all pixels to form single block color representative data, wherein N0 represents the number of pixels in the corresponding color resource block; When there exists a n The number of pixels N0<N lim , then determine except a n The average representative color value C of the color values ​​of pixels other than pixels with ≥ρ cen , obtain the average representative color value C cen And the color values ​​of all pixels form a single block of color representation data; When there exists a n The number of pixels ≥ρ is not less than N lim , then a n ≥ρ pixels are extracted and determined as the block feature pixel set A, and the feature average color value C of the block feature pixel set A is determined A , the remaining a in the corresponding color resource block n The pixels with a value less than ρ determine the average representative color value C cen , obtain the characteristic average color value C A , the average representative color value C cen And the color values ​​of all pixels form the color representative data of the feature block, where N A Represents the number of pixels in the block feature pixel set A.

6. The image-based natural resource early warning method according to claim 5, characterized in that: The step of obtaining image data in a historical warning state, performing analysis based on image uniformity comparison, and establishing a warning image comparison resource library includes: Acquire a historical warning image of the target warning area, and perform pixel conversion on the historical warning image based on the RGB color system to form a historical warning color system conversion image; Divide the historical warning color conversion image into blocks according to the color resource block division data to form a historical warning block division image; Determine the warning time of the historical warning block division image, obtain the monitoring comparison standard image with the same warning time in the monitoring comparison standard image data, and perform a difference comparison of pixel difference color values ​​to determine the warning feature color range; The warning feature color range and the warning events corresponding to the historical warning block division image are obtained to form the warning image comparison resource library.

7. The image-based natural resource early warning method according to claim 6, characterized in that: The real-time monitoring data is acquired, and combined with the monitoring comparison standard image data and the early warning image comparison resource library, an early warning analysis based on difference comparison is performed to form early warning analysis result data, including: Acquire real-time monitoring images and perform pixel conversion based on RGB color system to form real-time color system conversion monitoring images; Divide the real-time color conversion monitoring image into blocks according to the color resource block division data to form a real-time block division image; Extracting the monitoring comparison standard image having the same acquisition time point as the real-time block division image from the monitoring comparison standard image data, performing difference comparison analysis, and forming a difference comparison analysis result; When the difference comparison analysis result determines that there is a difference between the real-time block division image and the monitoring comparison standard image, the early warning analysis is performed in combination with the early warning image comparison resource library to form the early warning analysis result data.

8. The image-based natural resource early warning method according to claim 7, characterized in that: The step of extracting the monitoring comparison standard image having the same acquisition time point as the real-time block division image from the monitoring comparison standard image data, performing difference comparison analysis, and forming a difference comparison analysis result includes: Extracting the monitoring comparison standard image at the same time point as the acquisition time point of the real-time block division image from the monitoring comparison standard image data, and determining it as the real-time monitoring comparison standard image; Set the pixel color difference threshold β1, color averaging threshold β2, feature pixel color difference threshold η1, and feature averaging threshold η2, and perform the following difference comparison analysis on different color resource blocks: When the block color representative data of the color resource block in the monitoring comparison standard image is the single block color representative data, then: like It is determined that the corresponding color resource blocks on the real-time block division image have no difference, wherein: The average color value of pixels obtained at the same position corresponding to the real-time block division image; like If the number of pixels whose pixel color difference at the corresponding position in the color resource block exceeds the pixel color difference threshold β1 is less than the difference number threshold S0, it is determined that the corresponding color resource block on the real-time block division image has no difference; like and the number of pixels whose pixel color difference at the corresponding position in the color resource block exceeds the pixel color difference threshold β1 is not less than the difference number threshold S0, then it is determined that there are differences in the corresponding color resource blocks on the real-time block division image, and pixels whose pixel color difference exceeds the pixel color difference threshold β1 are extracted to form a difference pixel set B; When the block color representative data of the color resource block in the monitoring comparison standard image is the characteristic block color representative data, then: If it is determined that the color resource blocks corresponding to the real-time block division image have no difference, any one of the following conditions must be met; otherwise, it is determined that the color resource blocks corresponding to the real-time block division image have differences, and the pixels whose color difference values ​​of the pixels corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image exceed the feature pixel color difference threshold η1 and the pixels whose color difference values ​​of the pixels at other positions exceed the pixel color difference threshold β1 are extracted to form a difference pixel set B: and in, Represents the color average value of all pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image; and The number of pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring comparison standard image and the pixel color value differences of the block feature pixel set A in the monitoring comparison standard image exceeding η1 is less than the adjustment number threshold S1; and The number of pixels on the real-time block division image corresponding to the positions of the pixels in the monitoring comparison standard image that are outside the block feature pixel set A and the number of pixels at the corresponding positions in the monitoring comparison standard image whose color value differences exceed β1 is less than the difference number threshold S0; and The number of pixels on the real-time block division image corresponding to the positions of pixels in the monitoring and comparison standard image that are located outside the block feature pixel set A and the number of pixels at the corresponding positions in the monitoring and comparison standard image whose color value differences exceed β1 is less than the difference quantity threshold S0, and the number of pixels on the real-time block division image corresponding to the pixel positions of the block feature pixel set A in the monitoring and comparison standard image and the number of pixels at the block feature pixel set A in the monitoring and comparison standard image that differ in color value exceed η1 is less than the adjustment quantity threshold S1.

9. The image-based natural resource early warning method according to claim 8, characterized in that: When the difference comparison analysis result determines that there is a difference between the real-time block division image and the monitoring comparison standard image, combining the early warning image comparison resource library, performing early warning analysis to form the early warning analysis result data includes: Extract the warning image according to event type and compare the warning feature color range in the resource library; The quantity ratio R is set, and the color values ​​of the pixels in the difference pixel set B are compared with the warning feature color range: If the pixel color values ​​in the difference pixel set B have a number k of pixels belonging to the warning feature color range that satisfies Then an early warning message is formed, wherein M is the number of all pixels in the difference pixel set B; Otherwise, it will form non-warning information.

10. An image-based natural resource early warning system, using the image-based natural resource early warning method according to any one of claims 1 to 9, characterized in that: include: An image acquisition unit, used for acquiring natural resource image data of a target warning area; A data analysis unit, used to obtain the natural resource image data collected by the image acquisition unit, divide the image data, form monitoring comparison standard image data, which is used to perform analysis based on image uniformity comparison, establish an early warning image comparison resource library, which is used to perform early warning analysis based on difference comparison, and form early warning analysis result data; The warning information output unit is used to obtain the warning analysis result data formed by the data analysis unit and output it for display.