Synthetic aperture radar (SAR) ship detection holds significant application value in maritime monitoring, marine traffic management, and safety maintenance. Despite remarkable advances in deep-learning-based detection methods, performance remains constrained by the vast size differences between ships, limited feature information of small targets, and complex environmental interference in SAR imagery. Although many studies have separately tackled small target identification and multi-scale detection in SAR imagery, integrated approaches that jointly address both challenges within a unified framework for SAR ship detection are still relatively scarce. This study presents MC-ASFF-ShipYOLO (Monte Carlo Attention—Adaptively Spatial Feature Fusion—ShipYOLO), a novel framework addressing both small target recognition and multi-scale ship detection challenges. Two key innovations distinguish our approach: (1) We introduce a Monte Carlo Attention (MCAttn) module into the backbone network that employs random sampling pooling operations to generate attention maps for feature map weighting, enhancing focus on small targets and improving their detection performance. (2) We add Adaptively Spatial Feature Fusion (ASFF) modules to the detection head that adaptively learn spatial fusion weights across feature layers and perform dynamic feature fusion, ensuring consistent ship representations across scales and mitigating feature conflicts, thereby enhancing multi-scale detection capability. Experiments are conducted on a newly constructed dataset combining HRSID and SSDD. Ablation experiment results demonstrate that, compared to the baseline, MC-ASFF-ShipYOLO achieves improvements of 1.39% in precision, 2.63% in recall, 2.28% in , and 3.04% in , indicating a significant enhancement in overall detection performance. Furthermore, comparative experiments show that our method outperforms mainstream models. Even under high-confidence thresholds, MC-ASFF-ShipYOLO is capable of predicting more high-quality detection boxes, offering a valuable solution for advancing SAR ship detection technology.
Accuracy assessment of classification results has important significance for the application of remote sensing images, which can be achieved by sampling methods. However, the existing sampling methods either ignore spatial correlation or do not consider spatial heterogeneity. Here, we proposed a multi-level non-uniform spatial sampling method (MNSS) for the accuracy assessment of classification results. Taking the remote sensing image of Kobo Askov, Texas, USA, as an example, the classification result of this image was obtained by Support Vector Machine (SVM) classifier. In the proposed MNSS, the studied spatial region was zoned from high to low resolution based on the features of spatial correlation. Then, the sampling rate of each zone was deduced from the low to high resolution based on the spatial heterogeneity. Finally, the positions of sample points were allocated in each zone, and the classification results of the sample points were obtained. We also used other sampling methods, including a random sampling method (SRS), stratified sampling method (SS), and spatial sampling of the gray level co-occurrence matrix method (GLCM), to obtain the classification results of the sample points (2-m resolution). Five categories of ground objects in the same region were used as the ground truth data. We than calculated the overall accuracy, Kappa coefficient, producer accuracy, and user accuracy to estimate the accuracy of the classification results. The results showed that MNSS was the strictest inspection method as shown by the minimum value of accuracy. Moreover, MNSS overcame the shortcoming of SRS, which did not consider the spatial correlation of sample points, and overcame the shortcomings of SS and GLCM, which had redundant information between sample points. This paper proposes a novel sampling method for the accuracy assessment of classification results of remote sensing images.