Home

Quick Links

Software Manual
GitHub
API Reference

Documentation Versions

Latest Release
Dev
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


greyscale

Printer Friendly View | TOC | Home

Generate a grey scale cube

Overview Parameters Example 1 Example 2

Description

This program can be used to generate an output cube of user specified dimensions. The pixel values of each line or sample evenly increment or decrement from value1 input to value2 input. Note: Vertical scaling can take twice as long to process, however this is insignificant for output images less than 10,000 lines/samples.

Categories


History

Jeannie Walldren2010-05-13 Original version with examples.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 02/21/2025 19:28:10
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: DIRECTION


Description

The direction options allow the user to choose whether to scale the pixel values horizontally or vertically.

Type string
Default HORIZONTAL
Option List:
Option Brief Description
HORIZONTAL Scale DN values horizontally over each line. This option will scale the DN values from left to right across each line. The value given for BEGINDN will be the pixel value of the first sample of each line and ENDDN will be the pixel value of the last sample of each line.
VERTICAL Scale DN values vertically over each sample. This option will scale the DN values from top to bottom. The value given for BEGINDN will be the pixle value of the first line and ENDDN will be the pixel value of the last line.
Close Window
X

Pixel Specifications: BEGINDN


Description

This is the user specified DN value to output to the first pixel of each line (or row) if scaling horizontally or the first pixel of each sample (or column) if scaling vertically.

Type double
Default 0.0
Close Window
X

Pixel Specifications: ENDDN


Description

This is the user specified DN value to output to the last pixel of each line (or row) if scaling horizontally or the last pixel of each sample (or column) if scaling vertically.

Type double
Default 0.0
Close Window
X

Cube size: SAMPLES


Description

The number of samples to be allocated in the output cube. This integer value must be at least 1.

Type integer
Default 1
Minimum 1 (inclusive)
Close Window
X

Cube size: LINES


Description

The number of lines to be allocated in the ouput cube. This integer value must be at least 1.

Type integer
Default 1
Minimum 1 (inclusive)
Close Window