Pink 0.9

simplepair.c File Reference

detects simple pairs in a 3D binary image More...


Detailed Description

detects simple pairs in a 3D binary image

Usage: simplepair in.pgm [all] out.pgm

Note: in the python front-end the parameter 'all' is mandatory, if 0 at most one simple pair is found, if it's 1 all simple pairs are looked for

Description: Detects simple pairs in a 3D binary image. If the optional parameter all is used, then all simple pairs are searched. Otherwise, only one pair (if any) is given.

Reference:
[PCB08] Nicolas Passat, Michel Couprie, and Gilles Bertrand: "Minimal simple pairs in the 3D cubic grid", in Journal of Mathematical Imaging and Vision, 32 (3), pp. 239–249, November 2008.

Types supported: byte 3d

Category: topobin

Author:
Michel Couprie 2008