Forest stand structure recognition method and system based on unmanned aerial vehicle image

By using UAV multi-view image recognition technology, the correspondence between the crown and the core was established and multi-edge segmentation was performed, which solved the problem of accuracy in identifying the crown structure in high-density forest stands and achieved more stable calculation of structural parameters.

CN123161107APending Publication Date: 2026-11-24ZHEJIANG FORESTRY SURVEY PLANNING & DESIGN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611329959.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In high-density forest stands, existing technologies struggle to reliably identify the structure of adjacent tree canopies, leading to statistical biases in the number of individual trees, tree density, average canopy width, and canopy closure.

Method used

By acquiring multi-view image sets from UAVs, the correspondence between crown and core is established. Multi-cut edge segmentation is performed using inverse mutual verification quantities and cyclic consistency constraints to determine the crown boundary and structural parameters of individual trees.

Benefits of technology

It improves the accuracy and consistency of high-canopy forest structure identification, reduces the impact of cross-view mismerging and duplicate registration, and enhances the verifiability of the results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161107A_ABST
    Figure CN123161107A_ABST
Patent Text Reader

Abstract

This invention relates to the field of forestry image recognition technology, and discloses a method and system for forest stand structure recognition based on UAV images. The method acquires a top-view image of the target plot and two sets of mutually perpendicular opposing tilted images, generating a crown response map, candidate crown masks, a view distance map, and crown core coordinates. It determines the planar depth of view, depth order, overlap weight, and boundary attribution difference of intersecting crown core pairs, forming a reverse cross-verification quantity. Based on the reverse cross-verification quantity, it performs cyclically consistent minimum-cost multi-cutting, constrains the assignment of candidate crown mask labels, back-projects and fuses the view crown margins to obtain the individual tree crown boundaries and number of individual trees, thereby determining the tree density, average crown width, and canopy closure. This invention utilizes the synergistic changes in the crown core distance order and local attribution of shared boundaries under opposing observations to distinguish adjacent crowns, and reduces erroneous merging and duplicate registrations through globally consistent grouping, improving the consistency of forest stand structure statistics under high canopy closure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of forestry image recognition technology, specifically to a method and system for forest stand structure recognition based on UAV images. Background Technology

[0002] UAV visible light imaging can acquire continuous images of forest canopy in a short time. Existing forest structure identification methods typically perform local extremum extraction, edge detection, watershed segmentation, superpixel segmentation, or learned instance segmentation on orthophotos, digital surface models, or oblique images, and then calculate the number of individual trees, canopy width, and canopy coverage based on the canopy region. Some methods also perform position matching or contour merging on detection results from different perspectives, often using similar projection positions, overlapping contours, or similar local textures as criteria for identifying the same individual tree, in order to increase the visible information of the canopy and reduce omissions caused by a single perspective.

[0003] In high-density forest stands, adjacent canopies frequently touch, overlap, and shade each other, and the color, texture, and scale of canopies of the same tree species may be similar. The visible canopy segments of the same canopy will change from different viewpoints, and the true boundary may be obscured in one view but revealed in another. Merging trees based solely on local features in a single view or similar appearance across views can easily lead to the registration of adjacent trees as the same tree, or the duplicate registration of separate canopies of the same tree. This results in consistent statistical biases in the number of trees, tree density, average canopy width, and canopy closure, making it difficult to reliably identify the structure of adjacent canopies in high-density forest stands. Summary of the Invention

[0004] This invention provides a method and system for forest stand structure recognition based on UAV images, in order to solve the technical problem of structural statistical bias caused by cross-view identity confusion of adjacent tree canopies in high-density forest stands.

[0005] In a first aspect, the present invention provides a forest stand structure identification method based on UAV images, comprising the following steps: Acquire multi-view image sets of the target sample plot by UAV along a set of top-down flight paths and two sets of mutually perpendicular opposing tilt flight paths, determine the camera matrix and sample plot area, generate crown response map, candidate crown mask and view distance map, match crown top image points across views and determine crown core coordinates; For crown-core pairs where candidate crown masks intersect, the planar depth of view and depth order are determined based on the camera matrix and crown-core coordinates, and the overlapping pixel set and overlap weight are determined based on the candidate crown masks. The mutual boundary pixel set and boundary attribution difference are determined based on the overlapping pixel set, candidate crown mask and view distance map. The consistency ratio of depth order and boundary attribution difference and the inversion ratio of depth order between views are determined based on the overlap weight. The inversion mutual verification quantity is determined by the product of the two. Using the crown core as the graph node and the crown core pair as the graph edge, construct the multi-cut edge cost based on the inversion mutual verification quantity, perform minimum cost multi-cut under the cycle consistency constraint, determine the crown core grouping and segmentation indicator, use the segmentation indicator to constrain the label assignment of the candidate crown mask, back-project and fuse the crown edge of the view to obtain the crown boundary of a single tree and the number of single trees; The density of trees, average crown width, and canopy closure are determined based on the crown boundary of individual trees, the number of individual trees, and the area of ​​the sample plot.

[0006] The forest stand structure identification method based on UAV images provided by this invention establishes the correspondence between the same crown core in top-down and opposing oblique views through directional multi-view acquisition. It combines the planar proximity order of the crown cores with the view distances on both sides of the shared boundary to form a reverse cross-verification quantity, providing a basis for separating adjacent canopies even when they appear similar and are partially occluded. The reverse cross-verification quantity is converted into a multi-cut edge cost and a cyclic consistency constraint is applied, ensuring that pairwise judgments of crown core pairs form contradictory groupings. Furthermore, a segmentation indicator is used to constrain seed map cuts, and the crown margins supported by opposing views are used to form individual tree canopy boundaries, ensuring that crown core grouping, pixel labels, and geographic planar boundaries adopt a consistent individual tree correspondence. This reduces the transmission impact of cross-view erroneous merging and duplicate registrations on the number of individual trees, tree density, average crown width, and canopy closure, improving the consistency and verifiability of high-canopy-closure forest stand structure results.

