BINMAJOR filter
The BINMAJOR filter is a standard binary filter which works in a 3x3 environment.
The BINMAJOR filter assigns a 1 to the center pixel in the output map, if the majority of each group of 9 input pixels is true, i.e. if 5 or more pixels are true. If the majority of the 9 pixels is false, the output value will be 0.
The result of using the BINMAJOR filter is that single pixels and very small groups of pixels are filtered out; larger areas are smoothed.
Input: |
Output: |
See also: