VisionX V4

vmpix − show multiple boundaries on a single image


vmpix if=<image> [i2...i6=<image>] [it=<thresholds>] [of=<outputfile>] [-v]


vmpix outputs a grayscale image with segmented regions in images if and i2...i6 displayed as outlines of different shades of gray. Alternatively, a space separated set of thresholds can be specified by the it parameter, with the resulting output file containing outlines of the regions obtained by thresholding the image if with the values in it.


vmpix does not handle files from standard input. Three-dimensional files must be frame separated in order to be rendered properly.



specifies a VisionX image file. If the it= parameter is specified, varying thresholds are applied to this file to generate regions. If i2...i6 parameters are specified, this file should be a byte image with non-zero pixels considered as part of the region.


specifies additional regions to include on the output image. These files should be byte images with non-zero pixels considered part of the region.

of=<output file>

specifies the output image. If no file is specified, output is directed to standard out. The image is a byte image that contains the boundaries of the regions specified by the input files or thresholds.


verbose output.


Given two different segmentation results (seg1.vx and seg2.vx), and two manual boundary markings (mark1.bb and mark2.bb), and the original image (original.vx), output a color image with the boundaries outlined in different colors (result.vx):

vxftoz if=mark1.bb | v3bndpix -c -f bc=255 fc=255 of=mark1.vx

vxftoz if=mark2.bb | v3bndpix -c -f bc=255 fc=255 of=mark2.vx

vmpix if=seg1.vx i2=seg2.vx i3=mark1.vx i4=mark2.vx of=tmp.vx

vcmix if=original.vx ig=tmp.vx | vccvt -i of=result.vx


vbndcmp(1), vpix(1), vembed(1), vcmix(1), vccvt(1)


A. P. Reeves and A. C. Jirapatnakul