[0007] Secondly, the present invention provides a forest stand structure recognition system based on UAV images, comprising: The crown core coordinate determination module is used to acquire a multi-view image set of the target sample plot collected by the UAV along a set of top-view flight paths and two sets of mutually perpendicular opposing tilt flight paths, determine the camera matrix and sample plot area, generate crown response map, candidate crown mask and view distance map, match crown top image points across views and determine crown core coordinates; The depth overlap weight calculation module is used to determine the planar depth of view and depth order for the crown-core pairs that intersect the candidate crown masks, based on the camera matrix and crown-core coordinates, and to determine the overlapping pixel set and overlap weight based on the candidate crown masks. The reverse mutual verification quantity calculation module is used to determine the mutual boundary pixel set and boundary attribution difference based on the overlapping pixel set, candidate crown mask and view distance map, determine the consistency ratio of depth order and boundary attribution difference and the reversal ratio of depth order between views based on the overlap weight, and determine the reverse mutual verification quantity by multiplying the two. The single-tree crown segmentation and counting module is used to construct multi-cut edge costs based on the inverted mutual verification quantity, with the crown core as the graph node and the crown core pair as the graph edge. Under the cyclic consistency constraint, the minimum cost multi-cut is performed to determine the crown core grouping and segmentation indicator quantity. The segmentation indicator quantity is used to constrain the label assignment of the candidate crown mask. The view crown edge is back-projected and fused to obtain the single-tree crown boundary and the number of single trees. The stand factor calculation module is used to determine the tree density, average crown width, and canopy closure based on the crown boundary of individual trees, the number of individual trees, and the area of ​​the sample plot.

[0008] Thirdly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the forest stand structure recognition method based on UAV images described in the first aspect. Attached Figure Description

[0009] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0010] Figure 1 This is a flowchart of the forest stand structure recognition method based on UAV images of the present invention; Figure 2 This is a flowchart of the process for determining the reverse mutual verification quantity of the present invention; Figure 3 This is a schematic diagram illustrating the mutual verification relationship of adjacent tree crown reversal under opposing observation according to the present invention. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0012] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0013] like Figure 1 As shown, the forest stand structure recognition method based on UAV images includes: Step S1: Acquire a multi-view image set of the target sample plot by the UAV along a set of top-down flight paths and two sets of mutually perpendicular opposing tilt flight paths, determine the camera matrix and sample plot area, generate crown response map, candidate crown mask and view distance map, match crown top image points across views and determine crown core coordinates; Step S2: For the crown-core pairs that intersect the candidate crown masks, determine the planar depth of view and depth order based on the camera matrix and crown-core coordinates, and determine the overlapping pixel set and overlap weight based on the candidate crown masks; Step S3: Determine the mutual boundary pixel set and boundary attribution difference based on the overlapping pixel set, candidate crown mask and view distance map; determine the consistency ratio of depth order and boundary attribution difference and the inversion ratio of depth order between views based on the overlap weight; and determine the inversion mutual verification amount by multiplying the two. Step S4: Using the crown core as the graph node and the crown core pair as the graph edge, construct the multi-cut edge cost based on the inversion mutual verification quantity, perform minimum cost multi-cut under the cycle consistency constraint, determine the crown core grouping and segmentation indicator, use the segmentation indicator to constrain the label assignment of the candidate crown mask, back-project and fuse the view crown edge to obtain the individual tree crown boundary and the number of individual trees. Step S5: Determine the plant density, average crown width, and canopy closure based on the crown boundary of individual trees, the number of individual trees, and the area of ​​the sample plot.

[0014] In an optional embodiment, step S1 includes the following steps: Step S101: Collect target sample plots along a set of overhead flight paths and two sets of mutually perpendicular opposing inclined flight paths to form a multi-view image set; Specifically, the multi-view image set refers to the collection of images obtained by a UAV equipped with an RGB camera, continuously imaging the target sample plot along the set of overhead flight paths and the two sets of mutually perpendicular opposing tilt flight paths. Each image saves the view number, shooting time, initial camera attitude value, and image size, and is associated with the corresponding flight path group identifier.

[0015] The flight path is organized using two mutually perpendicular directions on the horizontal plane of the target plot. The top-down flight path is used to acquire images with the camera's optical axis pointing towards the horizontal plane of the target plot. Each set of opposing tilt flight paths includes two types of views with opposite horizontal viewing directions, and the main viewing directions of the two sets of opposing tilt flight paths are perpendicular to each other.

[0016] Before flight, short-distance test shots are conducted to ensure that the visible canopy edges of the target plot and boundary trees remain continuously within the camera's field of view in all views, and that the same canopy top in adjacent views has measurable parallax. Preferably, the lateral displacement of the canopy top obtained from the test shots is not less than three times the median of the camera calibration reprojection residual, and each visible canopy top is recorded in at least three images within the same flight path group. The flight altitude, camera tilt, and shooting interval are determined based on the test shot results, avoiding the use of fixed values ​​independent of camera specifications and stand scale.

[0017] Step S102: Perform camera self-calibration and bundle adjustment on the multi-view image set, determine the camera matrix of each view, determine the area of ​​the target plot by the geographical boundary of the plot, filter and renumber the views participating in the calculation, and determine the number of views. The geographic boundary of the target sample plot refers to the closed boundary formed in a unified geographic plane coordinate system, which can be obtained point by point along the boundary inflection points using an RTK positioning device. The camera matrix is ​​a 3x4 matrix that projects spatial points in the target sample plot coordinate system onto the pixel coordinate system for each view. The sample plot area is the area of ​​the closed polygon of the geographic boundary of the target sample plot on the horizontal plane of the target sample plot coordinate system.

[0018] The number of views represents the number of views included in the calculation after validity filtering and renumbering, denoted as . When invalid observations are excluded in subsequent steps due to different calculation objects, the view numbers remain unchanged; the corresponding formulas only form valid summation terms for views or combinations of views that meet the validity conditions of that step. The mapping between the original view numbers and the new view numbers is preserved during renumbering.

[0019] First, cross-view stable features are extracted and initial matching is established within the multi-view image set. Then, camera self-calibration is performed based on the initial camera pose values ​​recorded in the images to obtain the focal length, principal point, and lens distortion parameters. Subsequently, the reprojection error of the corresponding features is used as the residual to perform bundle adjustment on the camera pose and spatial points of all views, resulting in the camera matrix for each view.

[0020] When using RTK positioning equipment to measure the geographic boundary of the target sample plot, positioning points are collected sequentially along the boundary inflection points, and the first and last points are closed. After converting the positioning points to the target sample plot coordinate system, the sample plot area is calculated, so that the camera matrix, core coordinates, and geographic boundary of the target sample plot use the same spatial reference.

[0021] The views participating in the calculation must simultaneously meet the following conditions: the geographic boundary of the target sample plot is projected as a non-empty region in the view; the camera attitude solution converges; the number of cross-view matching observations is more than twice the minimum number of observations required for the attitude solution; the reprojection residual of the view is not higher than the sum of the median of the residuals of all converged views and three times the median absolute deviation; and there is a valid view distance within the candidate canopy mask coverage area. The existence of a valid view distance within the candidate canopy mask coverage area is verified using the corresponding results generated in steps S103 and S105. After verifying all conditions, views that do not meet any of the conditions are removed from the calculation set. The remaining views are numbered consecutively in a fixed order, and the camera matrix, canopy response map, candidate canopy mask, and view distance map synchronously use the new view numbers.

