Noise
Noise layer (noise) adds noise of Gaussian distribution to the images.

Settings

  • mean (type: number)
  • std (type: number)
The noise distribution has its peak at the mean, and its โ€œspreadโ€ increases with the std.
1
{
2
"action": "noise",
3
"src": ["$input"],
4
"dst": "$output",
5
"settings": {
6
"mean": 10,
7
"std": 50
8
}
9
}
Copied!
Original image
Resulting image

Example

1
[
2
{
3
"dst": "$data",
4
"src": [
5
"example/*"
6
],
7
"action": "data",
8
"settings": {
9
"classes_mapping": "default"
10
}
11
},
12
{
13
"action": "noise",
14
"src": ["$data"],
15
"dst": "$result",
16
"settings": {
17
"mean": 0,
18
"std": 80
19
}
20
},
21
{
22
"dst": "example_noise",
23
"src": [
24
"$result"
25
],
26
"action": "supervisely",
27
"settings": {}
28
}
29
]
Copied!
Last modified 1yr ago
Copy link