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


ratio

Printer Friendly View | TOC | Home

Divide two cubes

Overview Parameters Example 1 Example 2

Description

This program divides two cubes. It operates in one of two manners: 1) the denominator cube must have the same number of bands as the numerator cube or 2) the denominator cube must have exactly one band. In the former case, corresponding bands are divided, for example, band one is divided by band one, band two by band two, and so on. In the later case, all bands in the numerator cube are divided by the single band in the denominator cube. Special pixels values are handled identically in both cases. Whenever a special pixel occurs, in either the numerator or denominator, the output pixel is set to NULL. Likewise, if the denominator is zero, the output is set to NULL.

Categories


Related Applications to Previous Versions of ISIS

This program replaces the following applications existing in previous versions of ISIS:
  • ratio
  • cosi

History

Eric Eliason1990-09-01 Original version
Jeff Anderson2002-06-17 Converted to Isis 3.0
Kim Sides2003-05-13 Added application test
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-07-22 Changed NUM, DEN and To from type filename to type cube
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary

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:13
X

Files: NUMERATOR


Description

The numerator cube. All pixels in this cube will be divided by corresponding pixels in the denominator cube.

Type cube
File Mode input
Filter *.cub
Close Window
X

Files: DENOMINATOR


Description

The denominator cube. The number of bands in this cube must match the numerator cube or be exactly one. In the former case, a band-by-band division occurs. In the later, each numerator band is divided by the single denominator band.

Type cube
File Mode input
Filter *.cub
Close Window
X

Files: TO


Description

The output cube containing the results of the ratio. A NULL pixel will be output when either of the numerator or denominator pixels is special. Similarly, a NULL will be output if the denominator pixel is zero.

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