Pink 0.9

ptselectgray.c File Reference

detects points in a 2D or 3D grayscale image corresponding to a given criterion More...


Detailed Description

detects points in a 2D or 3D grayscale image corresponding to a given criterion

Usage: ptselectgray in.pgm connex mint+ maxt+ mint-- maxt-- out.pgm

Description:

Select all points p such that the condition:
mint+ <= T+(p) <= maxt+ and mint-- <= T--(p) <= maxt--
is satisfied.

The parameter connex gives the connectivity used for the minima; possible choices are 4, 8 in 2D and 6, 26 in 3D.

Types supported: byte 2d, byte 3d

Category: topogray

Author:
Nicolas Combaret 2006