VisionX V4 | V3BFILL | VisionX V4 |
v3bfill − fill background of 2D or 3D binary images |
v3bfill [-H] [if=<inputfile>] [of=<outputfile>] [-2d] [-i] [-d] [-v] [-c8] |
V3bfill fills the border connected background region of a 2D or 3D binary image. The background value is zero and anything else is a foreground value. The new fill values is 255. A simple recucursive fill algorithm is used. |
The input may be either a 2D image, or a sequence of 2D images. The output format is the same as the input format. |
This program is implemented recursively and requires a very large amount of stack space for large images. For Solaris the stacksize shoud be set to a large value manually. For most other platforms the sacksize will be set by v3bfill itself. |
if=<input filename> |
Specifies the input filename. |
of=<output file> |
Specifies the output filename. |
-2d |
Specifies that each z-axis slice should be filled separately (2D operation). |
||
-i |
Invert the resulting image so that the background is black and the foreground is white. |
||
-d |
Fill enclosed voids in the image. |
||
-v |
Print verbose operation information. |
||
-c8 |
Run assuming 8 connected boundaries (4 connected background) instead of 4 connected boundaries. Only implemented in 2D mode. |
A.P. Reeves |