[0022] Step S103: Use the canopy pixel recognizer to process each view, generate a crown response map, extract the local maxima of the crown response map as the crown top image point, and grow from the crown top image point to the first closed crown edge to form a candidate crown mask; The crown response map is a pixel-level response matrix output by the crown pixel recognizer. Matrix elements represent the response degree of the corresponding pixel within the visible crown region. The crown apex image point is the two-dimensional pixel coordinate retained in the crown response map after local maxima extraction and repetition peak suppression. The candidate crown mask is a set of crown pixels grown from the crown apex image point to the first closed crown margin. Adjacent candidate crown masks can intersect in the uncertain region of the crown margin.

[0023] The canopy pixel recognizer employs a convolutional network with four levels of encoding and four levels of decoding. The encoding part extracts texture and contour features level by level, with each level including two 3x3 convolutions, normalization, and non-linear activation. The decoding part upsamples level by level and connects to the encoded features at the same spatial scale. The final part uses a 1x1 convolution and sigmoid activation to output a canopy response map of the same size as the input image.

[0024] The training samples consist of multi-view images and corresponding pixel-level annotations. The annotations denote visible canopy areas as canopy pixels, and sky, ground, gaps between tree trunks, and other non-canopy areas as non-canopy pixels. Occlusion edges are labeled according to the actual visible contours in the image. The training, validation, and test sets are divided according to the target plots to avoid adjacent images from the same target plot being included in different datasets simultaneously. During training, a weighted sum of pixel cross-entropy loss and region overlap loss is used, and learnable parameters are updated through mini-batch gradient updates. Training stops when the validation set loss fails to decrease for 10 consecutive training epochs, and the parameters with the lowest validation set loss are selected. When processing multi-view image sets, all learnable parameters are fixed, and no further online updates are performed.

[0025] Local maxima extraction of the crown response map employs scale-constrained nonmaximum suppression. First, the smallest crown width that can be stably identified in the training samples is converted to pixel scale according to the image ground resolution, and this scale is used as the reference diameter of the local search neighborhood. The response criterion on the validation set selects the value that maximizes the F1 score for crown detection; only the pixel with the highest response within a neighborhood is retained as the crown image point.

[0026] Starting from the crown apex image point, the growth extends to its 8 neighboring pixels in descending order of crown response, while simultaneously calculating the local gradients of the response map and the original image. The gradient determination criterion uses the maximum inter-class variance result of local gray-level grouping. When the growth boundary first forms a closed 8-connected loop, and any path from the crown apex image point to the outside of this loop must pass through it, this loop is identified as the first closed crown margin. If the growth region touches the image edge or other crown apex image points but has not yet formed a closed crown margin, the candidate crown mask corresponding to that crown apex image point is discarded.

[0027] Step S104: Based on epipolar constraints and local texture description, match the crown-top image points of each view to establish cross-view correspondence; Based on the camera matrix, an epipolar search band is established for each crown image point in other views. The width of the search band is the sum of the median of the beam adjustment reprojection residual and three times the median absolute deviation. Scale-normalized local texture descriptions are extracted within the search band. Only crown image points with the best texture match are retained. Preliminary triangulation is then performed using at least two views that are not collinear in the viewing directions, and the spatial points are reprojected onto all candidate views.

[0028] Matches whose reprojection positions do not fall within the corresponding search band or that cause outliers in the robust reprojection residuals are deleted. A cross-view correspondence is established for the verified crown apex image points, using the same crown core identifier; one crown apex image point is assigned only one crown core identifier.

[0029] Step S105: Generate a view distance map with the camera optical center as the starting point through dense multi-view matching; The view distance map is a distance matrix from each valid pixel's corresponding spatial point to the optical center of the current view camera. The distance uses a length unit consistent with the target plot coordinate system.

[0030] Based on the camera matrix of each view, candidate depths are searched along the epipolar line between adjacent views. A matching depth is selected based on local color and texture consistency, and forward and backward consistency checks and occlusion checks are performed. After recovering the spatial point corresponding to the pixel from the matching depth, the Euclidean distance from the spatial point to the optical center of the current view camera is calculated and written into the view distance map corresponding to the original image pixels.

[0031] Pixels with no matching results, non-positive distances, inconsistent forward and backward checks, occlusion by other closer surfaces, or falling outside the range jointly defined by the geographic boundary projection of the target sample plot and the effective camera view frustum are marked as invalid distances. After generating the view distance map, the result is used to complete the verification of whether there are valid view distances within the candidate crown mask coverage area in step S102, and the number and quantity of the final retained views are updated synchronously.

[0032] Step S106: Perform triangulation based on the camera matrix and the matched crown top image points to determine the crown core coordinates; Crown core coordinates represent the three-dimensional position of the crown top image point obtained after triangulation across views, and are used to characterize the spatial position of the same visible crown center in the target plot coordinate system.

[0033] Triangulation is performed using the camera matrix on matched crown apex images under the same crown core identifier, with the goal of minimizing the sum of reprojection errors across all valid views. For a crown core, only views with valid crown apex image observations are included as valid summation terms in the crown core coordinate formula; views that did not observe the crown core or whose corresponding matches have been deleted are not included in the reprojection error summation for that crown core. At least two valid views with non-collinear observation directions are used, preferably three or more valid views to form redundant observations. Crown core coordinates are deleted if the camera lines of sight are approximately parallel, the solution is located behind the camera, the reprojection residual is robustly outlier, the coordinates exceed the imaging margin outside the geographic boundary of the target plot, or the coordinates exceed the effective camera frustum. The unit of crown core coordinates is jointly determined by the camera geometry and the target plot coordinate system.

[0034] Specifically, the formula for calculating the core coordinates is as follows: ; in, Indicates the first The coordinates of the crown core in the target plot coordinate system This represents the three-dimensional coordinate vector to be optimized. Indicates the first A camera matrix for each view. Indicates the first The crown core in the first Crown-top image point in each view; This represents the homogeneous coordinate vector of the three-dimensional coordinate vector to be optimized. This represents the perspective division operator. Represents the square of the Euclidean norm; This indicates selecting the three-dimensional coordinate vector that minimizes the total reprojection error; The definition of the number of views described in step S102 is adopted.

[0035] In an optional embodiment, step S2 includes the following steps: Step S201: For the crown core pairs where candidate crown masks intersect in each view, extract the horizontal observation direction obtained by the horizontal projection of the camera optical axis from the camera matrix and normalize it. The horizontal observation direction is the direction obtained by normalizing the projection of the camera's optical axis onto the horizontal plane of the target plot coordinate system.

