Abstract
Precise crown segmentation is essential for assessing structure, competition, and productivity in agroforestry systems, but delineation is challenging due to canopy heterogeneity and variability in aerial imagery. This study analyzes how flight height and orientation affect segmentation accuracy in an agroforestry system of the Peruvian Amazon, using RGB images acquired with a DJI Mavic Mini 3 Pro UAV and the instance-segmentation models YOLOv8 and YOLOv11. Four flight heights (40, 50, 60, and 70 m) and two orientations (parallel and transversal) were analyzed in an agroforestry system composed of Cedrelinga cateniformis (Ducke) Ducke, Calycophyllum spruceanum (Benth.) Hook.f. ex K.Schum., and Virola pavonis (A.DC.) A.C. Sm. Results showed that a flight height of 60 m provided the highest delineation accuracy (F1 ≈ 0.88 for YOLOv8 and 0.84 for YOLOv11), indicating an optimal balance between resolution and canopy coverage. Although YOLOv8 achieved the highest precision under optimal conditions, it exhibited greater variability with changes in flight geometry. In contrast, YOLOv11 showed a more stable and robust performance, with generalization gaps below 0.02, reflecting a stronger adaptability to different acquisition conditions. At the species level, vertical position and crown morphological differences (Such as symmetry, branching angle, and bifurcation level) directly influenced detection accuracy. Cedrelinga cateniformis displayed dominant and asymmetric crowns; Calycophyllum spruceanum had narrow, co-dominant crowns; and Virola pavonis exhibited symmetrical and intermediate crowns. These traits were associated with the detection and confusion patterns observed across the models, highlighting the importance of crown architecture in automated segmentation and the potential of UAVs combined with YOLO algorithms for the efficient monitoring of tropical agroforestry systems.