fig2

Container-surface-guided dual-task learning for defect detection in complex port scenes

Figure 2. Data flow of the proposed STFF module, where scale embedding, channel attention, multi-receptive-field spatial attention, shared-feature gating, and feature-derived coarse spatial modulation are integrated in a residual manner. STFF: Scale-tuned feature fusion; CA: channel attention; MLP: multilayer perceptron; MSA: multi-receptive-field spatial attention; CPM: coarse spatial modulation.