Scene data processing method based on cultivated land protection
Image processing technology is used to preprocess, identify and extract farmland protection scene data, divide protection levels and issue alarm signals, solving the problems of low efficiency and inaccurate data of traditional methods, and achieving refined management and intelligence of farmland protection areas. chemical monitoring.
Patent Information
- Application Number
- CN202410741631.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-11
AI Technical Summary
Traditional farmland protection data processing methods are inefficient and susceptible to interference from human factors, resulting in inaccurate data and delayed analysis results. They are highly complex and prone to data disorder and irreversible errors.
Use image processing-based methods to obtain farmland protection scene data, perform preprocessing, target recognition, feature extraction and regional division, extract crop growth characteristic information, classify protection levels, and send out alarm signals when levels change. Through multi-source image data Fusion and noise removal improve data quality.
It reduces data processing complexity and result delay, improves data accuracy and analysis efficiency, realizes refined management and intelligent monitoring of cultivated land protection areas, and saves resources and costs.
Smart Images

Figure CN118762215A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent farmland protection, and specifically relates to a method for processing farmland protection scenario data. Background Art
[0002] With the acceleration of urbanization, cultivated land resources are facing increasing pressure. In order to effectively protect cultivated land resources and improve the utilization and sustainability of cultivated land, data processing of cultivated land protection scenarios has become particularly important. Traditional cultivated land protection data processing methods often rely on manual inspections and manual records. This method is not only inefficient, but also easily interfered by human factors, resulting in inaccurate data. Therefore, it is of great significance to develop an efficient and accurate method for processing cultivated land protection scenario data.
[0003] In the prior art, the processing of farmland protection scene data often involves evaluation and analysis of all areas covered by the monitoring range. The amount of data involved is huge and the processing process is relatively complicated, which will increase the delay of the analysis results. At the same time, it is difficult to organize the complex data, and data disorder is very likely to occur, and even cause irreversible errors in the analysis results. Based on this, this solution provides a farmland protection scene data processing method for zoning and hierarchical monitoring of farmland to solve the above problems. Summary of the invention
[0004] The purpose of the present invention is to provide a method for processing farmland protection scenario data, which can divide farmland into zones and monitor them in different levels, thereby reducing the complexity of data processing and the delay of output results.
[0005] The technical solution adopted by the present invention is as follows:
[0006] A method for processing data based on farmland protection scenarios, comprising:
[0007] Acquire image data of a farmland protection scene, and pre-process the image data to obtain a first reference image;
[0008] Performing target recognition on the first reference image, extracting key targets from the first reference image according to the target recognition result, and simultaneously locating the distribution position of each key target;
[0009] Extracting features and dividing regions of each of the key targets to obtain a plurality of target regions, and screening and merging the plurality of target regions to obtain a plurality of farmland protection regions;
[0010] Collecting crop growth images in each of the cultivated land protection areas and recording them as second reference images, and extracting crop growth characteristic information from the second reference images, wherein the crop growth characteristic information includes occupied area parameters, height characteristic parameters and color characteristic parameters;
[0011] The crop growth status is output based on the crop growth characteristic information, and the protection level of each cultivated land protection area is divided according to the crop growth status. The divided cultivated land protection areas are monitored in a graded manner, and an alarm signal is synchronously issued when the protection level of the cultivated land protection area changes.
[0012] In a preferred embodiment, the step of obtaining image data of a farmland protection scene and preprocessing the image data to obtain a first reference image includes:
[0013] Acquire multi-source image data in a farmland protection scenario, wherein the multi-source image data includes satellite remote sensing images, drone aerial images, and ground monitoring images;
[0014] Performing fusion processing on the multi-source image data to eliminate information redundancy and duplication between different images to obtain a fused image;
[0015] The fused image data is subjected to noise removal, smoothing filtering and contrast enhancement to enhance the visual effect of the fused image, and the fused image is output as a first reference image.
[0016] In a preferred embodiment, the step of performing target recognition on the first reference image, extracting key targets from the first reference image according to the target recognition result, and synchronously locating the distribution position of each key target specifically includes:
[0017] Obtain demand identification targets in the farmland protection scenario;
[0018] Identify target features consistent with the target to be identified in the first reference image, and mark them as key targets, wherein the key targets include farmland, buildings, and roads;
[0019] A virtual coordinate system is constructed, and the specific distribution positions of each of the key targets in the farmland protection scenario are determined through coordinate conversion and mapping.
[0020] In a preferred embodiment, the step of extracting features and dividing regions of each of the key targets to obtain multiple target regions specifically includes:
[0021] Performing vectorization processing on each of the key targets to obtain a plurality of key feature vectors;
[0022] Obtain a first calculation function, group the adjacent key targets into a group, input the group into the first calculation function, and output the output result as a classification condition parameter;
[0023] Obtaining a first evaluation threshold, and comparing the first evaluation threshold with a classification condition parameter;
[0024] If the classification condition parameter is less than the first evaluation threshold, it indicates that the key targets in the same group are inconsistent and are classified into target areas of different types;
[0025] If the classification condition parameter is greater than or equal to the first evaluation threshold, it indicates that the key targets in the same group are consistent and are clustered into target areas of the same type.
[0026] In a preferred embodiment, the step of screening and merging the plurality of target areas to obtain a plurality of farmland protection areas comprises:
[0027] Calculating the areas of the plurality of target areas to obtain reference condition parameters;
[0028] Obtaining the areas of target areas of different types between adjacent target areas of the same type, and recording them as screening condition parameters;
[0029] Combining the screening condition parameters with the reference condition parameters, and calibrating the calculation results as the combined condition parameters;
[0030] Obtaining a second evaluation threshold, and comparing the second evaluation threshold with a merging condition parameter;
[0031] If the merging condition parameter is greater than the second evaluation threshold, the target areas of different types between adjacent target areas of the same type are recorded as farmland protection areas;
[0032] If the merging condition parameter is less than or equal to the second evaluation threshold, it indicates that the area proportion of different types of target areas between adjacent same type target areas is small, and the different types of target areas and adjacent same type target areas are merged into a farmland protection area.
[0033] In a preferred embodiment, the step of outputting the crop growth status according to the crop growth characteristic information comprises:
[0034] Obtaining all the crop growth characteristic information;
[0035] Obtaining the growth time of crops and standard evaluation indicators corresponding to the growth time;
[0036] Collecting the crop area occupied by the crop growth characteristic information under the cultivated land protection area, which is lower than the standard evaluation index, and recording it as a precondition parameter;
[0037] Obtain a second calculation function, input the precondition parameter into the second calculation function, and mark the output result as an evaluation parameter;
[0038] An evaluation threshold is obtained, and the evaluation threshold is compared with an evaluation parameter, and when the evaluation parameter is greater than the evaluation threshold, the growth state of the crop is recorded as an abnormal state, otherwise, the growth state of the crop is recorded as a normal state.
[0039] In a preferred embodiment, the step of dividing each farmland protection area into protection levels according to the crop growth status includes:
[0040] Obtaining the evaluation parameters and evaluation thresholds, performing differential processing, and outputting the differential results as grading condition parameters;
[0041] Acquire a classification interval, wherein a plurality of classification intervals are provided, and each of the classification intervals corresponds to a protection level;
[0042] The classification condition parameter is compared with the classification interval, the classification interval to which the classification parameter belongs is output, and then the protection level of the cultivated land protection area corresponding to the classification condition parameter is matched.
[0043] In a preferred embodiment, the step of performing hierarchical monitoring on the divided farmland protection areas comprises:
[0044] Obtain each divided farmland protection area and its corresponding protection level;
[0045] Constructing a monitoring period, and setting sampling nodes according to the protection level of the cultivated land protection area, wherein the higher the protection level of the cultivated land protection area, the shorter the time length between the corresponding adjacent sampling nodes;
[0046] According to the sampling nodes under each of the cultivated land protection areas, regular image acquisition is carried out to obtain multiple monitoring images, and the protection level of the cultivated land protection area is re-divided according to the monitoring images, and an alarm signal is issued when the protection level of the corresponding cultivated land protection area changes continuously.
[0047] The present invention also provides a system for processing data based on farmland protection scenarios, which is applied to the above-mentioned method for processing data based on farmland protection scenarios, and comprises:
[0048] An image acquisition module, wherein the image acquisition module is used to acquire image data of a farmland protection scene, and pre-process the image data to obtain a first reference image;
[0049] A target recognition module, the target recognition module is used to perform target recognition on the first reference image, extract key targets from the first reference image according to the target recognition result, and simultaneously locate the distribution position of each key target;
[0050] A region division module, the region division module is used to extract features and divide regions for each of the key targets to obtain multiple target regions, and to screen and merge the multiple target regions to obtain multiple farmland protection regions;
[0051] A feature extraction module, the feature extraction module is used to collect crop growth images in each of the cultivated land protection areas, record them as second reference images, and extract crop growth feature information from the second reference images, wherein the crop growth feature information includes an occupied area parameter, a height feature parameter, and a color feature parameter;
[0052] A hierarchical monitoring module is used to output the crop growth status according to the crop growth characteristic information, and to divide each cultivated land protection area into protection levels according to the crop growth status, and to perform hierarchical monitoring on the divided cultivated land protection areas, and to synchronously send out an alarm signal when the protection level of the cultivated land protection area changes.
[0053] And, an electronic device, the electronic device comprising:
[0054] at least one processor;
[0055] and a memory communicatively coupled to the at least one processor;
[0056] Among them, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned method for processing data based on farmland protection scenarios.
[0057] The technical effects achieved by the present invention are:
[0058] The present invention can divide the cultivated land into multiple cultivated land protection areas through the recognition and feature extraction of cultivated land images, and then can carry out separate monitoring and separate collection of cultivated land scene data, effectively reducing the complexity of collecting data. In addition, the protection level of each cultivated land protection area is carefully divided to adjust the data collection frequency of different cultivated land protection areas, and after the protection level of the cultivated land protection area changes, the protection and management of the cultivated land protection area is strengthened, or the monitoring frequency is appropriately reduced to save resources and costs, thereby realizing the refined management and intelligent monitoring of the cultivated land protection area. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a flow chart of the method of the present invention;
[0060] Figure 2 It is a system module diagram of the present invention;
[0061] Figure 3 It is a structural diagram of an electronic device of the present invention. DETAILED DESCRIPTION
[0062] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0063] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0064] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present invention. The phrase "in a preferred embodiment" that appears in different places in this specification does not refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.
[0065] See also Figure 1 As shown, the present invention provides a method for processing data based on farmland protection scenarios, comprising:
[0066] S1. Acquire image data of a farmland protection scene, and pre-process the image data to obtain a first reference image;
[0067] S2, performing target recognition on the first reference image, extracting key targets from the first reference image according to the target recognition result, and synchronously locating the distribution position of each key target;
[0068] S3, extracting features and dividing regions for each key target to obtain multiple target regions, and screening and merging the multiple target regions to obtain multiple cultivated land protection regions;
[0069] S4, collecting crop growth images in each cultivated land protection area and recording them as second reference images, and extracting crop growth characteristic information from the second reference images, wherein the crop growth characteristic information includes occupied area parameters, height characteristic parameters and color characteristic parameters;
[0070] S5. Output the crop growth status based on the crop growth characteristic information, and divide the protection level of each cultivated land protection area according to the crop growth status, and conduct hierarchical monitoring on the divided cultivated land protection areas, and synchronously send out an alarm signal when the protection level of the cultivated land protection area changes.
[0071] As described in the above steps S1-S5, farmland protection is an important measure to ensure food security and sustainable agricultural development. It is very necessary to pay attention to the ecological and environmental protection of farmland and realize the sustainable use of farmland resources. In this embodiment, image data in the farmland protection scene are first collected. These image data may come from various methods such as satellite remote sensing, drone aerial photography or ground observation. After obtaining the image data, they are preprocessed to eliminate noise, enhance image quality and unify the format, so as to obtain a clear and standardized first reference image. Then, the first reference image is subjected to target recognition, and key targets such as farmland, buildings and roads are extracted from the first reference image. At the same time, the distribution position of each key target is synchronously located to provide basic data for subsequent regional division and monitoring. On the basis of target recognition, each key target is further subjected to feature extraction and regional division, so that multiple target areas can be preliminarily determined. In order to more accurately reflect the actual situation of the farmland, multiple target areas need to be screened and merged, and finally multiple farmland protection areas are obtained. Domain, that is, the cultivated land area under different application (planting) scenarios, and then collect the crop growth image under each cultivated land protection area and record it as the second reference image. The second reference image is used to reflect the growth status, density and distribution of crops. The growth characteristic information of crops is extracted from the second reference image, including occupied area parameters, height characteristic parameters and color characteristic parameters, etc., to provide pre-data support for understanding and evaluating the growth status of crops. After the growth status of crops is determined, the protection level of each cultivated land protection area will be divided according to the growth status of crops. The protection level is mainly determined according to the ecological situation of crops in the cultivated land. Finally, the divided cultivated land protection areas are monitored in a graded manner. For cultivated land with a higher protection level, the monitoring frequency and accuracy are strengthened to timely discover and respond to potential risks. At the same time, when the protection level of the cultivated land protection area changes, an alarm signal will be issued synchronously, so that management personnel can discover the growth changes of crops in the cultivated land protection area in the first time, thereby improving the efficiency and quality of cultivated land protection work.
[0072] In a preferred embodiment, the step of acquiring image data of a farmland protection scene and preprocessing the image data to obtain a first reference image includes:
[0073] S101, acquiring multi-source image data in a farmland protection scenario, where the multi-source image data includes satellite remote sensing images, drone aerial images, and ground monitoring images;
[0074] S102, fusing multi-source image data to eliminate information redundancy and duplication between different images to obtain a fused image;
[0075] S103: performing noise removal, smoothing filtering and contrast enhancement on the fused image data to enhance the visual effect of the fused image, and outputting the fused image as a first reference image.
[0076] As described in the above steps S101-S103, in the process of obtaining image data of the cultivated land protection scene, it is necessary to collect data from multiple angles and channels to ensure the comprehensiveness and accuracy of the data, which mainly includes obtaining multi-source image data such as satellite remote sensing images, drone aerial images and ground monitoring images. Through satellite remote sensing technology, I can obtain high-resolution cultivated land distribution, crop growth and land use status and other information. Through drone aerial photography, I can obtain more detailed and accurate cultivated land protection scene information, including cultivated land utilization status, topographic and geomorphic characteristics and ecological environment status. Through ground monitoring equipment, I can obtain ground information such as cultivated land soil quality, crop growth status and pest and disease status in real time, providing more accurate data support for cultivated land protection. After obtaining multi-source image data, further image fusion processing is required to eliminate information redundancy and duplication between different images to improve the reliability and accuracy of the data. After that, the fused image data is subjected to noise removal, smoothing filtering and contrast enhancement processing to further improve the visual effect and clarity of the image, making it easier to perform subsequent analysis, and finally output as the first reference image to provide corresponding data support for subsequent analysis.
[0077] In a preferred embodiment, the steps of performing target recognition on the first reference image, extracting key targets from the first reference image according to the target recognition result, and synchronously locating the distribution position of each key target specifically include:
[0078] S201, obtaining demand identification targets in the farmland protection scenario;
[0079] S202, identifying target features consistent with the target to be identified in the first reference image, and marking them as key targets, wherein the key targets include farmland, buildings, and roads;
[0080] S203, construct a virtual coordinate system, and determine the specific distribution positions of various key targets in the farmland protection scenario through coordinate conversion and mapping.
[0081] As described in the above steps S201-S203, after the first reference image is output, the target to be identified in the farmland protection scenario is first obtained. These target to be identified usually include but are not limited to farmland, buildings and roads, etc. Then, the first reference image is identified based on the target to be identified. Specifically, automatic identification can be performed through common machine learning and other methods, so that the identification result is determined as the key target. After the key target is determined, a virtual coordinate system is constructed, and the specific distribution position of each key target in the farmland protection scenario is determined through coordinate transformation and mapping, so as to provide precondition support for the subsequent division of farmland protection areas.
[0082] In a preferred embodiment, the steps of extracting features and dividing regions of each key target to obtain multiple target regions specifically include:
[0083] S301, performing vectorization processing on each key target to obtain multiple key feature vectors;
[0084] S302, obtaining a first calculation function, grouping adjacent key targets into a group, and then inputting the group into the first calculation function, and outputting the output result as a classification condition parameter;
[0085] S303, obtaining a first evaluation threshold, and comparing the first evaluation threshold with a classification condition parameter;
[0086] If the classification condition parameter is less than the first evaluation threshold, it indicates that the key targets in the same group are inconsistent and are classified into different types of target areas;
[0087] If the classification condition parameter is greater than or equal to the first evaluation threshold, it indicates that the key targets in the same group are consistent and are clustered into target areas of the same type.
[0088] As described in the above steps S301-S303, after the key targets are output, each key target needs to be vectorized. Vectorization is the process of converting data into vector form, so as to facilitate quantitative analysis of the data in the farmland scenario. Then, the first measurement function is obtained, and the adjacent key feature vectors are combined and input into the first measurement function, wherein the expression of the first measurement function is: In the formula, S represents the classification condition parameter, n represents the number of key feature vectors, and a i and b iThe key feature vector representing the key target of the necklace, and then the first evaluation threshold needs to be obtained. The first evaluation threshold is used to compare with the classification condition parameter to determine whether adjacent key targets belong to the same type of target area. In practical applications, the setting of the evaluation threshold often needs to be determined based on experience, experimental results or domain knowledge. This article does not impose too many restrictions. If the classification condition parameter is less than the first evaluation threshold, it indicates that the key targets in the same group are inconsistent and are classified into different types of target areas. This means that these key targets show large differences and belong to different categories. If the classification condition parameter is greater than or equal to the first evaluation threshold, it indicates that the key targets in the same group are consistent and are clustered into the same type of target areas.
[0089] In a preferred embodiment, the step of screening and merging multiple target areas to obtain multiple farmland protection areas includes:
[0090] S304, calculating the areas of multiple target areas to obtain reference condition parameters;
[0091] S305, obtaining the areas of target areas of different types between adjacent target areas of the same type, and recording them as screening condition parameters;
[0092] S306, combining the screening condition parameters with the reference condition parameters, and calibrating the calculation results as the combined condition parameters;
[0093] S307, obtaining a second evaluation threshold, and comparing the second evaluation threshold with the merging condition parameter;
[0094] If the merging condition parameter is greater than the second evaluation threshold, the different types of target areas between adjacent target areas of the same type are recorded as farmland protection areas;
[0095] If the merging condition parameter is less than or equal to the second evaluation threshold, it indicates that the area proportion of different types of target areas between adjacent same type target areas is small, and the different types of target areas and adjacent same type target areas are merged into a farmland protection area.
[0096] As described in the above steps S304-S307, after the target area is determined, the area calculation of the target area is also performed synchronously to obtain the reference condition parameters. Specifically, it is necessary to clarify the edge curves of each target area and the coordinates of each bending point of the edge curve, and then call the corresponding area calculation formula to calculate the reference condition parameters. The area calculation formula is: In the formula, R represents the reference condition parameter, m represents the number of bending points, and x j Indicates the horizontal coordinate of the bending point, y i+1 and i-1Both represent the ordinate of the inflection point. Next, it is necessary to obtain the area of different types of target areas between adjacent target areas of the same type and record it as the screening condition parameter. After obtaining the benchmark condition parameter and the screening condition parameter, they need to be combined to obtain the merged condition parameter (merged condition parameter = screening condition parameter ÷ benchmark condition parameter). Then, the second evaluation threshold is obtained and compared with the merged condition parameter. The second evaluation threshold is a value set according to actual conditions, which is used to determine whether different types of target areas between adjacent target areas of the same type should be included in the same type of target areas. If the merged condition parameter is greater than the second evaluation threshold, it means that the area of these different types of target areas accounts for a large proportion, so they should be recorded as separate cultivated land protection areas. On the contrary, if the merged condition parameter is less than or equal to the second evaluation threshold, it means that the area of these different types of target areas accounts for a small proportion, and the impact on the evaluation process of cultivated land is small. Therefore, they can be merged with adjacent target areas of the same type into the same cultivated land protection area to reduce the complexity of subsequent cultivated land monitoring and corresponding data analysis.
[0097] In a preferred embodiment, the step of outputting the growth status of crops according to the crop growth characteristic information includes:
[0098] S501, obtaining all crop growth characteristic information;
[0099] S502, obtaining the growth time of the crop and the standard evaluation index corresponding to the growth time;
[0100] S503, collecting information on crop growth characteristics in the cultivated land protection area that is lower than the crop area occupied by the standard evaluation index, and recording it as a precondition parameter;
[0101] S504, obtaining a second calculation function, inputting the precondition parameter into the second calculation function, and marking its output result as an evaluation parameter;
[0102] S505, obtaining an evaluation threshold, and comparing the evaluation threshold with the evaluation parameter, and when the evaluation parameter is greater than the evaluation threshold, recording the crop growth state as an abnormal state, otherwise, recording the crop growth state as a normal state.
[0103] As described in the above steps S501-S505, when outputting the growth status of crops, it is first necessary to fully obtain all the growth characteristic information of crops. In addition, it is also necessary to obtain the growth time of crops and the corresponding standard evaluation indicators. The growth status of crops at different growth times is inconsistent, and the corresponding standard evaluation indicators are also inconsistent. The specific needs need to be determined according to the category of crops. The standard evaluation indicators are derived based on the growth laws of crops and historical data, and are used as reference standards for evaluating the growth status of crops. Then, the crop area occupied by crops with crop growth characteristic information lower than the standard evaluation indicators in the cultivated land protection area is collected and recorded as the precondition parameter , then obtain the second measurement function, and input the precondition parameter into the second measurement function for calculation. The expression of the second measurement function is: evaluation parameter = (precondition parameter ÷ standard evaluation index) × 100%. Then, the growth status of the crops is further judged according to the evaluation parameter. Specifically, the evaluation threshold needs to be obtained, and the evaluation parameter is compared with the evaluation threshold. The evaluation threshold is a preset value used to determine whether the growth status of the crops is abnormal. If the evaluation parameter is greater than the evaluation threshold, it means that the growth status of the crops is abnormal, and there may be problems such as growth stagnation, and targeted intervention in the cultivated land situation is required. Otherwise, it means that the growth status of the crops is normal and no excessive intervention is required.
[0104] In a preferred embodiment, the step of dividing each farmland protection area into protection levels according to the crop growth status includes:
[0105] S506, obtaining evaluation parameters and evaluation thresholds, performing difference processing, and outputting the difference results as grading condition parameters;
[0106] S507, obtaining a classification interval, wherein a plurality of classification intervals are provided, and each classification interval corresponds to a protection level;
[0107] S508: Compare the classification condition parameters with the classification intervals, output the classification interval to which the classification parameters belong, and then match the protection level of the cultivated land protection area corresponding to the classification condition parameters.
[0108] As described in the above steps S506-S508, after the crop growth status is output, it is necessary to divide the protection level of each cultivated land protection area. In this implementation, it is necessary to first obtain the evaluation parameters and the evaluation threshold, and perform difference processing, that is, compare the evaluation parameters with the evaluation threshold, and calculate the difference. These differences will be used as classification condition parameters for subsequent classification processing, and then set the classification interval to reflect the differences between different cultivated land protection areas. Generally speaking, there are multiple classification intervals, each of which corresponds to a different protection level. These protection levels can be set according to actual conditions, for example, they can be set to first-level protection, second-level protection, third-level protection, etc. After setting the classification interval, the classification condition parameters can be compared with the classification interval. This step is a key step. It determines which protection level each cultivated land protection area should be divided into. By comparing the range of the classification condition parameters and the classification interval, the classification interval to which each classification condition parameter belongs can be determined, thereby obtaining the protection level of each cultivated land protection area.
[0109] In a preferred embodiment, the step of performing hierarchical monitoring on the divided cultivated land protection areas includes:
[0110] S509, obtaining each divided farmland protection area and its corresponding protection level;
[0111] S510, constructing a monitoring period, and setting sampling nodes according to the protection level of the cultivated land protection area, wherein the higher the protection level of the cultivated land protection area, the shorter the time length between the corresponding adjacent sampling nodes;
[0112] S511. According to the sampling nodes under each cultivated land protection area, regular image acquisition is carried out to obtain multiple monitoring images, and the protection level of the cultivated land protection area is re-divided according to the monitoring images, and an alarm signal is issued when the protection level of the corresponding cultivated land protection area changes continuously.
[0113] As described in the above steps S509-S511, after the protection level of the cultivated land protection area is determined, the monitoring period is specifically constructed, and the sampling nodes are set according to the protection level of the cultivated land protection area. It should be noted here that the higher the protection level of the cultivated land protection area, the shorter the time length between the corresponding adjacent sampling nodes should be. This is because areas with higher protection levels often require closer attention and monitoring to ensure their safety and stability. After determining the monitoring period and sampling nodes, regular image acquisition can be performed according to the sampling nodes under each cultivated land protection area, so that multiple monitoring images can be obtained. These monitoring images can not only help understand the current status of the cultivated land protection area, but also serve as a basis for subsequent analysis and evaluation. After obtaining the monitoring images, it is necessary to re-divide the protection level of the cultivated land protection area based on these images. If it is found that the protection level of a cultivated land protection area has changed continuously, an alarm signal will be immediately issued. The purpose of issuing the alarm signal is to remind management personnel to pay attention to the cultivated land protection area. For example, if the protection level of a certain area decreases, then it is necessary to strengthen the protection and management of the area to prevent it from further deteriorating. If the protection level of a certain area is improved, then the monitoring frequency can be appropriately reduced to save resources and costs.
[0114] See also Figure 2 A system for processing data based on farmland protection scenarios, applied to the above-mentioned method for processing data based on farmland protection scenarios, comprises:
[0115] An image acquisition module, which is used to acquire image data of a farmland protection scene, and pre-process the image data to obtain a first reference image;
[0116] A target recognition module, the target recognition module is used to perform target recognition on the first reference image, and extract key targets from the first reference image according to the target recognition result, and simultaneously locate the distribution position of each key target;
[0117] The regional division module is used to extract features and divide regions of each key target to obtain multiple target regions, and to screen and merge multiple target regions to obtain multiple farmland protection regions;
[0118] A feature extraction module, the feature extraction module is used to collect crop growth images in each cultivated land protection area, record them as second reference images, and extract crop growth feature information from the second reference images, wherein the crop growth feature information includes occupied area parameters, height feature parameters and color feature parameters;
[0119] The hierarchical monitoring module is used to output the growth status of crops based on the crop growth characteristic information, and to divide the protection level of each cultivated land protection area according to the crop growth status, and to conduct hierarchical monitoring of the divided cultivated land protection areas, and to synchronously send out an alarm signal when the protection level of the cultivated land protection area changes.
[0120] In the above, the image acquisition module, target recognition module, region division module, feature extraction module and hierarchical monitoring module of the present invention, the image acquisition module obtains the image data of the farmland protection scene through a high-resolution camera or other image acquisition equipment, after the image data acquisition is completed, the system will pre-process the image data, including denoising, enhancement and other steps to obtain a first reference image, the target recognition module will perform target recognition on the first reference image, and identify the key targets in the first reference image, such as crops, land, buildings, etc. At the same time, the system will also synchronously locate the distribution position of each key target, and provide basic data for subsequent regional division. After the key target recognition is completed, the regional division module will further perform feature extraction and regional division on each target, and divide it into multiple targets according to the shape, size, color and other features of the target. Area, then the system will screen and merge these target areas, and finally obtain multiple cultivated land protection areas to reflect the distribution and status of cultivated land resources. The feature extraction module will collect and record the crop growth images in each cultivated land protection area to obtain a second reference image. By analyzing the second reference image, the system can extract the growth characteristic information of crops, including occupied area parameters, height characteristic parameters and color characteristic parameters, etc. The hierarchical monitoring module will output the growth status of crops according to the growth characteristic information of crops. According to the different growth states, the system will divide the protection level of each cultivated land protection area, and conduct hierarchical monitoring, and when the protection level of the cultivated land protection area changes, it will promptly issue an alarm signal so as to take corresponding management measures to provide strong guarantees for the protection and sustainable development of cultivated land resources.
[0121] See also Figure 3 , an electronic device, the electronic device comprising:
[0122] at least one processor;
[0123] and a memory communicatively coupled to the at least one processor;
[0124] Among them, the memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the above-mentioned method for processing data based on farmland protection scenarios.
[0125] The electronic device also includes an input and output device connected to the processor, which is used to receive instructions and data input by the user and display the processing results to the user. At the same time, the electronic device also has a network connection function, which can transmit and interact with external devices or cloud services to achieve data sharing and remote management. In addition, the electronic device also adopts an efficient heat dissipation system and a stable power management module to ensure stable performance and reliability during long-term operation.
[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0127] The above is only a preferred embodiment of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention. The structures, devices and operating methods not specifically described and explained in the present invention shall be implemented according to the conventional means in the art unless otherwise specified and limited.
Claims
1. A method for processing data based on farmland protection scenarios, characterized in that: include: Acquire image data of a farmland protection scene, and pre-process the image data to obtain a first reference image; Performing target recognition on the first reference image, extracting key targets from the first reference image according to the target recognition result, and simultaneously locating the distribution position of each key target; Extracting features and dividing regions of each of the key targets to obtain a plurality of target regions, and screening and merging the plurality of target regions to obtain a plurality of farmland protection regions; Collecting crop growth images in each of the cultivated land protection areas and recording them as second reference images, and extracting crop growth characteristic information from the second reference images, wherein the crop growth characteristic information includes occupied area parameters, height characteristic parameters and color characteristic parameters; The crop growth status is output based on the crop growth characteristic information, and the protection level of each cultivated land protection area is divided according to the crop growth status. The divided cultivated land protection areas are monitored in a graded manner, and an alarm signal is synchronously issued when the protection level of the cultivated land protection area changes.
2. The method for processing data based on farmland protection scenarios according to claim 1 is characterized in that: The step of obtaining image data of the farmland protection scene and preprocessing the image data to obtain a first reference image includes: Acquire multi-source image data in a farmland protection scenario, wherein the multi-source image data includes satellite remote sensing images, drone aerial images, and ground monitoring images; Performing fusion processing on the multi-source image data to eliminate information redundancy and duplication between different images to obtain a fused image; The fused image data is subjected to noise removal, smoothing filtering and contrast enhancement to enhance the visual effect of the fused image, and the fused image is output as a first reference image.
3. The method for processing data based on farmland protection scenarios according to claim 1 is characterized in that: The step of performing target recognition on the first reference image, extracting key targets from the first reference image according to the target recognition result, and synchronously locating the distribution position of each key target specifically includes: Obtain demand identification targets in the farmland protection scenario; Identify target features consistent with the target to be identified in the first reference image, and mark them as key targets, wherein the key targets include farmland, buildings, and roads; A virtual coordinate system is constructed, and the specific distribution positions of each of the key targets in the farmland protection scenario are determined through coordinate conversion and mapping.
4. The method for processing data based on farmland protection scenarios according to claim 1 is characterized in that: The step of extracting features and dividing regions of each of the key targets to obtain multiple target regions specifically includes: Performing vectorization processing on each of the key targets to obtain a plurality of key feature vectors; Obtain a first calculation function, group the adjacent key targets into a group, input the group into the first calculation function, and output the output result as a classification condition parameter; Obtaining a first evaluation threshold, and comparing the first evaluation threshold with a classification condition parameter; If the classification condition parameter is less than the first evaluation threshold, it indicates that the key targets in the same group are inconsistent and are classified into target areas of different types; If the classification condition parameter is greater than or equal to the first evaluation threshold, it indicates that the key targets in the same group are consistent and are clustered into target areas of the same type.
5. The method for processing data based on farmland protection scenarios according to claim 1 is characterized in that: The step of screening and merging the plurality of target areas to obtain a plurality of farmland protection areas comprises: Calculating the areas of the plurality of target areas to obtain reference condition parameters; Obtaining the areas of target areas of different types between adjacent target areas of the same type, and recording them as screening condition parameters; Combining the screening condition parameters with the reference condition parameters, and calibrating the calculation results as the combined condition parameters; Obtaining a second evaluation threshold, and comparing the second evaluation threshold with a merging condition parameter; If the merging condition parameter is greater than the second evaluation threshold, the target areas of different types between adjacent target areas of the same type are recorded as farmland protection areas; If the merging condition parameter is less than or equal to the second evaluation threshold, it indicates that the area proportion of different types of target areas between adjacent same type target areas is small, and the different types of target areas and adjacent same type target areas are merged into a farmland protection area.
6. The method for processing data based on farmland protection scenarios according to claim 1, characterized in that: The step of outputting the crop growth status according to the crop growth characteristic information comprises: Obtaining all the crop growth characteristic information; Obtaining the growth time of crops and standard evaluation indicators corresponding to the growth time; Collecting the crop area occupied by the crop growth characteristic information under the cultivated land protection area, which is lower than the standard evaluation index, and recording it as a precondition parameter; Obtain a second calculation function, input the precondition parameter into the second calculation function, and mark the output result as an evaluation parameter; An evaluation threshold is obtained, and the evaluation threshold is compared with an evaluation parameter, and when the evaluation parameter is greater than the evaluation threshold, the growth state of the crop is recorded as an abnormal state, otherwise, the growth state of the crop is recorded as a normal state.
7. The method for processing data based on farmland protection scenarios according to claim 6 is characterized in that: The step of dividing each farmland protection area into protection levels according to the crop growth status comprises: Obtaining the evaluation parameters and evaluation thresholds, performing difference processing, and outputting the difference results as grading condition parameters; Acquire a classification interval, wherein a plurality of classification intervals are provided, and each of the classification intervals corresponds to a protection level; The classification condition parameter is compared with the classification interval, the classification interval to which the classification parameter belongs is output, and then the protection level of the cultivated land protection area corresponding to the classification condition parameter is matched.
8. The method for processing data based on farmland protection scenarios according to claim 1, characterized in that: The step of performing hierarchical monitoring on the divided farmland protection areas comprises: Obtain each divided farmland protection area and its corresponding protection level; Constructing a monitoring period, and setting sampling nodes according to the protection level of the cultivated land protection area, wherein the higher the protection level of the cultivated land protection area, the shorter the time length between the corresponding adjacent sampling nodes; According to the sampling nodes under each of the cultivated land protection areas, regular image acquisition is carried out to obtain multiple monitoring images, and the protection level of the cultivated land protection area is re-divided according to the monitoring images, and an alarm signal is issued when the protection level of the corresponding cultivated land protection area changes continuously.
9. A system for processing data based on farmland protection scenarios, applied to the method for processing data based on farmland protection scenarios according to any one of claims 1 to 8, characterized in that: include: An image acquisition module, wherein the image acquisition module is used to acquire image data of a farmland protection scene, and pre-process the image data to obtain a first reference image; A target recognition module, the target recognition module is used to perform target recognition on the first reference image, extract key targets from the first reference image according to the target recognition result, and simultaneously locate the distribution position of each key target; A region division module, the region division module is used to extract features and divide regions for each of the key targets to obtain multiple target regions, and to screen and merge the multiple target regions to obtain multiple farmland protection regions; A feature extraction module, the feature extraction module is used to collect crop growth images in each of the cultivated land protection areas, record them as second reference images, and extract crop growth feature information from the second reference images, wherein the crop growth feature information includes an occupied area parameter, a height feature parameter, and a color feature parameter; A hierarchical monitoring module is used to output the crop growth status according to the crop growth characteristic information, and to divide each cultivated land protection area into protection levels according to the crop growth status, and to perform hierarchical monitoring on the divided cultivated land protection areas, and to synchronously send out an alarm signal when the protection level of the cultivated land protection area changes.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for processing farmland protection scene data as described in any one of claims 1 to 8.
Citation Information
Cited By
Cultivated land data management system and method based on land governance
CN119323343A
A cultivated land data management system and method based on land management
CN119323343B
Cultivated land quality monitoring method and system
CN121010896A
A method and system for monitoring the quality of cultivated land
CN121010896B
