lvcustom(3)

LIBRARY ROUTINE
lvcustom - Create a custom image via keyboard entry, intended for building custom kernels for spatial convolution.

LIBRARY CALL
#include "vinclude.h"
int
lvcustom (image, rows, cols, type)
struct xvimage **image;
int rows, cols, type;

INPUT

image
    pointer to xvimage structure pointer

rows
    number of rows of image to generate

cols
    number of columns of image to generate

type
    data type of image to generate

OUTPUT

image
    output xvimage structure.

MODIFICATIONS
John Rasure - re write. Ramiro Jordan - change calling process

DESCRIPTION
lvcustom allows the user to create a custom kernel file in the VIFF format.

An xvimage structure pointer, image, must be passed in to lvcustom. The parameters of image_type, row_size and col_size are used to determine the characteristics of the created kernel.

lvcustom returns a zero if failure and a one upon success.

SEE ALSO
vcustom(1), intro(3), vipl(3), verror(3), vutils(3)

RESTRICTIONS
lvcustom can only create byte, short, int and float data storage types.

AUTHOR
Richard Krukar

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.