Home

Quick Links

Software Manual
GitHub
API Reference

Documentation Versions

Public Release
8.3.0
8.2.0
8.1.0
8.0.0
7.2.0
7.1.0
7.0.0
6.0.0
3.9.0
3.5.0
USGS

ISIS Application Documentation


rotate

Standard View | TOC | Home

Rotates a cube any number of degrees

Description
Categories
Groups
History


Description

This program will rotate a cube any number of degrees. The rotation will not clip any pixels from the input (i.e., the output cube will be made large enough to contain all of the input cube). Pixels outside of the input cube will be set to NULL.

Categories


Parameter Groups

Files

Name Description
FROM Input cube to rotate
TO Output cube

Rotation

Name Description
DEGREESNumber of degrees of rotation
INTERPType of interpolation

Files: FROM

Description

Use this parameter to select the filename. All bands within the file will be rotated unless a specific band is specified.

Type cube
File Mode input
Filter *.cub

Files: TO

Description

This file will contain the results of the rotation.

Type cube
File Mode output

Rotation: DEGREES

Description

This defines the number of degrees the cube will be rotated. The angle is measured positive clockwize.

Type double
Minimum -360.0 (exclusive)
Maximum 360.0 (exclusive)

Rotation: INTERP

Description

This is the type of interpolation to be performed on the input.

Type string
Default CUBICCONVOLUTION
Option List:
Option Brief Description
NEARESTNEIGHBORNearest Neighbor Each output pixel will be set to the pixel nearest the calculated input pixel.
BILINEARBi-Linear interpolation Each output pixel will be set to the value calculated by a bi-linear interpolation of the calculated input pixel.
CUBICCONVOLUTIONCubic Convolution interpolation Each output pixel will be set to the value calculated by a cubic convolution interpolation of the calculated input pixel.

History

Stuart Sides2002-10-28 Original version
Kim Sides2003-05-13 Added application test
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-05-30 Fixed compiler error with uninitialized variable after adding -O1 flag
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Steven Lambright2007-06-22 Fixed typo in user documentation
Steven Lambright2008-05-13 Removed references to CubeInfo