A Lumber Surface Defect Detection Network Integrating Deformable Convolution and Multi-Scale Attention

Intricate natural wood textures and diversified defect morphologies hinder high-precision recognition of visible surface defects on sawn lumber. Six common types of surface defects exist on sawn lumber, including dry knots, edge knots, small knots, sound knots, wavy defects, and splits. Among these defect types, edge knots, small knots, wavy defects, and splits bring great difficulties to detection due to their tiny areas, slender geometric outlines and indistinct boundaries. To accurately identify the above defects, a customized You Only Look Once version 8 medium (YOLOv8m)-based framework was developed for lumber surface inspection. First, the Cross-Stage Partial Bottleneck with Two Convolutions embedded with Efficient Channel Attention (C2f-ECA) and Space-to-Depth Convolution (SPD-Conv) are introduced into the backbone to enhance channel-wise feature representation and preserve fine spatial details during downsampling, while C2f with Deformable Convolution (C2f-DCN) is embedded in the deep feature extraction branch to improve the geometric modeling of irregular defects. Second, a C2f-DCN with Exponential Moving Average Attention (C2f-DCN-EMA) module and dynamic upsampling (DySample) are integrated in the feature-fusion stage to refine multi-scale features and reconstruct local edges. Third, Scaled Intersection over Union (SIoU) loss is used to improve bounding-box regression for defects with extreme aspect ratios. Experiments show that the proposed model achieves 91.8% mean Average Precision at IoU 0.5 (mAP@50) and 69.3% mean Average Precision across IoU thresholds of 0.5–0.95 (mAP@50-95), exceeding the YOLOv8m baseline by 1.0 and 1.5 percentage points, respectively.

Authors

Institutions

Publication Details

Journal
Forests
Published
2026-07-16
DOI
https://doi.org/10.3390/f17070839
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Lumber Surface Defect Detection Network Integrating Deformable Convolution and Multi-Scale Attention

M L Wang, Lu Leng, Hailong Zhang, Han Wang et al.
Forests
Industrial Vision Systems and Defect Detection
article

A Lumber Surface Defect Detection Network Integrating Deformable Convolution and Multi-Scale Attention

M L Wang, Lu Leng, Hailong Zhang, Han Wang, Kun Zhang, Rui Zeng, Longhai Wu
article en

Abstract

Intricate natural wood textures and diversified defect morphologies hinder high-precision recognition of visible surface defects on sawn lumber. Six common types of surface defects exist on sawn lumber, including dry knots, edge knots, small knots, sound knots, wavy defects, and splits. Among these defect types, edge knots, small knots, wavy defects, and splits bring great difficulties to detection due to their tiny areas, slender geometric outlines and indistinct boundaries. To accurately identify the above defects, a customized You Only Look Once version 8 medium (YOLOv8m)-based framework was developed for lumber surface inspection. First, the Cross-Stage Partial Bottleneck with Two Convolutions embedded with Efficient Channel Attention (C2f-ECA) and Space-to-Depth Convolution (SPD-Conv) are introduced into the backbone to enhance channel-wise feature representation and preserve fine spatial details during downsampling, while C2f with Deformable Convolution (C2f-DCN) is embedded in the deep feature extraction branch to improve the geometric modeling of irregular defects. Second, a C2f-DCN with Exponential Moving Average Attention (C2f-DCN-EMA) module and dynamic upsampling (DySample) are integrated in the feature-fusion stage to refine multi-scale features and reconstruct local edges. Third, Scaled Intersection over Union (SIoU) loss is used to improve bounding-box regression for defects with extreme aspect ratios. Experiments show that the proposed model achieves 91.8% mean Average Precision at IoU 0.5 (mAP@50) and 69.3% mean Average Precision across IoU thresholds of 0.5–0.95 (mAP@50-95), exceeding the YOLOv8m baseline by 1.0 and 1.5 percentage points, respectively.

ForestsVol. 17(7)
Ministry of Economy (MK), Yichun University (CN), Nanchang Hangkong University (CN)
National Natural Science Foundation of China
Life in Land
Openalex Percentile: Top 8%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.