OUTBND8 filter

Outer boundary of 8-connected pixels. The OUTBND8 filter is a standard binary filter which works in a 3x3 environment.

When a true center pixel has one or more false neighbours, the true center pixel is assigned 0 and the false neighbours are assigned 1.

Using this filter results in a 4-connected outline around groups of false pixels which were true in the input map.

  

Input:

Output:

See also: