INBND4 filter
Inner Boundary 4-connected. The INBND4 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 horizontal or vertical 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 8-connected outline (an 8-connected boundary of true pixels).
Input: |
Output: |
See also: