Woolz Image Processing  Version 1.7.5
WlzThinObjToPoints

Files

file  WlzThinObjToPoints.c
 Outputs a point object given a 2 or 3D spatial domain with the points computed by thinning the spatial domain object.. "".
 

Detailed Description

Name
WlzThinObjToPoints - computes points by thinning spatial domain object.
Synopsis
WlzThinObjToPoints [-G] [-g[<start>][,<inc>]] [-o<output object>]
                   [-h] [-T] [-D #,#[#]] [-x] [<input object>]
Options
-D Dither the points by applying a random offset. Supplied values are the maximum dither displacement.
-G Use given object grey values if the object has them.
-g The initial and increment grey values.
-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 using grey values the object is erroded by successive thresholding while collecting all disconnected regions or if the object has no values the object is simply labeled to give a collection of disconnected regions. The disconnected regions are then eroded (morphologicaly) again collecting disconnected regions. Finally the centroids of the disconnected regions are used to compute the points object. The default initial grey value is 0 and the default increment is 1. By default all files are read from the standard input and written to the standard output.
Examples
WlzThinObjToPoints -o points.wlz -g 250,-1 in.wlz
Creates a points object containing locations within the given spatial domain object (read from the file in.wlz) in which the points at located at the centroids of the thinned object's regions, where grey value thinning is used with an initial threshold of 250 reducing by 1 at each threshold. The resulting points object is written to the file out.wlz
File
WlzThinObjToPoints.c
See Also
WlzIntro(1) WlzThinToPoints(3)