Woolz Image Processing  Version 1.8.3
Name
WlzMakeRect - Makes a either a 2D or 3D domain object with either a rectanglar domain or a plane domain with rectangular domains.
Synopsis
WlzMakeRect [-23] [-o<output file>] [-x<x min>,<x max>] [-y<y min>,<y max>]
            [-z<z min>,<z max>]
Options
-2 Create a 2D rectanglar domain object (default).
-3 Create a 3D cuboid domain object.
-o Output object file
-x Column domain limits (default 0,0).
-y Line domain limits (default 0,0).
-z Plane domain limits (default 0,0 and makes the default dimension 3).
-h Help, prints message.
Description
Makes a either a 2D or 3D domain object with either a rectanglar domain or a plane domain with rectangular domains. By default an object is created for a single 2D pixel at the origin and the output object is written to the standard output.
Examples
A Single voxel object with origin (0,0,0) is written to the standard output:
WlzMakeRect -3
A single pixel object with origin (1,2) is written to the standard output.
WlzMakeRect -x 1 -y 2
A 3D domain object with planes from 3 to 6, lines from 4 to 7 and column from 5 to 8 is written to the file dom.wlz:
WlzMakeRect -x5,8, -y4,7 -z3,6 -o dom.wlz

File
WlzMakeRect.c
See Also
WlzMakeRect(3) WlzMakeCuboid(3)