IRAF help page for package images, program imtrans

from NOAO imtranspose -- transpose two dimensional imagesUSAGE PARAMETERSDESCRIPTIONEXAMPLESBUGSSEE ALSO

imtranspose -- transpose two dimensional images


USAGE

imtranspose input output

PARAMETERS

PARAMETERS

input

Images to be transposed.

output

Output transposed images. The number of output images must be the same as the number of input images.

len_blk = 512

The one dimensional length of the transpose blocks.


DESCRIPTION

Each of the input images, which may be given as a general image template including sections, is transposed to the corresponding output image list, which may also be given as an image template with sections ignored. The input and output images are paired in order and, thus, the number of input and output images must be the same. If an input image name (without an image section) and an output image name are the same then the input image is transposed to a temporary file which replaces the input image when the copy is successfully concluded. Note that this is the only case where clobber checking is bypassed; that is, if an output image name is not equal to the input image name and if a file already exists with the output image name then a clobber error will occur if clobber checking is in effect.

The transpose is done in square blocks whose dimensions are len_blk. By using a flip in the section for the input image with the transpose a rotation of the image may be produced.


EXAMPLES

1. To transpose an image:

cl> imtranspose image1 image2

2. To rotate an image 90 degrees:

cl> imtranspose image1[*,-*] image2

3. To transpose a set of images to form the new images trans001, trans002, and trans003:

cl> imtranspose images* trans001,trans002,trans003

4. To transpose a set of images in place:

cl> imtranspose frame* frame*

5. To rotate an image in place:

cl> imtranspose image[*,-*] image


BUGS

It is currently not legal to transpose images with a wcs type of MULTISPEC.


SEE ALSO


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu