DATAMANIP commands
PROGRAM NAME
kflip - Reflect Data Along Specified Axes
DESCRIPTION
kflip
performs the reflection of data values and the validity mask. The
directions supported by
kflip
are: 1) width, 2) height, 3) depth, 4) time, and 5) elements. The user
is able to select one axis, all axes, or any combination for reflecting
the data in an object.
If the source object has explicit time or location data, the data is
transferred to the destination object but is
NOT flipped.
Note that location data can be reflected using
klocxform.
If the source object contains MAP data it will be directly transferred
to the destination object.
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.
REQUIRED ARGUMENTS
- -i
-
type: infile
desc: Source (input) object
- -o
-
type: outfile
desc: Destination (output) object
Group; you must specify AT LEAST ONE of:
- -w
-
type: flag
desc: reflection in the WIDTH direction
AND/OR
- -h
-
type: flag
desc: reflection in the HEIGHT direction
AND/OR
- -d
-
type: flag
desc: reflection in the DEPTH direction
AND/OR
- -t
-
type: flag
desc: reflection in the TIME direction
AND/OR
- -e
-
type: flag
desc: reflection in the ELEMENTS direction
OPTIONAL ARGUMENTS
none
EXAMPLES
% kflip -i source_obj -o dest_obj -w
performs reflection of internal parameters about the width axis.
% kflip -i source_obj -o dest_obj -w -h -d -t -e
performs reflection of parameters about all axes.
SEE ALSO
klocxform(1)
RESTRICTIONS
kflip
performs the reflection of parameters in the VALUE and MASK data segments.
If LOCATION and TIME segments exist, the reflection is performed in the
VALUE and MASK segments at this time. LOCATION and TIME are transferred
directly. To reflect LOCATION data, see
klocxform.
REFERENCES
1) FUNDAMENTALS OF IMAGE PROCESSING by A. K. Jain, Prentice Hall, 1989.
2) DIGITAL IMAGE PROCESSING by Rafael C. Gonzalez and Richard E. Woods,
Addison Wesley, 1992.
3) DIGITAL IMAGE PROCESSING, 2nd. Ed., by William K. Pratt, Wiley, 1991.
4) MULTIDIMENSIONAL DIGITAL SIGNAL PROCESSING, by Dan E. Dudgeon and
Russell M. Mersereau, Prentice Hall, 1984.
5) DISCRETE-TIME SIGNAL PROCESSING, by Alan V. Oppenheim and Ronald W.
Schafer, Prentice Hall, 1989.
6) TWO-DIMENSIONAL SIGNAL AND IMAGE PROCESSING, by Jae S. Lim, Prentice Hall,
1990.
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.