[0036] The camera matrix is ​​decomposed into the camera intrinsic parameter matrix, rotation relation, and translation relation. Based on the rotation relation, the camera optical axis pointing from the camera optical center to the imaging scene is obtained. Taking the vertical axis of the target plot coordinate system as the normal, the component of the camera optical axis along the vertical axis is removed, and the remaining horizontal component is normalized to obtain the horizontal observation direction.

[0037] When the length of the horizontal component is not greater than the directional uncertainty given by the beam adjustment, the current view is not involved in the calculation of planar depth of view and depth order. This view can still be retained for crown response maps, candidate crown masks, and view crown edge processing.

[0038] Step S202: Calculate the projection of the crown core coordinates onto the horizontal observation direction as the planar depth of view, and determine the depth order based on the planar depth of view difference of the crown core pair; Planar depth of view represents the projected length of the crown core coordinates along the horizontal viewing direction. Depth order indicates the distance relationship between two crown cores in the same view along the horizontal viewing direction. A positive value indicates that the first crown core is closer to the camera, a negative value indicates that the second crown core is closer to the camera, and a zero value indicates that distance cannot be distinguished under the current positioning uncertainty.

[0039] Obtain the planar depth of view for each crown core pair. If the planar depth of view of the second crown core is greater than that of the first, the depth order is positive. If the planar depth of view of the second crown core is less than that of the first, the depth order is negative. When the absolute value of the difference between the two planar depths of view is not greater than the upper limit of the projection of the crown core coordinate uncertainty along the horizontal viewing direction, the depth order is zero. A zero value does not support a reversal of the near-far order. This notation convention remains consistent across all views.

[0040] In this embodiment, This is the sign determination operator. When the input is greater than the corresponding upper uncertainty limit, a positive value is output; when the input is less than the opposite of the upper uncertainty limit, a negative value is output; when the absolute value of the input is not greater than the upper uncertainty limit, a zero value is output. When used for planar depth difference, the corresponding upper uncertainty limit is the upper projection limit of the crown coordinate uncertainty along the horizontal observation direction; when used for distance difference between two side views, the corresponding upper uncertainty limit is the distance map uncertainty.

[0041] Specifically, the calculation formulas for the planar apparent depth and the depth order are as follows: ; in, Indicates the first The crown core in the first Planar depth of view in each view Indicates the first The crown core in the first Planar depth of view in each view; Indicates from the first The horizontal viewing direction is extracted from the camera matrix of each view; when calculating the planar depth of view, the horizontal viewing direction is indwelled with the crown core coordinates. Indicates the first The crown core and the first The crown core in the first Depth order in each view; Indicates the first Each crown core is closer to the camera along the horizontal viewing direction. Indicates the first Each crown core is closer to the camera along the horizontal observation direction; The aforementioned symbol determination rules shall be adopted; and The meaning is consistent with the aforementioned definition.

[0042] Step S203: Calculate the intersection of the two candidate crown masks as the overlapping pixel set, and determine the overlap weight based on the number of pixels in the overlapping pixel set and the number of pixels in the union of the two candidate crown masks. The overlapping pixel set is the set of pixels shared by the two candidate crown masks in the current view. The overlap weight is the ratio of the number of pixels in the overlapping pixel set to the number of pixels in the union of the two candidate crown masks, used to characterize the degree of aliasing of the candidate crown masks in the current view, and its value ranges from 0 to 1.

[0043] Obtain the overlapping pixel set and overlap weight according to the pixel set relationship of the candidate crown mask.

[0044] Specifically, the formulas for calculating the overlapping pixel set and the overlapping weight are as follows: ; in, Indicates the first The crown core and the first The crown core in the first Overlapping pixel sets in each view; Indicates the first The crown core in the first Candidate crown masks in each view, Indicates the first The crown core in the first Candidate crown masks in each view; Indicates the first The crown core and the first The crown core in the first Overlap weight in each view; This indicates the number of pixels in the overlapping pixel set. This represents the number of pixels in the union of two candidate crown masks.

[0045] Step S204: Retain the crown-core pair where both views in the same opposing view pair have a non-empty overlapping pixel set.

[0046] Call the flight path group identifier and confirm the same opposing view pair by combining it with the calibrated horizontal observation direction. The horizontal observation directions of the two views should be opposite, and the directional deviation should not exceed the directional uncertainty given by the camera attitude calibration. Only when the same crown core pair has a non-empty overlapping pixel set in both views of the opposing view pair is the crown core pair retained and sent to step S3.

[0047] In an optional embodiment, such as Figure 2 As shown, step S3 includes the following steps: Step S301: Select pixels located at the boundary of any candidate crown mask and with effective view distance on both sides of the boundary within the overlapping pixel set of each view to form a mutual boundary pixel set. The mutual boundary pixel set is the set of pixels within the overlapping pixel set that are located on the boundary of any candidate crown mask, and whose exclusive inner sides of both candidate crown masks can obtain an effective view distance.

[0048] The effective view distance is a positive finite distance, and it simultaneously passes the forward and backward consistency check, occlusion check, and target plot spatial extent check of dense multi-view matching. For a boundary pixel, the exclusive interior side of the first candidate crown mask is the pixel region that belongs to the first candidate crown mask but not to the second candidate crown mask, and the exclusive interior side of the second candidate crown mask is determined in the same way.

[0049] Perform Euclidean distance transformation on the effective distance pixels within each of the two exclusive internal regions, and obtain the effective distance pixel with the smallest distance using the mutual boundary pixel as the query position. When multiple equidistant pixels exist, select the first pixel according to a fixed row priority and column priority order to ensure that the same input yields the same result. If no effective distance pixel exists on either exclusive internal side, do not add that boundary pixel to the mutual boundary pixel set.

[0050] Specifically, the calculation formula for the mutual boundary pixel set is as follows: ; in, Indicates the first The crown core and the first The crown core in the first The set of mutual bounded pixels in each view Indicates the boundary pixels; Indicates the first The crown core in the first Candidate crown mask boundaries in each view, Indicates the first The crown core in the first Candidate crown mask boundaries in each view; Indicates the first View distance map of each view; Indicates from pixel Towards The nearest effective distance pixel encountered after the exclusive internal side moves; Indicates from pixel Towards The nearest effective distance pixel encountered after the exclusive internal side moves; This represents the data validity determination operator; This indicates that the distance between the two views is valid; , and The meaning is consistent with the aforementioned definition.

