Skip to content
U.S. flag

An official website of the United States government

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 Cube Format

What Is A Cube?


Three axes from the top left front corner of a cube, showing lines in the Y dimension, samples in the X dimension, and bands in the Z dimension.

A cube is a 3-dimensional image with axis: samples, lines, and bands. The physical dimensions of a cube are called the number of samples (NS), number of lines (NL), and number of bands (NB). Typically, the sample and line dimensions are used to represent spatial information while the band dimension represents spectral information. See the table below for examples of the line, sample, and band dimensions of a few data sets from planetary missions.

Illustration of an ISIS3 image cube, showing the three dimensions of an ISIS3 image: width (samples), height (lines), and depth (bands)

Instrument/Camera # Lines # Samples # Bands Bands
Mars Odyssey - Thermal Emission Imaging System, Infrared (THEMIS-IR) 240 320 10 All 10 are Infrared, ranging from 6.78 to 14.88 microns
Mars Odyssey - Thermal Emission Imaging System, Visible Imaging Subsystem (THEMIS-VIS) 1024 1024 5 visible
Viking Orbiter 1056 1204 1 ? blue, minus-blue, violet, green, red, clear
Mars Global Surveyor - Mars Oribiter Camera Wide Angle (MOC-WA) * 3456 1 bandwidth encompasses visible and near-infrared
Galileo Near-Infrared Mapping Spectrometer (NIMS) * 20 408 visible to infrared

What Are Pixels?


The individual cells within a cube are called pixels. Each pixel in a cube has a location, which is similar to rectangular coordinates (i.e.., (samples, lines, bands)). A cube can be as small as one sample, by one line, by one band (1,1,1). If we had a cube of this size, it would contain only one pixel. A cube can be as large as thousands of samples, by thousands of lines, by thousands of bands. A cube with dimensions (1000, 1000, 1000) would contain one billion pixels. See the ISIS Cube Demo for an interactive visual of samples, lines, and bands.

Tip

Notice sample 1 is on the left edge of the image and line 1 is on the top edge. Therefore, to figure out the coordinates of a pixel, count lines and samples staring with 1,1 in the upper left corner and move down and to the right.

Bit-Depth (aka Bit-Type)

For more info about the amount of data stored per-pixel, or range of DNs, see Bit-Type

Pixel Values: Digital Numbers


Each pixel contains a numerical value, often referred to as the digital number, or DN. Low DNs typically show up as black in the image and high DN as white. DNs represent a measurement in units such as:

  • Radiance - A measurement describing the amount of electromagnetic energy emitted from an area of a planet
  • Reflectance - The ratio of reflected energy to incoming energy
  • Elevation - The height above or below a fixed point on the surface of a body
  • Emissivity - A measure describing a substances ability to absorb and radiate electromagnetic energy

Core Base and Multiplier Basics


An 8-bit cube needs to represent elevations in meters. Unfortunately, 8-bit pixels have a range of 0 to 255, which is very restrictive for elevation. ISIS3 deals with this problem by using a Core Base and Multiplier. Each DN is really treated as a kind of floating point number in all ISIS3 programs. A multiplier of 100 on an 8-bit cube would make the DN range from 0 to 25500. A base of 30 with a multiplier of 100 would make that range from 30 to 25530.

Base + Multiplier * DN = True DN

Sub-Pixel Positioning


ISIS3 programs and users often need to interact at the sub-pixel level. That is, fractional pixel positions. The integral sample/line position is defined to be the center of a pixel.

Take a pixel centered at (5, 5) for example. The upper left of the pixel contains the point (4.75, 4.75), and the lower right of the pixel contains the point (5.25, 5.25). The threshold between pixels is a value ending in .5

Summary


Cubes are made up of individual pixels. Each pixel usually represents some area of a planet, moon, asteroid or other body. Pixels hold a DN (digital number). That number can be one, two or four bytes long depending on the accuracy necessary to represent the data. DNs can be modified by a "Base" and "Multiplier". The columns of a cube are called samples, the rows are called lines and a plane of samples and lines is called a band.