Woolz Image Processing  Version 1.7.0


file  WlzPointsFromDomain.c
 Outputs a point object given a 2 or 3D spatial domain. "".

Detailed Description

WlzPointsFromDomain - computes points from a given spatial domain object.
WlzPointsFromDomain [-d#] [-D #,#[#]] [-g[<min>][,<max>][,<gam>]] [-G] [-M]
                [-o<output object>] [-h] [-T] [-x] [<input object>]
-d Minmum distance between points.
-D Dither the points by applying a random offset. Supplied values are the maximum dither displacement.
-g Use given object grey values to determine point density.
-G Include sampled grey values.
-M Transform the sampled grey values using gamma function.
-o Output file.
-T Report elapsed time.
-x Use voxel size scaling.
-h Help, prints usage message.
Computes points from a given spatial domain object. If the given objects grey values are used, then the probability of a point being placed is proportional to

\[ \left\{ \begin{array}{ll} 0.0 & g_i < g_{min} \\ frac{(g_i - g_{min})^\gamma}{g_{max} - g_{min}} & g_i > g_{min} \end{array} \right. \]

By default all files are read from the standard input and written to the standard output.
WlzPointsFromDomain -o out.wlz -d 33 in.wlz
Creates a points object containing locations within the given spatial domain object (read from the file in.wlz) which are at least 33 pixels or voxels distant from any other points. This object is written to the file out.wlz
See Also
WlzIntro(1) WlzPointsFromDomObj(3)