[0051] Step S302: Search for the nearest effective distance pixel to the mutual boundary pixel on the exclusive inner side of the two candidate crown masks respectively, and determine the boundary belonging difference based on the sign of the view distance difference between the two effective distance pixels. Boundary attribution difference is the average of the differences in the views on both sides of the mutual boundary pixels, ranging from -1 to 1. A positive value indicates that the mutual boundary pixels generally support that the crown containing the first crown core is closer to the camera, while a negative value indicates that the mutual boundary pixels generally support that the crown containing the second crown core is closer to the camera.

[0052] Compare the view distances of the two nearest valid distance pixels. If the view distance of the first core-exclusive inner side is less than the view distance of the second core-exclusive inner side, the mutual boundary pixel contributes a positive value to the boundary attribution difference. If the distances are opposite, it contributes a negative value. If the two distances are equal within the distance map uncertainty range, they contribute zero values. The boundary attribution difference is obtained by averaging all contributions within the mutual boundary pixel set. If the mutual boundary pixel set is empty, the boundary attribution difference is not calculated and is not replaced with zero.

[0053] Specifically, the formula for calculating the boundary attribution difference is as follows: ; in, Indicates the first The crown core and the first The crown core in the first Boundary attribution difference in each view; Indicates the first The exclusive internal side view distance of the first crown core is less than that of the second. The exclusive internal side view distance of each crown core Indicates the first The exclusive internal side view distance of the first crown core is less than that of the second. The exclusive internal side view distance of each crown core; Indicates the number of pixels in the mutual boundary pixel set; Indicates the first The view distance corresponding to the nearest effective distance pixel on the exclusive internal side of each crown core. Indicates the first The view distance corresponding to the nearest effective distance pixel on the exclusive internal side of each crown core; , , , , and The meaning is consistent with the aforementioned definition.

[0054] Step S303: Retain the crown-core pair that forms a non-empty mutual boundary pixel set in both views of at least one opposing view pair; Recall the opposing view pair identifiers saved in step S204. Only retain the core-crown pair where at least one opposing view pair exists and both views of the opposing view pair form a non-empty mutual boundary pixel set.

[0055] Step S304: Based on the overlap weight of each view, determine the consistency ratio of depth order and boundary attribution difference and the reversal ratio of depth order between views, and determine the reversal mutual verification quantity by multiplying the two. The consistency ratio of depth order and boundary attribution difference represents the weighted ratio of overlap weights indicating that the overall proximity relationship of the crown core and the local front-to-back attribution of the shared boundary are consistent in each valid view. The inversion ratio of depth order between views represents the weighted ratio of overlap weights indicating that the proximity order of the same crown core is reversed in different view combinations. The inversion mutual verification quantity is the product of the above two ratios, ranging from 0 to 1, and is used to characterize the degree of geometric support of the crown core for mutually separated cross-views.

[0056] When calculating the consistency ratio, only views with non-empty mutual boundary pixel sets and positive overlap weights are considered as valid summation terms in the first fraction to ensure that the corresponding boundary attribution differences have been determined. For valid summation terms, A positive value indicates that the overall proximity relationship is consistent with the local before-after relationship; a negative value indicates that the two are inconsistent; when either is zero, the mapping term... Take a neutral value; do not use it as a deterministic indicator of consistency or inconsistency.

[0057] When calculating the inversion ratio, only view combinations whose constituent views all have positive overlap weights are considered as valid summation terms in the second fraction. When both depth orders are non-zero and have opposite signs, the mapping term is 1, indicating that the view combination forms inversion support; when both depth orders are non-zero and have the same sign, the mapping term is 0, indicating that the view combination does not form inversion support; when either depth order is zero, the mapping term takes a neutral value and is not considered a definite inversion or non-inversion support.

[0058] The two fractions are calculated within their respective valid summation ranges. The opposing view pair retained by step S303 forms a non-empty mutual boundary pixel set in both views, and the corresponding overlapping pixel set is non-empty with a positive overlap weight. Therefore, the weighted denominators of the two fractions both have positive values.

[0059] Specifically, the formula for calculating the reverse mutual verification quantity is as follows: ; in, Indicates the first The crown core and the first The reverse cross-validation quantity of each crown core; Indicates the difference from the first The index of another view of a view; Indicates the first The crown core and the first The crown core in the first Overlap weight in each view Indicates the first The crown core and the first The crown core in the first Depth order in each view; This represents a combination of different views; the first fraction represents a consistent scale, and the second fraction represents a reverse scale. , , and The meaning is consistent with the aforementioned definition.

[0060] An increase in the reverse cross-validation indicates that both observations are strongly supported. The first observation is that the overall proximity relationship of the crown cores within the same view is consistent with the local distance assignment between the two adjacent pixels. The second observation is that the proximity order of the same crown core pair is reversed after the viewing direction is changed. If either observation is insufficient, the product of the two ratios decreases accordingly, and the texture similarity of a single view is not used to replace the geometric cross-validation.

[0061] It should be noted that, as Figure 3 As shown, core coordinates provide the overall proximity relationship of core pairs in the horizontal viewing direction, while the view distance map provides the local front-to-back relationship of visible surfaces on both sides of a shared uncertain boundary. These two types of observations differ in origin and spatial scale. When observing adjacent individual trees in reverse, the proximal core and its crown segments typically exchange along with the viewing direction. Texture cracks or repeating crown segments within the same crown are unlikely to simultaneously satisfy overall order, local attribution, and order reversal in multiple views. Multiplying the consistency ratio by the reversal ratio results in core pairs that satisfy only one of these conditions receiving lower separation support, thereby reducing misgrouping caused by single-view occlusion or local texture similarity.

[0062] In an optional embodiment, step S4 includes the following steps: Step S401: Using the crown core as a graph node and the crown core pair with a non-empty mutual boundary pixel set as graph edges, set a segmentation indicator to represent the same single tree or the trees that are separated from each other. The segmentation indicator is determined by the binary grouping corresponding to the graph edge. A value of 0 indicates that the two crown cores belong to the same single tree, while a value of 1 indicates that the two crown cores are separated from each other.

[0063] Each cross-view core identifier establishes a graph node, and the same core identifier is established only once in all views. Core pairs that have been validated in step S303 and have non-empty mutual boundary pixel sets are used to establish graph edges. The graph edges store the corresponding inversion mutual verification quantity, segmentation indicator quantity, and multi-cut edge cost.

[0064] Step S402: Construct the multi-cut edge cost with the segmentation indicator as the independent variable based on the inverted mutual verification quantity; The multi-cut edge cost represents the cost determined by the inverted cross-verification quantity under two values ​​of the split indicator. As the inverted cross-verification quantity increases, the cost determined by the same single unit increases, while the cost determined by separate units decreases. The multi-cut edge cost is calculated according to the established correspondence between the inverted cross-verification quantity and the split indicator, without setting additional empirical split thresholds.

