lvtranspos(3)

LIBRARY ROUTINE
lvtranspos - Transpose an xvimage structure by exchanging rows and columns

LIBRARY CALL
#include "vinclude.h"
int
lvtranspos(img)
struct xvimage *img;

INPUT

    img - a pointer on an xvimage structure.

OUTPUT

    img - holds the result of the transposition.

MODIFICATIONS

Jeremy Worley Wed Apr 24 22:26:57 MDT 1991
    complex case had indexing problems that could cause core dumps. these indexing problems have been fixed.

DESCRIPTION
ltranspos Computes the transpose of the rows and columns in an image.

The transpose is computed by scanning the input image and applying the function:

    Transpose(x,y) = pixel(y,x)

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

RESTRICTIONS
lvtranspos will not operate on Bit, DOUBLE, or DCOMPLEX data storage types. lvtranspos will not operate on explicit location data.

AUTHOR
Pascal ADAM

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