RETRO (vutils) functions


LIBRARY ROUTINE

unload_vector - *

LIBRARY CALL

char *unload_vector(
	char	**input_vector,
	int	border,
	int	type,
	int	num_vects,
	int	dimension,
	int	nr,
	int	nc)

INPUT

OUTPUT

none

RETURN VALUE

a pointer to a 1-d array containing the image data

DESCRIPTION

Takes a 2-D array of vectorized data and rearanges the data so that the data is stored in an image format.

Each vector represents a pixel and the dimension of the vector represents the number of data bands for the image. So the mth element of the vector represents t pixel in the mth data band.

The image is built by filling row by row from the linear vector data.

The border will be equal on all sides

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$RETRO/objects/library/vutils/src/unloadvector.c

SEE ALSO

vutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.