Cultivated grasslands are an important part of grassland ecosystems and have been proven to be major carbon sinks, then playing an important role in the global carbon balance. The effect of cultivated grassland type (Medicago sativa, Triticum aestivum, Secale cereale, and Vicia villosa grasslands) on carbon flux (including net ecosystem CO2 exchange (NEE), ecosystem respiration (ER), and gross ecosystem productivity (GEP)) downstream of the Yellow River was studied via the static chamber technique and a portable photosynthetic system. Bare land was used as a control. The results showed that the four cultivated grassland types were mainly carbon sinks, and bare land was a carbon source. The cultivated grassland types significantly affected carbon flux. The average NEE and GEP of the grassland types were in the following order from high to low: Medicago sativa, Secale cereale, Triticum aestivum, and Vicia villosa grassland. Stepwise regression analysis showed that among all measured environmental factors, soil pH, soil bulk density (BD), soil organic carbon (SOC), and soil microbial carbon (MBC) were the main factors affecting CO2 flux. The combined influence of soil BD, SOC, and pH accounted for 77.6% of the variations in NEE, while soil BD, SOC, and MBC collectively explained 79.8% of changes in ER and 72.9% of the changes in GEP. This finding indicates that Medicago sativa grassland is a cultivated grassland with a high carbon sink level. The changes in carbon flux were dominated by the effects of soil physicochemical properties.
Automated shiitake pre-grading in forest-understory production environments is challenged by non-uniform illumination, cluttered backgrounds, occlusion, fine-grained appearance differences, and limited edge-computing resources. This study proposes LGB-YOLOv11n, a lightweight detector that assigns modules to feature levels according to their processing roles. Large-kernel separable attention is placed at the P4/16 backbone level and P3/8 detection branch to strengthen contour, texture, edge, and local-deformation representation. Ghost modules compress the P4/16 and P5/32 detection branches, while BiFPN-inspired weighted fusion replaces four neck fusion nodes. On a held-out test set, the model achieved 97.51% mAP@0.5 and 86.62% mAP@0.5:0.95, improvements of 1.21 and 5.62 percentage points over YOLOv11n, respectively. It used 2.39 M parameters, 7.72% fewer than the baseline. Gains were retained in all three leave-one-acquisition-date-out folds, and three random-seed runs yielded 86.49% ± 0.09% mAP@0.5:0.95. Cross-domain single-class evaluation on 222 external images yielded 89.52% AP@0.5 and 63.71% AP@0.5:0.95, compared with 86.73% and 59.84% for YOLOv11n. On an NVIDIA Jetson Orin NX with TensorRT FP16, LGB-YOLOv11n achieved 134.3 ± 6.73 FPS with a mean inference pipeline latency of 7.47 ± 0.39 ms. These results demonstrate a favorable accuracy–complexity trade-off and support real-time model inference for edge-based shiitake appearance pre-grading.