[0065] Specifically, the calculation formula for the multi-edge cutting cost is as follows: ; in, Indicates the first The crown core and the first The core is in the segmentation indicator. The cost of multiple cut edges under the given value; Indicates the first The crown core and the first The segmentation indicator of each crown core; This indicates that the two crown cores belong to the same single wood. This indicates that the two crown cores are separated from each other; The meaning is consistent with the aforementioned definition.

[0066] Step S403: Minimize the sum of the multi-cut edge costs of all graph edges under the cycle consistency constraint to determine the core grouping and segmentation indicators; Crown core grouping is an equivalent grouping of crown cores obtained by cutting multiple crown cores at the minimum cost. Crown cores within the same group use the same single wood label.

[0067] All segmentation indicators are treated as binary variables, and a cycle consistency constraint is applied to each closed loop. This constraint does not allow a closed loop to have only one graph edge representing separation, while the rest of the graph edges represent the same tree; otherwise, a contradiction would arise where the tree can be identified as the same tree along other graph edges, but is identified as separation along that single graph edge.

[0068] A binary integer optimization approach can be used to solve the problem. First, candidate solutions are obtained based on the edge costs of the current graph. Then, closed loops that violate cycle consistency are searched, and the corresponding constraints are added to the optimization problem and solved again until no closed loops violate the constraints exist. Finally, core groups are formed based on connectivity relationships where the segmentation indicator is 0.

[0069] Step S404: Use the segmentation indicator as a same-label constraint or a different-label constraint, perform seeded graph cut on the crown response map and candidate crown masks, and constrain the label assignment of candidate crown masks so that candidate crown masks corresponding to the same-label constraint use the same label, and overlapping candidate crown masks corresponding to the different-label constraint use different labels. For each view, a pixel map is constructed within the union of all candidate crown masks, with pixels connected according to 8-neighborhoods. The crown apex image point of each crown core group and the high-response region inside the candidate crown mask are used as the seed for that group. The high-response region inside the candidate crown mask refers to the region inside the candidate crown mask that is determined as a crown pixel according to the crown pixel determination rule fixed after training. When processing multi-view image sets, the crown pixel determination rule remains unchanged, and no additional empirical segmentation threshold is set in step S404.

[0070] The crown response map provides the response of a pixel to the crown layer, while the original image gradient provides the boundary strength between adjacent pixels. A larger crown response value for a pixel, and a smaller distance between that pixel and its corresponding seed, results in lower data costs for assigning that pixel to its corresponding group label. A larger original image gradient between adjacent pixels results in lower smoothing costs between those adjacent pixels, allowing the graph cut to separate at the visible crown margin.

[0071] For crown cores with a segmentation indicator value of 0, their seed labels are merged; for crown cores with a segmentation indicator value of 1, different seed labels are set. The hard constraint capacity is set to a value greater than the sum of the costs of all finite data within the pixel map and the smoothing cost, so that same-label constraints and different-label constraints are not changed by the cost of ordinary graph cuts.

[0072] Step S405: Use the view distance map and camera matrix to backproject the crown margin of each view to the target plot coordinate system; For each view crown edge pixel, the pixel position is restored to a unit line of sight in the camera coordinate system using camera intrinsic parameters. The spatial point on that line of sight is determined by the distance in the view distance map, and then the spatial point is transformed to the target plot coordinate system according to camera extrinsic parameters. Crown edge pixels without effective view distances do not participate in backprojection. After the spatial points are projected onto the target plot horizontal plane, they are grouped according to crown core grouping and view number to form an ordered boundary arc.

[0073] Step S406: Retain the boundary arcs jointly supported by the opposing views, merge the non-self-intersecting outer boundaries of each crown core group, and obtain the crown boundary and number of individual trees.

[0074] The boundary arcs in the same opposing view pair are transformed to the same planar coordinate system. The spatial correspondence tolerance is jointly determined by the ground resolution corresponding to the current pixel, the planar error converted from the camera attitude reprojection error, and the planar error of the view distance map, and a value that can cover the upper limit of the three errors is selected. A boundary arc is resampled point by point, and the largest continuous sub-arc that can find a corresponding point within the spatial correspondence tolerance in the opposing view boundary arc is retained as the boundary arc jointly supported by the opposing views.

[0075] The common supporting boundary arcs of the same crown core group are used to form a planar network. Intersecting line segments are segmented at the intersection point. For line segments whose endpoint spacing does not exceed the corresponding spatial tolerance, endpoint merging is performed, and then planar polygonization is performed. The outer closed loop containing all valid crown core projections of the crown core group and having the smallest enclosing area is selected. The loop direction is unified and duplicate edges are deleted to obtain the single-tree crown boundary without self-intersection.

[0076] A single-tree crown boundary is a planar geometric object composed of a non-self-intersecting outer boundary obtained by back-projecting the crown margins of each view onto the target plot coordinate system and filtering them with the support of opposing views, and then merging them on the horizontal plane of the target plot. The non-self-intersecting outer boundary is used in boundary representation and boundary arc fusion, while the closed planar region is used in area, intersection, and union operations. The single-tree number is the number of crown core groups forming valid single-tree crown boundaries within the target plot. Each crown core group with a valid closed outer boundary corresponds to a single-tree label, and the number of single-tree crown boundaries is determined by the single-tree number.

[0077] It should be noted that the inverse mutual verification quantity provides pairwise separation support for crown-core pairs, but independent pairwise judgments may lead to contradictions in ternary or longer loops. Cyclic consistency constraints transform pairwise costs into crown-core groupings that can be simultaneously valid across the entire graph, making the same grouping relationship transitive. The segmentation indicator then acts as a hard constraint with seeded graph cuts, propagating the crown-core level grouping decision to the pixel label. Opposing views jointly support filtering and removing occluded edge fragments that appear only in a single view. This process keeps crown-core groupings, pixel boundaries, and geographic plane crown boundaries consistent, reducing erroneous merging or duplicate registrations caused by local decision conflicts.

[0078] In an optional embodiment, step S5 includes the following steps: Step S501: Determine the tree density based on the ratio of the number of individual trees, the area of ​​the sample plot, and the area conversion quantity; determine the average crown width based on the arithmetic mean of the diameters of equal-area circles corresponding to the planar area of ​​the crown boundary of each individual tree. The area conversion value is the amount obtained by converting the unit of measurement for the sample plot area to the target area unit for the plant density. When the sample plot area is expressed in square meters and the plant density is expressed in plants per hectare, the area conversion value is 10,000; when the sample plot area and the target area use the same unit, the area conversion value is 1. This value only reflects the unit conversion relationship and is not used to compensate for identification errors.

