Abstract:
Objective Detecting anther dehiscence and pollen shedding in apple flowers remains challenging because of complex image-data distributions, loss of fine-grained details, and inadequate modeling of long-range dependencies among small targets. This study aimed to develop MSFE-BTF, an object detector integrating multi-scale feature enhancement with bi-level routing attention.
Method Deformable-DETR served as the baseline. We revised feature extraction, feature fusion, and the attention mechanism. Multi-scale features were pre-enhanced using Laplacian pyramid decomposition and a convolution with learnable weights, which captured shed pollen grains and anther dehiscence slits across scales while reducing data-distribution complexity. Coordinate attention was cascaded with channel attention so that spatial localization guides channel enhancement, improving detail capture for small anther targets. Bi-level routing attention was then introduced to enhance multi-scale features, increase sensitivity to gradient transitions between target and background regions, and sharpen anther boundary localization.
Result The model achieved a mean Average Precision (mAP) of 87.5%, 3.8 percentage points above the baseline, with recall up by 5.1 percentage points. Ablation experiments confirmed that each modification improved performance, and the spatial-guidance/channel-enhancement module produced the largest gain. On the public AriAplBud dataset, mAP reached 54.7%, outperforming mainstream detectors such as RT-DETR. Inference ran at 57.64 FPS on an NVIDIA RTX 3090 GPU, meeting real-time detection requirements on GPU platforms.
Conclusion This work supports automated detection of apple anther dehiscence and pollen-shedding status, and offers a reference for agricultural monitoring tasks involving small targets and complex backgrounds.