ldgwindow(3)

LIBRARY ROUTINE
ldgwindow - 1D Window Creation.

LIBRARY CALL
#include "vinclude.h"
int
ldgwindow (image,type,window_option,nsig,nelem,theta,damp,width,procdir)
int    window_option, width, nsig, nelem, procdir,type;
float  theta, damp;
struct xvimage **image;

INPUT

image
    pointer to VIFF structure containing image data to be processed.

type
    output images data storage type.

window_option
    window function to be used.

nsig
    number of signals in ensemble.

nelem
    number of data elements in a signal.

theta
    theta parameter for kaiser function.

damp
    damping factor for exponential functions.

width
    desired window width for user defined window.

procdir
    process direction: 0 indicated vector oriented processing, 1 indicates band oriented processing.

OUTPUT

image
    pointer to VIFF structure containing image data after processing.

Return Value:
    1 on success, 0 on failure.

MODIFICATIONS

Jeremy Worley 05 Mar 1992 12:00 MST
    Made implicit declarations of functions in ldgwindow() explicit.

DESCRIPTION
1D Window Creation. It creates a 1D data sequence (real or complex) based on a user selected window function. dgwindow begins by generating a constant value signal ensemble of the desired dimension, with constant value 1.0. It then applies the specified window function to this data set.

Data can be processed with either band or vector orientation. The default data processing direction is in the vector direction. This means that data stored in multiband format will be processed as a set of data sequences, where each sequence corresponds to a pixel location, and the points of each sequence are defined by the bands corresponding to that pixel location. The direction of processing can be changed so that each band is processed as a signal (instead of each vector being a signal) by setting the -d option to 1.

SEE ALSO
dgwindow(1), intro(3), vipl(3), verror(3), vutils(3) ldwindow

RESTRICTIONS
ldgwindow only creates real or complex data sequences.

AUTHOR
Jeremy Worley

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