lvmpp(3)

LIBRARY ROUTINE
lvmpp - Compute 2-dimensional information from COMPLEX images

LIBRARY CALL
#include "vinclude.h"
int
lvmpp(image,k)
struct xvimage *image;
int k;

INPUT

image
    is a pointer to the xvimage structure used as the input image

k   selects the information type:
      1 - Magnitude
      2 - Log(magnitude+1.0)
      3 - Power
      4 - Log(power+1.0)
      5 - Phase

OUTPUT

Return Value:
    1 on success, 0 on failure

MODIFICATIONS

Tue Aug 28 10:51:38 MDT 1990 Shirley Lee
    Changed vspectra and lvspectra to vmpp and lvmpp.

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

DESCRIPTION
lvmpp computes various representations of COMPLEX image data.

The output of lvmpp is always of type FLOAT and must be scaled as necessary using vconvert(1) of vscale(1).

The available information types (selected by the -k argument) are:
  1 - Magnitude
  2 - Log(magnitude+1.0)
  3 - Power
  4 - Log(power+1.0)
  5 - Phase

Note that image is used for both the input xvimage structure and the resulting output xvimage structure. This is done to save space, but you must be careful not to overwrite important data.

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

RESTRICTIONS
lvmpp works only on single band COMPLEX images.

AUTHOR
Scott Wilson

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