Pink 0.9

border.c File Reference

border of a binary image More...


Detailed Description

border of a binary image

Usage: border in connex out

Description: Let X be the subset of Zn that corresponds to the input image in, and let k be the value of the parameter connex (that is, 4, 8 (2d) or 6, 26 (3d)), which is the connectivity chosen for X.

The border B(X) of X is defined by: B(X) = {x in X, (Gamma_nk(x) inter Xbar) not empty} where nk is the complementary connectivity for k.

Types supported: byte 2d, byte 3d

Category: topobin

Author:
Michel Couprie