Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

ISIS Documentation

rotate

Rotates a cube any number of degrees

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


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

Parameters

Files

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

This file will contain the results of the rotation.
Type cube
File Mode output

Rotation

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)

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.