[0079] Tree density represents the number of individual trees per unit target area. Average crown width represents the arithmetic mean of the diameters of circles with equal areas corresponding to the crown boundaries of each individual tree.

[0080] Before calculating the area, the crown boundaries of individual trees and the geographical boundaries of the target plots are transformed to the same plane coordinate system, and the closure and self-intersection of individual tree crown boundaries are checked. A unified counting rule is used for boundary trees, preferably requiring the crown core coordinates to be located within the geographical boundary of the target plot as a condition for inclusion in the tree count, avoiding duplicate registration of the same tree in adjacent plots. The average crown width uses the area of ​​the complete tree crown boundary that is included in the tree count.

[0081] The density of trees was determined according to the proportional relationship between the number of individual trees, the area of ​​the sample plot, and the area conversion. The average crown width was calculated by taking the diameter of a circle with equal area based on the planar area of ​​the crown boundary of each effective individual tree, and then taking the arithmetic mean of all the circles with equal area.

[0082] Step S502: Determine the canopy closure based on the ratio of the union area of ​​all individual tree canopies to the area of ​​the sample plot; Canopy closure represents the ratio of the total area of ​​individual tree canopies to the area of ​​the sample plot, with the overlapping area between individual tree canopies counted only once.

[0083] When calculating canopy closure, the intersection of the closed planar regions of each tree's canopy boundary with the geographical boundary of the target plot is first determined. Then, a planar polygon union operation is performed on the resulting intersection regions. The overlapping portion between tree canopies is retained only once in the union area. The canopy closure is then determined according to the ratio of the union area to the plot area. This trimming process only limits the input to the canopy closure union operation and does not change the definition of the tree canopy boundary and its closed planar region.

[0084] When the number of individual trees is greater than 0, the tree density, average crown width, and canopy closure are determined according to the following formula.

[0085] Specifically, the formulas for calculating the plant density, the average crown width, and the canopy closure are as follows: ; in, Indicates plant density. Indicates average crown width. Indicates canopy closure; This indicates the area conversion amount determined by the area unit conversion relationship. Indicates the number of individual trees. Indicates the area of ​​the sample plot; Indicates the first The closed planar region encompassed by the crown boundary of a complete single tree that is included in the count of individual trees. This represents the planar area of ​​the complete closed planar region and is used to determine the average crown width; Representing pi; in the union operation corresponding to the canopy closure, first, according to the rules described in step S502, each... Find the intersection of the area enclosed by the geographical boundary of the target sample area, and then find the union of the resulting intersection areas; This represents the area of ​​the union formed according to the cutting rule.

[0086] When the number of individual trees is 0, the tree density is recorded as 0, the average crown width is not calculated by division, and a marker indicating no valid average crown width is entered in the output data. The canopy closure is determined as 0 based on the ratio of the union area of ​​empty individual tree crown boundaries to the plot area. After calculation, the target area units for tree density, the length units for average crown width, and the dimensionless attribute of canopy closure are simultaneously output, allowing for comparison of results between different target plots under consistent unit conditions.

[0087] This invention can be applied to surveys of individual tree quantity and canopy cover in plantations, near-natural forests, or mixed forest plots. In implementation, an RTK positioning device is first used to complete a closed-loop measurement along the geographical boundary of the target plot. Then, the same RGB camera acquires one set of top-view images and two sets of mutually perpendicular, opposing tilted images. The data acquisition period is selected under conditions where camera exposure is stable and wind conditions do not exceed the drone's stable imaging limits. The canopy pixel recognizer is pre-trained using multi-view images of similar forest stands and pixel-level canopy annotations, and the learnable parameters are fixed when processing survey images. After camera self-calibration and bundle adjustment, canopy response maps, candidate canopy masks, view distance maps, and canopy core coordinates are generated sequentially. Inversion verification and minimum-cost multi-cutting are performed on candidate canopy core pairs to output the individual tree canopy boundaries.

[0088] Taking a target plot of 1 hectare as an example, when the plot area is recorded in square meters, the area conversion factor is 10,000. The number of individual trees and the plot area are used to form the tree density. The complete canopy boundaries of individual trees with crown cores located within the target plot are used to form the average crown width. The intersection of the individual tree canopy boundaries and the geographical boundary of the target plot is performed, and the union operation is executed to form the canopy closure. The output data may include individual tree canopy boundary vector files, original view number mapping, number of individual trees, and three stand structure indicators, and can be compared over time in repeated surveys using the same target plot boundaries, flight path organization, and unit system.

[0089] This invention provides a forest stand structure recognition system based on UAV images, comprising: The crown core coordinate determination module is used to acquire a multi-view image set of the target sample plot collected by the UAV along a set of top-view flight paths and two sets of mutually perpendicular opposing tilt flight paths, determine the camera matrix and sample plot area, generate crown response map, candidate crown mask and view distance map, match crown top image points across views and determine crown core coordinates; The depth overlap weight calculation module is used to determine the planar depth of view and depth order for the crown-core pairs that intersect the candidate crown masks, based on the camera matrix and crown-core coordinates, and to determine the overlapping pixel set and overlap weight based on the candidate crown masks. The reverse mutual verification quantity calculation module is used to determine the mutual boundary pixel set and boundary attribution difference based on the overlapping pixel set, candidate crown mask and view distance map, determine the consistency ratio of depth order and boundary attribution difference and the reversal ratio of depth order between views based on the overlap weight, and determine the reverse mutual verification quantity by multiplying the two. The single-tree crown segmentation and counting module is used to construct multi-cut edge costs based on the inverted mutual verification quantity, with the crown core as the graph node and the crown core pair as the graph edge. Under the cyclic consistency constraint, the minimum cost multi-cut is performed to determine the crown core grouping and segmentation indicator quantity. The segmentation indicator quantity is used to constrain the label assignment of the candidate crown mask. The view crown edge is back-projected and fused to obtain the single-tree crown boundary and the number of single trees. The stand factor calculation module is used to determine the tree density, average crown width, and canopy closure based on the crown boundary of individual trees, the number of individual trees, and the area of ​​the sample plot.

[0090] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the forest stand structure recognition method based on UAV images shown in the above embodiments is implemented.

