Home

User Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Contributor Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Quick Links

Software Manual
AstroDiscuss
GitHub
API Reference

Documentation Versions


ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


rotate

Printer Friendly View | TOC | Home

Rotates a cube any number of degrees

Overview Parameters

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


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

Parameter Groups

Files

Name Description
FROM Input cube to rotate
TO Output cube

Rotation

Name Description
DEGREESNumber of degrees of rotation
INTERPType of interpolation
X

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
Close Window
X

Files: TO


Description

This file will contain the results of the rotation.

Type cube
File Mode output
Close Window
X

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)
Close Window
X

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.
Close Window