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 Becker | 1993-05-19 | Original version |
Jeff Anderson | 2002-05-21 | Ported to Isis 3.0 |
K Teal Thompson | 2002-11-21 | Add example |
K Teal Thompson | 2003-03-28 | Make images smaller. |
Stuart Sides | 2003-04-04 | Fixed problem with isiscvs not checking in the thumb and image directories. |
Kim Sides | 2003-05-13 | Added application test |
Stuart Sides | 2003-05-16 | Modified schema location from astogeology... to isis.astrogeology..." |
Stuart Sides | 2003-07-29 | Modified filename parameters to be cube parameters where necessary |
Jeff Anderson | 2004-03-31 | Modified XML file to default output pixel type to real |
Steven Lambright | 2012-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: |
|
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
Example GUI
makecube GUIScreenshot of GUI with parameters filled in to perform the makecube operation