[0091] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for forest stand structure recognition based on UAV images, characterized in that, The method includes: Acquire multi-view image sets of the target sample plot by UAV along a set of top-down flight paths and two sets of mutually perpendicular opposing tilt flight paths, determine the camera matrix and sample plot area, generate crown response map, candidate crown mask and view distance map, match crown top image points across views and determine crown core coordinates; For crown-core pairs where candidate crown masks intersect, the planar depth of view and depth order are determined based on the camera matrix and crown-core coordinates, and the overlapping pixel set and overlap weight are determined based on the candidate crown masks. The mutual boundary pixel set and boundary attribution difference are determined based on the overlapping pixel set, candidate crown mask and view distance map. The consistency ratio of depth order and boundary attribution difference and the inversion ratio of depth order between views are determined based on the overlap weight. The inversion mutual verification quantity is determined by the product of the two. Using the crown core as the graph node and the crown core pair as the graph edge, construct the multi-cut edge cost based on the inversion mutual verification quantity, perform minimum cost multi-cut under the cycle consistency constraint, determine the crown core grouping and segmentation indicator, use the segmentation indicator to constrain the label assignment of the candidate crown mask, back-project and fuse the crown edge of the view to obtain the crown boundary of a single tree and the number of single trees; The density of trees, average crown width, and canopy closure are determined based on the crown boundary of individual trees, the number of individual trees, and the area of ​​the sample plot.

2. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The process of acquiring a multi-view image set and determining the camera matrix and sample plot area includes: The target sample plots were collected along a set of top-down flight paths and two sets of mutually perpendicular opposing inclined flight paths to form a multi-view image set; the camera matrix of each view was determined by camera self-calibration and bundle adjustment. The area of ​​the target plot is determined by its geographical boundary. The views to be included in the calculation are then selected and renumbered to determine the number of views.

3. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The process of generating the coronal response map, candidate coronal mask, and view distance map, and determining the coronal core coordinates, includes: Crown response maps for each view are generated using a canopy pixel recognizer; local maxima in the crown response maps are extracted as crown top image points, and the crown top image points are used as the starting point to grow to the first closed crown margin to form a candidate crown mask; Based on epipolar constraints and local texture description, the crown apex image points of each view are matched to establish cross-view correspondence; a view distance map with the camera optical center as the starting point is generated through dense multi-view matching; triangulation is performed according to the camera matrix and the matched crown apex image points to determine the crown core coordinates.

4. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The determination of planar depth of view, depth order, overlapping pixel set, and overlap weight includes: For the crown core pairs where candidate crown masks intersect in each view, the camera optical axis is extracted from the camera matrix, and the horizontal viewing direction is obtained by horizontal projection and normalization. The projection of the crown core coordinates onto the horizontal observation direction is calculated as the planar depth of view, and the depth order is determined based on the planar depth of view difference between the crown core pairs. The intersection of two candidate crown masks is calculated as the overlapping pixel set, and the overlap weight is determined according to the ratio of the number of pixels in the overlapping pixel set to the number of pixels in the union of the candidate crown masks. The crown-core pair is retained in both views of the same opposing view pair, where both views have a non-empty overlapping set of pixels.

5. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The determination of the mutual boundary pixel set, boundary attribution difference, and inverted mutual verification quantity includes: Within the overlapping pixel set of each view, select pixels located at the boundary of any candidate crown mask and having an effective view distance on both sides of the boundary to form the mutual boundary pixel set; Search for the nearest effective distance pixel to the mutual boundary pixel on the exclusive inner side of the two candidate crown masks respectively, and determine the boundary belonging difference based on the sign of the distance difference between the two side views; retain the crown core pair that has a non-empty mutual boundary pixel set in both views of at least one opposing view pair; The consistency ratio of depth order and boundary attribution difference and the reversal ratio of depth order between views are determined according to the overlap weight of each view, and the reversal mutual verification quantity is determined by multiplying the two.

6. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The method of performing minimum-cost multiple cuts based on the reverse mutual verification quantity includes: Using the core as a graph node and the core-crown pairs with non-empty mutual boundary pixel sets as graph edges, set a segmentation indicator to represent the same single tree or the two trees being separated; construct the multi-cut edge cost with the segmentation indicator as the independent variable based on the inverse mutual verification quantity; minimize the sum of the multi-cut edge costs of all graph edges under the cyclic consistency constraint to determine the core-crown grouping and segmentation indicator.

7. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The determination of the crown boundary and number of individual trees based on the crown core grouping and segmentation indicators includes: Using the segmentation indicator as a same-label constraint or a different-label constraint, seeded graph cuts are performed on the crown response map and candidate crown masks to complete the label assignment of the candidate crown masks; Using the view distance map and camera matrix, the crown margins of each view are back-projected onto the target plot coordinate system. The boundary arcs supported by the opposing view pairs are preserved, and the non-self-intersecting outer boundaries of each crown core group are merged to obtain the crown boundary and number of individual trees.

8. The forest stand structure recognition method based on UAV images according to claim 1, characterized in that, The determination of plant density, average crown width, and canopy closure includes: The tree density is determined based on the number of individual trees, the area of ​​the sample plot, and the area conversion; the average crown width is determined based on the arithmetic mean of the diameters of the circles with equal areas corresponding to the planar area of ​​the crown boundaries of each individual tree; and the canopy closure is determined based on the ratio of the union area of ​​the crown boundaries of all individual trees to the area of ​​the sample plot.

9. A forest stand structure recognition system based on UAV imagery, characterized in that, The forest stand structure identification method based on UAV images according to any one of claims 1 to 8 includes: The crown core coordinate determination module is used to acquire a multi-view image set of the target sample plot collected by the UAV along a set of top-view flight paths and two sets of mutually perpendicular opposing tilt flight paths, determine the camera matrix and sample plot area, generate crown response map, candidate crown mask and view distance map, match crown top image points across views and determine crown core coordinates; The depth overlap weight calculation module is used to determine the planar depth of view and depth order for the crown-core pairs that intersect the candidate crown masks, based on the camera matrix and crown-core coordinates, and to determine the overlapping pixel set and overlap weight based on the candidate crown masks. The reverse mutual verification quantity calculation module is used to determine the mutual boundary pixel set and boundary attribution difference based on the overlapping pixel set, candidate crown mask and view distance map, determine the consistency ratio of depth order and boundary attribution difference and the reversal ratio of depth order between views based on the overlap weight, and determine the reverse mutual verification quantity by multiplying the two. The single-tree crown segmentation and counting module is used to construct multi-cut edge costs based on the inverted mutual verification quantity, with the crown core as the graph node and the crown core pair as the graph edge. Under the cyclic consistency constraint, the minimum cost multi-cut is performed to determine the crown core grouping and segmentation indicator quantity. The segmentation indicator quantity is used to constrain the label assignment of the candidate crown mask. The view crown edge is back-projected and fused to obtain the single-tree crown boundary and the number of single trees. The stand factor calculation module is used to determine the tree density, average crown width, and canopy closure based on the crown boundary of individual trees, the number of individual trees, and the area of ​​the sample plot.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the forest stand structure recognition method based on UAV images as described in any one of claims 1 to 8.