Woolz Image Processing  Version 1.7.0
WlzDitherPoints
Name
WlzDitherPoints - dithers point positions.
Synopsis
WlzDitherPoints [-h] [-o<output file>] [-D #,#[#]] [-r <res obj>]
[<input file>]

Options
 -h Help, prints usage message. -o Output file name, default standard output. -D Dither the points by applying a random offset. Supplied values are the maximum dither displacement. Default value is (1,1,1). -r Restriction object.
Description
Reads a 2D or 3D points object from either a given file or the standard input (default). The vertices of the points are then converted to floating point, dithered and output. A restriction object may be given to restrict all dithered point positions to within it's domain, but if given this must be a spatial domain object of the appropriate dimension. Restriction assumes voxel spacing of (1, 1, 1) and may not be appropriate. When reading from the standard input the input object is read before an optional restriction object.
Examples
WlzDitherPoints -o out.wlz -D 1,1,1 in.wlz

Creates a new points file where the point vertices are double precision and dithered by up to a voxel in each direction. The input points are read from in.wlz and the output points written to out.wlz.
File
WlzDitherPoints.c