|
Algorithm 1 Welding noise generation method (WNGM) |
-
1:
procedure WNGM()
-
2:
-
3:
ArcLightSpatter()
-
4:
Add smoke noise
-
5:
Apply Gaussian blur to the image
-
6:
-
7:
return
-
8:
end procedure
-
9:
function ArcLightSpatter()
-
10:
Generate random linear light streaks
-
11:
Rotate and truncate the light streaks
-
12:
Apply Gaussian blur to the streaks
-
13:
return
-
14:
end function
|