lvprdata(3)

LIBRARY ROUTINE
lvprdata - vprdata prints image data to a file or the screen in ascii format.

LIBRARY CALL
#include "vinclude.h"
int
lvprdata(img,matflg,input_file,printdev)
struct  xvimage *img;
int     matflg;
char    *input_file;
FILE    *printdev;

INPUT

    img - input xvimage structure

    matflg - print image as a matrix (if set to one) else print image as a single column.

    input_file - name of file getting data on.

OUTPUT
printdev - data is printed in ascii format to the screen or a file according to printdev.

MODIFICATIONS

Scott Wilson 27-Jan-91 - Removed FFT data type processing.

Jeremy Worley 11-Jan-91 - Added support for double and double complex.

DESCRIPTION
lvprdata prints image file data (viff) data to the screen or a file in ascii format. The image data can be printed as a matrix if the matflg flag is set to 1.

The output device or file is specified with printdev, a filename of # will send the output to stderr.

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

RESTRICTIONS
lvprdata will not print COMPLEX images in matrix format (just single column format).

AUTHOR
Mark Young, Tom Sauer, John Rasure

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