VisionX V4VCONVVisionX V4
NAME

vconv − Convolve an image with a small matrix

SYNOPSIS

vconv [if=infile] [of=ofile] [k=kfile] [-c] [-e] [-d] [-ed] [-de]

DESCRIPTION

Vconv convolves a small kernel matrix(image) with an image, the result has the same dimensions as the image. Vconv can also perform basic morphological operations including opening and closing. By default the kernel matrix is centered on each pixel of the input file.

CONSTRAINTS

Only byte images are currently accepted. The Kernel may be of any numeric type. Multispectral and color images are not supported

OPTIONS

k=<file> specifies the kernel file for the convolution.

-c

specifies no automatic centering. Alignment will be according to the bounding box of the kernel and the image; i.e. index 0,0 of the kernel will be aligned with each pixel of the image.

-de

specifies an operation consisting of a dilation followed by an erosion i.e, a closing.

-ed

specifies an operation consisting of an erosion followed by an dilation i.e, an opening.

-d

specifies a dilation operation

-e

specifies an erosion operation

AUTHOR

A. P. Reeves