SYNOPSIS
vquickmorph3d [-option ...] [infile] [outfile]DESCRIPTION
vquickmorph3d applies a 3D morphological filter to an image by thresholding a distance transform. Each input image is filtered to produce a corresponding output image.This program emulates a "true" morphological filter by thresholding a 3D distance transform. It can only emulate filtering by a sphere shaped structuring element. It is much faster than the original morphological filtering. It produces slightly different results.
The input images must be binary images of type VBit. The output images will also be binary.
COMMAND LINE OPTIONS
vquickmorph3d accepts the following options:- -help
- Prints a message describing options.
- -in infile
- Specifies the Vista data file containing the input images.
- -out outfile
- Specifies where to write the output images as a Vista data file.
- -radius diameter
- Specifies the radius of a sphere shaped structuring element. Default: 6.
- -op op
-
Specifies the operation as one of the following:
-
dilate dilation erode ersion open opening (erosion followed by dilation) close closing (dilation followed by erosion)
-
Input and output files can be specified on the command line or allowed to default to the standard input and output streams.
LITERATURE
For an excellent tutorial on image morphology, see Haralick, R.M, S.R. Sternberg, and X. Zhuang, "Image analysis using mathematical morphology," IEEE Trans. PAMI, vol. PAMI-9, No. 4, July 1987, pp. 532-550. Or see Maragos, P. and R. Shaffer, "Morphological systems for multidimensional Signal Processing", Proc. IEEE, vol. 78, no. 4, April 1990.