INBND8 filter

Inner Boundary 8-connected; the INBND8 filter is a standard binary filter which works in a 3x3 environment.

This filter assigns a 1 when the center pixel is 1 and at least one of the 8 neighbours is 0 (meaning it is located at the edge of a group of true pixels).

The result of using this filter is that areas of true pixels are replaced by their 4-connected outline (a 4-connected boundary of true pixels).

  

Input:

Output:

See also: