OUTBND4 filter
Outer boundary of 4-connected pixels. The OUTBND4 filter is a standard binary filter which works in a 3x3 environment.
When a true center pixel has one or more horizontal or vertical false neighbours, the true center pixel is assigned 0 and the false neighbours are assigned 1.
Using this filter results in an 8-connected outline around groups of false pixels which were true in the input map.
Input: |
Output: |
See also: