DATAMANIP (kdatamanip) functions


LIBRARY ROUTINE

lkflip - reflect data in object along specified axes

LIBRARY CALL

int lkflip( kobject src,
            int num_dim, 
            long *dim_list, 
            kobject dest )

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

Library Routine for kflip. This routine performs data reflection about one, all, or any combination of axes. The axes supported are: KWIDTH, KHEIGHT, KDEPTH, KTIME, and KELEMENTS.

Note that kflip only reflects data stored in the value and mask segments. If the input or source object contains a location, mask, or map segment, data is not reflected. If it is desired that the output or destination object contain these segments, then the calling routine should copy the desired segments.

If the source object has the attribute KPDS_KERNEL_ORIGIN set to specify a "hot spot" in the data set, then the kernel origin is flipped along the same specified axes.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

January 18, 1996

FILES

$DATAMANIP/objects/library/kdatamanip/src/lkflip.c

SEE ALSO

kdatamanip(3)

COPYRIGHT

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