
计 算 机 研 究 与 发 展
DOI
:
10.7544∕issn1000G1239.2021.20210335
JournalofCom
p
uterResearchandDevelo
p
ment 58
(
8
):
1718 1726
,
2021
收稿日期
:
2021
-
04
-
01
;
修回日期
:
2021
-
05
-
27
基金项目
:
江苏省 自然科 学基金 项目
(
BK20191298
);
中央高 校基本 科研业 务费专 项资金
(
B200202175
);
河海大 学海岸 灾害及 防护教 育部重
点实验室开放基金项目
(
20150009
)
Thisworkwassu
pp
ortedb
y
theNaturalScienceFoundationofJian
g
suProvince
(
BK20191298
),
theFundamentalResearchFunds
fortheCentralUniversities
(
B200202175
),
andtheO
p
enPro
j
ectoftheKe
y
Laborator
y
ofCoastalDisasterandProtection
(
Hohai
Universit
y
)
ofMinistr
y
ofEuducation
(
20150009
)
.
基于并行注意力
UNet
的裂缝检测方法
刘
凡
王 君 锋
陈 峙 宇
许
峰
(
河海大学计算机信息学院
南京
210098
)
(
海岸灾害与防护教育部重点实验室
(
河海大学
)
南京
210098
)
(
191307040025@hhu.edu.cn
)
ParallelAttentionBasedUNetforCrackDetection
LiuFan
,
Wan
g
Junfen
g
,
ChenZhi
y
u
,
andXuFen
g
(
Colle
g
eo
f
Com
p
uterIn
f
ormation
,
HohaiUniversit
y
,
Nan
j
in
g
210098
)
(
Ke
y
Laborator
y
o
f
CoastalDisasterandProtection
(
HohaiUniversit
y
),
Ministr
y
o
f
Education
,
Nan
j
in
g
210098
)
Abstract Crackshavehiddensafet
y
hazardsto
p
ublicfacilities
,
socrackdetectionisessentialforthe
maintenanceof
p
ublicfacilities.Duetotheinterferenceofnoise
,
li
g
ht
,
shadow
,
andotherfactorsin
thecrackima
g
es
,
theneuralnetworkiseasil
y
affecteddurin
g
thetrainin
gp
rocess
,
whichcauses
deviationsinthe
p
redictionresultsandreducesthe
p
redictioneffect.Tosu
pp
ressthesedisturbances
,
a
p
arallelattention mechanismisdesi
g
nedandthenthe
p
arallelattentionbased UNet
(
PAGUNet
)
is
p
ro
p
osedb
y
embeddin
g
thisattention mechanism into UNet.The
p
arallelattention mechanism
increasesthewei
g
htsofcrackfeaturesfrom thetwodimensionsofchannelands
p
acetosu
pp
ress
interference
,
thenfusesthefeatures
g
eneratedb
y
thesetwodimensionstoobtainmorecom
p
lementar
y
crackfeatures.Toverif
y
theeffectivenessofthe
p
ro
p
osedmethod
,
wehaveconductedex
p
erimentson
fourdatasets.Ex
p
erimentalresultsshowthatourmethodout
p
erformstheexistin
gp
o
p
ularmethods.
Meanwhile
,
to demonstratetheeffectivenessofthe
p
arallelattention mechanism
,
weconducta
com
p
arativeex
p
erimentwithotherfourattention mechanisms.Theresultsshowthatthe
p
arallel
attentionmechanism
p
erformsbetterthanothers.
Ke
y
words crackdetection
;
p
arallelattentionmechanism
;
UNet
;
su
pp
ressinterference
;
com
p
lementar
y
摘
要
裂缝对公共设施而言存在着安全 隐患
,
因此裂 缝检测 是公共 设施进 行维护 的重要 手段
.
由于裂
缝图像中存在噪声
、
光线
、
阴影等因素干扰
,
神经网络在训练时极易被影 响
,
导致预 测结果 出现偏 差
,
降
低预测效果
.
为减少这些干扰
,
设计了一个并行注意力机制
,
并将其嵌入到
UNet
网络的解码部分
,
进而
提出了并行注意力
UNet
(
p
arallelattentionbasedUNet
,
PAGUNet
)
.
该方法 分别从 通道和 空间
2
个维
度加大裂缝特征权重以抑制干扰
,
然后对这
2
个维度生成的特征进行融合
,
以获得更具互补性的裂缝特
征
.
为了验证该方法的有效性
,
选取了
4
个数据集进行实验
,
结果表明该方法较现有的主流方法
,
裂缝检
测效果更加优异
.
同时
,
为了验证并行注意力机制的有效性
,
选取了
4
种注意力机制与其进行对比实验
,
结果表明并行注意力机制效果优于其他注意力机制
.
评论