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

Public Release
8.1.0
8.0.0
7.2.0
7.1.0
7.0.0
6.0.0
3.9.0
3.5.0

ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


makecube

Standard View | TOC | Home

Generate a cube with a constant value

Description
Categories
Groups
Examples
History


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:

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

Files: TO

Description

The file name of the output cube to be created.

Type cube
File Mode output
Pixel Type real
Filter *.cub

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

Pixel Specifications: VALUE

Description

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

Type double
Default 0.0

Cube size: SAMPLES

Description

The number of samples to be allocated in the output cube

Type integer
Minimum 1 (inclusive)

Cube size: LINES

Description

The number of lines to be allocated in the ouput cube

Type integer
Minimum 1 (inclusive)

Cube size: BANDS

Description

The number of bands to be allocated in the output cube

Type integer
Minimum 1 (inclusive)

Examples


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.


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.