Woolz Image Processing  Version 1.7.5
WlzNearbyDomain

Files

file  WlzNearbyDomain.c
 Computes a domain which is newarby some some location in a reference domain. "".
 

Detailed Description

Name
WlzNearbyDomain - computes the portion of a domain object which is nearby given positions
Synopsis
WlzNearbyDomain [-d#] [-m#] [-p<pos>] [-o<out file>] [-h] [-T]
                [<Reference object file>]
Options
-d Maximum distance from the given location(s).
-m Distance function:
1 octagonal (2D and 3D) - default
4 4-connected (2D)
6 6-connected (3D)
8 8-connected (2D)
18 18-connected (3D)
26 26-connected (3D)
-p Locations given as x,y pairs or x,y,z triples for two and three dimensions respectively.
-o Output file.
-T Report elapsed time.
-h Help, prints usage message.
Description
Computes a nearby domain in which all pixels/voxels are near to the given locations within the reference domain. If the given location(s) are not in the reference domain, then an empty object will be output. By default all files are read from the standard input and written to the standard output.
Examples
WlzNearbyDomain -o out.wlz -d 10 -p 10,20,30;40,50,60 ref.wlz
Creates a new domain object wrtponding to all voxels in the reference spatial domain object (read from the file ref.wlz) which are less than or equal to 10 voxels from the locations 10,20,30 and 40,50,60. This object is written to the file out.wlz.
File
WlzNearbyDomain.c
See Also
WlzIntro(1) WlzDomainNearby(3)