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

makecube

Generate a cube with a constant value

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.

Parameters

Files

The file name of the output cube to be created.
Type cube
File Mode output
Pixel Type real
Filter *.cub

Pixel Specifications

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

This is the user specified value to output in all pixels in the output cube.
Type double
Default 0.0

Cube size

The number of samples to be allocated in the output cube
Type integer
Minimum 1 (inclusive)

The number of lines to be allocated in the ouput cube
Type integer
Minimum 1 (inclusive)

The number of bands to be allocated in the output cube
Type integer
Minimum 1 (inclusive)

Example 1

default value

let parameter PIXELS default to value.

Command Line

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

GUI Screenshot

makecube GUI

Example GUI

makecube 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

Output image showing results of the makecube application.

Parameter Name: TO

This is the output image makecube.cub.