Example standard deviation filters
A standard deviation filter may have any user-defined size. The filter calculates the standard deviation of the pixels considered, and assigns the answer to the center pixel in the output map.
Example 1:
When the filter is defined as a 3x3 filter and when 9 pixel values in an input map are:
17 |
22 |
18 |
|
21 |
15 |
18 |
|
17 |
20 |
23 |
The filter calculates:
Thus, value 2.65 is assigned to the central pixel in the output map.
Example 2:
When the filter is defined as a 1 by 5 filter, and 5 values in an input map are:
17 |
22 |
18 |
18 |
15 |
The filter calculates:
Thus, value 5.1 is assigned to the central pixel in the output map.