Home
About ISIS
Support
Download

ISIS 3

Documentation
Tutorials
Technical Documents

ISIS 2

Documentation
Tutorials
Technical Documents

Search

USGS

ISIS 3 Application Documentation


makecube

Printer Friendly View | TOC | Home

Generate a cube with a constant value

Overview Parameters Example 1

Description

This program can be used to generate an output cube of user specified dimensions with a constant value for each of the pixels. In general, it is more useful as a development tool than as a standard image processing tool. For example, a person developing software to compute statistics on a cube can used this program to create the degenerate case.

Categories


Related Applications to Previous Versions of ISIS

This program replaces the following application existing in previous versions of ISIS:
  • zero

History

Kris Becker1993-05-19 Original version
Jeff Anderson2002-05-21 Ported to Isis 3.0
K Teal Thompson2002-11-21 Add example
K Teal Thompson2003-03-28 Make images smaller.
Stuart Sides2003-04-04 Fixed problem with isiscvs not checking in the thumb and image directories.
Kim Sides2003-05-13 Added application test
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Jeff Anderson2004-03-31 Modified XML file to default output pixel type to real
Steven Lambright2012-02-24 Rewrote to no longer use StartProcess() since it's deprecated. This program no longer uses global variables.

Parameter Groups

Files

Name Description
TOOutput cube

Pixel Specifications

Name Description
PIXELSType of value to output
VALUEValue to output for all pixels

Cube size

Name Description
SAMPLESNumber of samples in the cube
LINESNumber of line in the cube
BANDSNumber of bands in the cube
X

Files: TO


Description

The file name of the output cube to be created.

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

Pixel Specifications: PIXELS


Description

This is the value to output in all pixels in the output image. The value can be one of the standard Isis special pixel values (NULL, LIS, LRS, HIS, HRS) or a user specified constant.

Type string
Default VALUE
Option List:
Option Brief Description
NULL Null value Each pixel will be set to the Null value

Exclusions

  • VALUE
LIS Low instrument saturation Each pixel will be set to Low Instrument Saturation value

Exclusions

  • VALUE
HIS High instrument saturation Each pixel will be set to High Instrument Saturation value

Exclusions

  • VALUE
LRS Low representation saturation Each pixel will be set to Low Representation Saturation value

Exclusions

  • VALUE
HRS High representation saturation Each pixel will be set to High Representation Saturation value

Exclusions

  • VALUE
VALUE User specified value Each pixel will be set the user specified value
Close Window
X

Pixel Specifications: VALUE


Description

This is the user specified value to output in all pixels in the output cube.

Type double
Default 0.0
Close Window
X

Cube size: SAMPLES


Description

The number of samples to be allocated in the output cube

Type integer
Minimum 1 (inclusive)
Close Window
X

Cube size: LINES


Description

The number of lines to be allocated in the ouput cube

Type integer
Minimum 1 (inclusive)
Close Window
X

Cube size: BANDS


Description

The number of bands to be allocated in the output cube

Type integer
Minimum 1 (inclusive)
Close Window

Example 1

default value

Description

let parameter PIXELS default to value.

Command Line

makecube t=makecube.cub v=100. s=800 l=800 b=1
Run makecube letting parameter PIXELS default to value and setting parameter VALUE to 100.

GUI Screenshot

makecube GUI

Example GUI

Screenshot of GUI with parameters filled in to perform the makecube operation

Output Image

Output image showing results of the makecube application.

Output image Io example of makecube

Parameter Name: TO

This is the output image makecube.cub.