ldscale(3)

LIBRARY ROUTINE
ldscale - 1D Rescale Data

LIBRARY CALL
#include "vinclude.h"
int
ldscale ( image, scale, process_dir)
struct xvimage *image;
int    process_dir;
float  scale;

INPUT

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

scale
    scale factor by which to multiply all elements in the data set.

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 23-Jul-90
    Modified declaration and call to dload_vector() to conform to new character oriented specifications.

DESCRIPTION
1D Rescale Data. Rescales data for processing, thus, minimizes roundoff errors in further processing routines, dscale multiplies the scale factor with the data points.

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

RESTRICTIONS
Operates on real and complex data only.

AUTHOR
Ramiro Jordan, Jeremy Worley

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