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


cubeatt

Printer Friendly View | TOC | Home

Cube attribute editor

Overview Parameters Example 1 Example 2 Example 3

Description

Copies the input cube to the output cube using the specified attributes.

Categories


History

Jacob Danton2005-11-16 Original version
Jacob Danton2006-02-06 Added examples
Jeff Anderson2007-06-25 Added ability to optionally not propagate tables
Steven Lambright and Stuart Sides2012-07-03 Cube attributes on EVERY program in Isis have had their behavior modified. If you type an unrecognized attribute (e.g. out.cub+Bsqq instead of out.cub+Bsq), instead of ignoring you an error will be thrown. Please see: http://isis.astrogeology.usgs.gov/documents/CommandLine/CommandLine.html for an explanation of Cube Attributes.
Kimberly Oyama2014-04-07 Added an app test for repeating virtual band input. References #1927.

Parameter Groups

Files

Name Description
FROM Input file
TO Output cube

Options

Name Description
PROPTABLES Propagate tables
X

Files: FROM


Description

The input cube.

Type cube
File Mode input
Filter *.cub
Close Window
X

Files: TO


Description

The resultant cube with attribute modifications.

Type cube
File Mode output
Filter *.cub
Close Window
X

Options: PROPTABLES


Description

This option allows the user to select if tables will be propagated to the output cube

Type boolean
Default true
Close Window

Example 1

cubeatt example

Description

Example of the cubeatt program.

Command Line

cubeatt from=peaks.cub+1 to=peaks_band1.cub
Copy the first band of peaks.cub into peaks_band1.cub.

GUI Screenshot

cubeatt GUI

Example GUI

Screenshot of GUI with parameters filled in to perform this example

Input Image

Input image

Input image

Parameter Name: FROM

This is the input image, peaks.cub.

Output Image

Output image

Example output

Parameter Name: TO

This is the output image which consists of just the first band of peaks. Notice, it is impossible to tell them apart.


Example 2

cubeatt example

Description

Example of the cubeatt program.

Command Line

cubeatt from=peaks.cub to=peaks_8bit.cub+8bit+0.0:255.0
Copy an 8bit version of peaks.cub into peaks_8bit.cub.

GUI Screenshot

cubeatt GUI

Example GUI

Screenshot of GUI with parameters filled in to perform this example

Input Image

Input image

Input image

Parameter Name: FROM

This is the input image, peaks.cub.

Output Image

Output image

Example output

Parameter Name: TO

This is the output image which is an 8-bit version of the original which is 32-bits. Again, it is impossible to tell them apart.


Example 3

cubeatt example

Description

Example of the cubeatt program.

Command Line

cubeatt from=peaks.cub+1 to=peaks_8bit.cub+8bit+75.0:125.0
Copy an 8bit version of the first band in peaks.cub into peaks_cropped.cub that has a output range from 75 to 125.

GUI Screenshot

cubeatt GUI

Example GUI

Screenshot of GUI with parameters filled in to perform this example

Input Image

Input image

Input image

Parameter Name: FROM

This is the input image, peaks.cub.

Output Image

Output image

Example output

Parameter Name: TO

This is the output image which is an 8-bit version of the first band of the original which is 32-bits. The range of the output image has been limited to values between 75 and 125.