2.3.1. Information Extraction from UAV Images of the Agriculture Infrastructure
In this study, eCognition software 9 is used to implement the object-oriented classification method of segmentation followed by classification, which overcomes the limitation of traditional remote sensing software to classify images based solely on spectral information and significantly increases the accuracy of the automatic identification of high spatial resolution data. Traditional classification techniques collect typical information in terms of individual pixels. This leads to a situation where the localization is overemphasized while the geometric structure of the surrounding patch as a whole is neglected. On the other hand, artificial intelligence machine learning algorithms provide the advantages of efficiency, autonomous learning, and problem solving, but no single algorithm is capable of handling every problem flawlessly. For instance, large and well-structured databases are essential for machine learning classification methods like Random Forest and Support Vector Machines. In order to find the best method, it is also necessary to repeatedly debug the algorithm’s parameter optimization and variable selection. This is a labor-intensive, highly complex, and time-consuming procedure. Six small-scale UAV images were used in this investigation, but the amount of data used to build the dataset was insufficient to meet all of the desired conditions, making it challenging to build an accurate model. As a result, AI machine learning algorithms are not the best approach for classifying data. Combining the above, the object-oriented supervised classification method of eCognition software is the most appropriate classification method for classifying farmland infrastructure. This method ensures the completeness of each type of infrastructure and the high accuracy of the classification at the same time. The following is the process of categorization.
Segmentation of images. To determine the ideal segmentation scale for the picture segmentation, a bottom-up segmentation method (multiresolution segmentation) was chosen. As an illustration, consider observation sample area E. The graphic illustrates the differences in segmentation effects at various scales (
Figure 3). The parameter for the scale is 500, and the differences in segmentation effects at various scales are given in the picture to verify that the segmentation object is full, coherent, and clear.
Select samples and construct feature sets. Characteristics of the categories that classify the various types of farmland infrastructures are constructed by combining the spectral features of each infrastructure, such as the mean, brightness, standard deviation, etc. The objects that correspond to each infrastructure, as determined by visual interpretation, are chosen as their classification samples, and the nearest neighbor configuration algorithm is applied to configure the nearest neighbor features.
Classification of images. A sample-based supervised classification method is utilized to finish the categorization of farming infrastructure information based on the numerous classification samples that were chosen and the predefined criteria.
Figure 4 displays the results of the classification.
Placing the importance of the four different forms of infrastructure and completeness first when prioritizing the extraction of agricultural fields and farm roads. Regular fields, well-constructed roadways, and trunk canals were all successfully extracted during the extraction operation. After the classification using eCognition software is finished, the extraction results need to be further corrected by visual interpretation to ensure the accuracy of the infrastructure classification results, because some of the drainage ditches, branch canals, and forest belts are interspersed with weeds. The results from the visual interpretation method were quite accurate for small sample sizes. Arcgis 10.7 software was used to calculate the area (m2) and length (m) of each classified object using the Calculate Geometry function. The Field Calcultor function was then used to further calculate quantitative indexes like regularity, density, and ratios.
2.3.2. Establishment of Indexes and Systems for Evaluating Farmland Infrastructure
The infrastructure for farmland is the infrastructure that supports agriculture and is a crucial component in the creation of high-quality farmland. The development of agricultural land’s soil conditions, agricultural ecological environmental protection, and the construction of field roads are just a few of the numerous components of building an infrastructure for farmland [
25]. This study establishes an index system for the evaluation of a multilevel farmland infrastructure with a target layer, criterion layer, and index layer in conjunction with the real situation in Kenli District. The level of farming infrastructure is the target layer. The criteria layer includes farmland fields, farmland roads, farmland ditches, and farmland forest networks. Under each criterion layer, 2–3 impact indexes are chosen in accordance with the principles of difference, feasibility, and effectiveness. The four categories of infrastructure and the significance of each indicator are defined in the following sections.
Farmland fields: farmland field is a basic agricultural unit surrounded by fixed trenches, canals, roads, and ridges at the end of the field. The regularity of fields, average size of fields, and the agricultural plot’s slope are the major indexes of farmland. The following are explanations for the three indexes.
a. Regularity of fields: The regularity of fields is a statistic used to quantify the complexity of field geometry, which has an immediate impact on the condition used for the farming of agricultural machinery facilities. The more regular the field, the easier it is to operate agricultural machinery. Using machinery to farm can reduce labor costs and increase productivity. The shape index of landscape ecology, which indicates the regularity of fields, represents the level of regularity of the farmland shape. The simplest shape, measured by the shape index, is a square, which spans from 1.0 to 2.0. When the area is equal, the plot’s shape becomes more complex the higher the value [
26]. The calculation model of field regularity is
In Equation (1), R1 represents the regularity of fields, P represents the field’s perimeter (m), and A1 represents the field’s area (m2).
b. Average size of fields: The most fundamental spatial attribute of agriculture is the average size of fields. Farmland is more conducive to farmers’ farming activities and intensive production; the larger the average size of fields within a given scale, the smaller the fragmentation of farmland, and the higher the degree of concentration, which, to some extent, diminishes farming costs and boosts the agricultural efficiency of agricultural production [
27].
In Equation (2), Sa represents the average size of fields, S represents the total area of agricultural land (m2), and N represents the number of plots of agricultural land.
c. The agricultural plot’s slope: The slope of a surface unit determines how steep it is, and a slope is typically defined as the slope’s ratio of vertical height to horizontal distance. The values of the slope of the observed plots were estimated by utilizing the statistical tools for spatial analysis after the values of the slopes of the cloud platform for geospatial data “
http://www.gscloud.cn/search (accessed on 10 August 2022)” were processed to acquire the DEM of the study region.
Farmland roads: Farmland roads are the final layer of the network of farm roads, and they are facilities for connecting fields and roadways used for production operations, such as the movement of agricultural products, farm workers, and farm machinery. The density of roads and the ratio of the perimeter of roads to the perimeter of fields are the major indexes for farmland roads. The following are explanations for the two indexes.
d. Density of roads: The distribution of farmland roads, which are further separated into field roads and production roads, is referred to as the density of roads. More roads are distributed, and agriculture movement is more convenient as the density of a population increases.
In Equation (3), D1 represents the density of roads, L1 represents the total length of roads in the evaluation unit (m), and S1 represents the total area of fields in the evaluation unit (m2).
e. The ratio of the perimeter of roads to the perimeter of fields: It is the ratio of the total length of the roads and the field’s perimeter. The road that encircles the field is better when the ratio is higher, which also reflects better traffic conditions for the field.
In Equation (4), P represents the ratio of the perimeter of roads to the perimeter of fields, L1 represents the total length of road in the evaluation unit (m), and L2 represents the total length of the field perimeter in the evaluation unit (m).
Farmland ditches: Farmland ditches refer to field irrigation channels, field drains, and drainage pipes, which are used to divert water to irrigate farmland or discharge rainwater and wastewater and shoulder the role of field water transport and drainage. The density of ditches and the ratio of the perimeter of ditches to the perimeter of fields are the two most important indexes of farmland ditches. The following are explanations for the two indexes.
f. Density of ditches: Describe the general distribution of ditches. The more ditches there are overall and coverage of basic distributions of irrigation and drainage is higher, the better the area’s ability to irrigate and drain itself. It meets the basic water needs and drainage requirements.
In Equation (5), D2 represents the density of a ditch, L3 represents the total length of ditches in the evaluation unit (m), and S1 represents the total area of fields in the evaluation unit (m2).
g. The ratio of the perimeter of ditches to the perimeter of fields: The larger the value, the better the capacity for irrigation and drainage, the higher the efficiency of irrigation and drainage of ditches, and the fewer occurrences of missing irrigation or waterlogged fields. This index represents the area of a field irrigated per unit length of ditch.
In Equation (6), R2 represents the ratio of the perimeter of ditches to the perimeter of fields, L3 represents the perimeter of ditches in the evaluation unit (m), and S1 represents the total area of fields in the evaluation unit (m2).
Farmland forestry networks: A farmland forest network is a shelter forest in the form of a narrow forest belt and small grid, which is designed and planted with single or more than two rows of trees or shrubs according to certain spacing, width, structure and direction around the roadside, channel, ridge, and farmland. The density of agricultural networks, completeness of agricultural networks, and the ratio of the area of agricultural forest networks to the area of fields are the indexes of the farmland forest network. The following are explanations for the three indexes.
h. Density of agricultural networks: This term refers to how densely a network of forests is arranged and indicates how well or poorly farmland is protected. The protection will be diminished by a straightforward composition and sparse distribution of forest strips. The density of agricultural networks needs to meet the requirements for effective protection.
In Equation (7), D3 represents the density of agricultural networks, L4 represents the total length of forest networks in the evaluation unit (m), and S1 represents the total area of fields in the evaluation unit (m2).
i. Completeness of agricultural networks: The higher the completeness, the better the protection, as it reveals whether or not the network is absent and the extent of the degree of the protection. A comprehensive, well-maintained, and safe forest serves as a greening force, in addition to providing ecological advantages.
In Equation (8), I represents the completeness of agricultural networks, B represents the length of forest belt (m), and C represents the total length of fractured forest belts (m).
j. The ratio of the area of agricultural forest networks to the area of fields: The size of a unit area of a field protected by a unit length of a forest belt is represented by the area ratio of forest networks to fields. The bigger the ratio, the better the protection, which has a favorable impact on the ecological improvement of farmland.
In Equation (9), A2 represents the ratio of area of agricultural forest networks to area of fields, S2 represents the area of forest network (m2), and S1 represents the total area of field plots (m2).
2.3.4. Infrastructure and Grading Scales for Farmlands
The three classification criteria listed in
Table 3 were developed based on reflection after looking through the pertinent data and incorporating findings from related studies. The usage of variables with already established criteria was chosen, such as the regularity of fields and the agricultural plot’s slope. However, no unique standard was found for the density, perimeter ratio, or area ratio; therefore, we used the total indicator data of the six study sample areas as the foundation, dividing it into three grades of varying degrees, each with its own quantitative standard. This was done by taking into consideration the relevance of the high and low values of each indicator of farming infrastructure. Various levels signify various levels of infrastructure support for agricultural land, as well as various functional strengths of infrastructure. Grade 1 denotes a strong service function, Grade 2 denotes an average service function, and Grade 3 denotes a weak service function, and the criteria and scores corresponding to each level are shown in
Table 3 below.
- 2.
Calculating the score for the evaluation unit and classifying the evaluation levels
Adopt the index and procedure to determine the overall rating of each unit index. The index system calculates the index score and comprehensive score of each evaluation index in the assessment unit based on the weight and score assigned to each index [
24]. The following equation is used to determine the comprehensive score:
In Equation (10), E represents the composite score of cell i, Ak represents the weight of the kth factor, i represents the cell number, k represents factor number, m represents the number of factors, and Bik represents the index score of the kth factor in the ith evaluation unit.
The weighted total score of each area is determined using the weighted scoring method, taking into account the weights assigned to each indication in the index system, the actual scores for each unit index, and the number of units in the sample area. The following is the calculating formula:
In Equation (11), F represents the weighted average score of the sample area, Pi represents the score of the ith index, Wi represents the weight of the ith index of the table, N represents the number of evaluation indexes, and M represents the number of sample area cells.
The level of farmland infrastructure is broken down into three grades—excellent, good, and poor—according to the complete score of each unit, with excellent scoring 60–100, good scoring 30–60, and poor scoring 0–30. The definitions of the three levels are summarized below.
Excellent grade: The farmland infrastructure is very complete; the fields are flat, regular and concentrated; the roads are in good condition and easily accessible; the irrigation canals and drainage ditches are in good condition: neatly repaired, clearly visible, and free of weeds; and the forest belts are neatly arranged, with moderate density and no breaks.
Good grade: The farmland infrastructure is relatively complete; the fields are regular and slightly undulating; the roads are clear and able to meet transportation needs; the irrigation canals and drainage ditches are relatively complete, but there are weeds growing in them; and the forest belts are slightly broken, but the overall arrangement is in order.
Poor grade: The farmland infrastructure is incomplete, with roads, weeds, and wasteland in the fields, arranged in a haphazard manner; roads are visibly broken or missing, making them inconvenient for transportation; ditches are incomplete, visibly broken, or with weeds growing in them; and forest belts are arranged in an unorganized manner, missing or without forest belts.