Woolz Image Processing  Version 1.8.3
Name
WlzCutBSpline
Synopsis
WlzCutBSpline [-h] [-b<spline object>] [-B] [-L] [-N] [-P] [-o<out object>]
              [-r <rad>] [-t[<min>],[<max>]] [-u<x>,<y>,<z>] [-v] [<in object>]
Options
-h Help, prints usage message.
-b The given B-spline object.
-B Cut a region of the B-spline dilated by given radius (default). " -L Use linear interpolation instead of nearest neighbour when\n" " cutting sections.\n"
-L Use linear interpolation instead of nearest neighbour when cutting sections.
-N Don't fill grey values if they exist.
-P Cut planes orthogonal to the B-spline. These may be limited to within a given radius of the B-spline.
-r Radius of region cut, the orthogonal distance from the B-spline. If cutting the region of the dilated B-spline then this is it's dilation, otherwise if cutting orthogonal planes this is the radius of the sections. If zero then either just the pixels/voxels intersecting the B-spline or the entire (unclipped) orthogonal planes will be cut (default 0).
-t Parametric range along the B-spline curve (default 0,1).
-o Output object file.
-u Up vector, which if supplied also implies up-is-up sectioning.
-v Verbose output, possibly useful for tests and debugging.
Description
Cuts regions from a spatial domain using a B-spline define the region cut. The region may be the domain of the B-spline or planes orthogonal to the B-spline. By default the input objects are read from stdin and the output object is written to stdout. If both the input and spline objects are read from stdin then the input object is read before the spline object.
Example
WlzCutBSpline -P -t 0.5, -o out.wlz -r -b spline.wlz in.wlz
Outputs a object containing sections (of radius 50) through the object read from in.wlz which are orthogonal to the B-spline (read from spline.wlz) and are lie within the parametric coordinate range [0.5-1.0]. The output object is written to the file out.wlz
File
WlzCutBSpline.c
See Also
WlzIntro(1) WlzBSplineCut(3)