Woolz Image Processing  Version 1.7.5
WlzPointsFromDomain

Files

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

Detailed Description

Name
WlzPointsFromDomain - computes points from a given spatial domain object.
Synopsis
WlzPointsFromDomain [-d#] [-D #,#[#]] [-g[<min>][,<max>][,<gam>]] [-G] [-M]
                [-N] [-o<output object>] [-h] [-T] [-x] [<input object>]
Options
-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.
-N Normalise sampled grey values to range [g_min - 255].
-o Output file.
-T Report elapsed time.
-x Use voxel size scaling.
-h Help, prints usage message.
Description
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.
Examples
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
File
WlzPointsFromDomain.c
See Also
WlzIntro(1) WlzPointsFromDomObj(3)