FENet: Frequency-Enhanced Network Based on AFFormer for Wood Surface Defect Detection

Guanghe Cheng, Yifei Shao, Jinqiang Bai, Junjie Xia, Fengqi Hao, Yongwei Tang
Proceedings of 2025 2nd International Conference on Machine Learning and Intelligent Computing, PMLR 278:369-378, 2025.

Abstract

The bark is one of the major defects affecting the value of Eucalyptus veneer and must be accurately identified during detection. Currently, for bark defects exhibiting multiple shapes and colors, spatial-domain-based semantic segmentation models often encounter issues with semantic information loss in regions where the color or shape changes, which can lead to incomplete segmentation results. In contrast, utilizing texture features in the frequency domain can reduce the interference caused by variations in color and shape for the model, thereby enabling more effective identification of bark defects. Therefore, in this paper, a Frequency-Enhanced network based on Adaptive Frequency Transformer (AFFormer) is proposed. First, we propose an Inverted Depth-wise Separable Stem to extract more texture information by expanding the number of feature map channels through inverted depth-wise separable convolution. Moreover, we adopt the Rectangular Self-Calibration Module to refine the AFFormer as the backbone network. This enhances the ability to localize bark defects with different shapes and extracts frequency characteristics that are beneficial for semantic segmentation. Finally, the Frequency-Enhanced Channel Attention module enhances the frequency features for semantic segmentation and fuses the spatial-domain feature maps to recover the local details, thereby effectively improving the segmentation accuracy of multi-scale bark defects. Experimental results show that FENet outperforms existing semantic segmentation methods for segmenting bark defects.

Cite this Paper


BibTeX
@InProceedings{pmlr-v278-cheng25a, title = {FENet: Frequency-Enhanced Network Based on AFFormer for Wood Surface Defect Detection}, author = {Cheng, Guanghe and Shao, Yifei and Bai, Jinqiang and Xia, Junjie and Hao, Fengqi and Tang, Yongwei}, booktitle = {Proceedings of 2025 2nd International Conference on Machine Learning and Intelligent Computing}, pages = {369--378}, year = {2025}, editor = {Zeng, Nianyin and Pachori, Ram Bilas and Wang, Dongshu}, volume = {278}, series = {Proceedings of Machine Learning Research}, month = {25--27 Apr}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v278/main/assets/cheng25a/cheng25a.pdf}, url = {https://proceedings.mlr.press/v278/cheng25a.html}, abstract = {The bark is one of the major defects affecting the value of Eucalyptus veneer and must be accurately identified during detection. Currently, for bark defects exhibiting multiple shapes and colors, spatial-domain-based semantic segmentation models often encounter issues with semantic information loss in regions where the color or shape changes, which can lead to incomplete segmentation results. In contrast, utilizing texture features in the frequency domain can reduce the interference caused by variations in color and shape for the model, thereby enabling more effective identification of bark defects. Therefore, in this paper, a Frequency-Enhanced network based on Adaptive Frequency Transformer (AFFormer) is proposed. First, we propose an Inverted Depth-wise Separable Stem to extract more texture information by expanding the number of feature map channels through inverted depth-wise separable convolution. Moreover, we adopt the Rectangular Self-Calibration Module to refine the AFFormer as the backbone network. This enhances the ability to localize bark defects with different shapes and extracts frequency characteristics that are beneficial for semantic segmentation. Finally, the Frequency-Enhanced Channel Attention module enhances the frequency features for semantic segmentation and fuses the spatial-domain feature maps to recover the local details, thereby effectively improving the segmentation accuracy of multi-scale bark defects. Experimental results show that FENet outperforms existing semantic segmentation methods for segmenting bark defects.} }
Endnote
%0 Conference Paper %T FENet: Frequency-Enhanced Network Based on AFFormer for Wood Surface Defect Detection %A Guanghe Cheng %A Yifei Shao %A Jinqiang Bai %A Junjie Xia %A Fengqi Hao %A Yongwei Tang %B Proceedings of 2025 2nd International Conference on Machine Learning and Intelligent Computing %C Proceedings of Machine Learning Research %D 2025 %E Nianyin Zeng %E Ram Bilas Pachori %E Dongshu Wang %F pmlr-v278-cheng25a %I PMLR %P 369--378 %U https://proceedings.mlr.press/v278/cheng25a.html %V 278 %X The bark is one of the major defects affecting the value of Eucalyptus veneer and must be accurately identified during detection. Currently, for bark defects exhibiting multiple shapes and colors, spatial-domain-based semantic segmentation models often encounter issues with semantic information loss in regions where the color or shape changes, which can lead to incomplete segmentation results. In contrast, utilizing texture features in the frequency domain can reduce the interference caused by variations in color and shape for the model, thereby enabling more effective identification of bark defects. Therefore, in this paper, a Frequency-Enhanced network based on Adaptive Frequency Transformer (AFFormer) is proposed. First, we propose an Inverted Depth-wise Separable Stem to extract more texture information by expanding the number of feature map channels through inverted depth-wise separable convolution. Moreover, we adopt the Rectangular Self-Calibration Module to refine the AFFormer as the backbone network. This enhances the ability to localize bark defects with different shapes and extracts frequency characteristics that are beneficial for semantic segmentation. Finally, the Frequency-Enhanced Channel Attention module enhances the frequency features for semantic segmentation and fuses the spatial-domain feature maps to recover the local details, thereby effectively improving the segmentation accuracy of multi-scale bark defects. Experimental results show that FENet outperforms existing semantic segmentation methods for segmenting bark defects.
APA
Cheng, G., Shao, Y., Bai, J., Xia, J., Hao, F. & Tang, Y.. (2025). FENet: Frequency-Enhanced Network Based on AFFormer for Wood Surface Defect Detection. Proceedings of 2025 2nd International Conference on Machine Learning and Intelligent Computing, in Proceedings of Machine Learning Research 278:369-378 Available from https://proceedings.mlr.press/v278/cheng25a.html.

Related Material