Home
About Isis
Support
Download

Isis 3

Documentation
Tutorials
Technical Documents

Isis 2

Documentation
Tutorials
Technical Documents

Search

USGS

Isis 3 Application Documentation


std2isis

Printer Friendly View | TOC | Home

Imports a cube from PNG, JPEG, BMP or TIFF format

Overview Parameters Example 1

Description

This program will import several standard image formats to an Isis cube. The input image formats may include PNG, JPEG, TIFF, BMP, and GIF. Not all formats are available as the program implementation depends on the Qt library by TrollTech. This program's output will be a cube with exactly one band.

Categories


Related Objects and Documents

Applications


History

Steven Lambright2007-07-18 Original version
Steven Koechle2007-08-29 Added special pixel ranges and updated example images

Parameter Groups

Files

Name Description
FROM Input image file to import
TO Output file

Special Pixels

Name Description
SETNULLRANGECreate special pixel values
NULLMIN Minimum valid value
NULLMAX Maximum valid value
SETHRSRANGECreate special pixel values
HRSMIN Minimum valid value
HRSMAX Maximum valid value
SETLRSRANGECreate special pixel values
LRSMIN Minimum valid value
LRSMAX Maximum valid value
X

Files: FROM


Description

Use this parameter to select the filename to import.

Type filename
File Mode input
Filter *.PNG *.JPG* .JPEG *.BMP *.TIFF *.GIF
Close Window
X

Files: TO


Description

Use this parameter to specify the name of the output cube.

Type cube
File Mode output
Pixel Type real
Close Window
X

Special Pixels: SETNULLRANGE


Description

If this option is used input raw pixels below minimum and above maximum will be converted to LRS and HRS respectively. Otherwise pixels in the input raw file will be left unchanged in most cases. For example, importing a raw 8-bit file and outputing to a 16-bit or 32-bit real will cause 0 and 255 to be actual values. If left as 8-bit then 0 will be NULL and 255 will be HRS.

Type boolean
Default NO
Inclusions
  • NULLMIN
  • NULLMAX
Close Window
X

Special Pixels: NULLMIN


Description

Minimum valid value. Anything below this value will be set to LRS.

Type double
Inclusions
  • SETNULLRANGE
Close Window
X

Special Pixels: NULLMAX


Description

Maximum valid value. Anything above this value will be set to HRS.

Type double
Inclusions
  • SETNULLRANGE
Close Window
X

Special Pixels: SETHRSRANGE


Description

If this option is used input raw pixels below minimum and above maximum will be converted to LRS and HRS respectively. Otherwise pixels in the input raw file will be left unchanged in most cases. For example, importing a raw 8-bit file and outputing to a 16-bit or 32-bit real will cause 0 and 255 to be actual values. If left as 8-bit then 0 will be NULL and 255 will be HRS.

Type boolean
Default NO
Inclusions
  • HRSMIN
  • HRSMAX
Close Window
X

Special Pixels: HRSMIN


Description

Minimum valid value. Anything below this value will be set to LRS.

Type double
Inclusions
  • SETHRSRANGE
Close Window
X

Special Pixels: HRSMAX


Description

Maximum valid value. Anything above this value will be set to HRS.

Type double
Inclusions
  • SETHRSRANGE
Close Window
X

Special Pixels: SETLRSRANGE


Description

If this option is used input raw pixels below minimum and above maximum will be converted to LRS and HRS respectively. Otherwise pixels in the input raw file will be left unchanged in most cases. For example, importing a raw 8-bit file and outputing to a 16-bit or 32-bit real will cause 0 and 255 to be actual values. If left as 8-bit then 0 will be NULL and 255 will be HRS.

Type boolean
Default NO
Inclusions
  • LRSMIN
  • LRSMAX
Close Window
X

Special Pixels: LRSMIN


Description

Minimum valid value. Anything below this value will be set to LRS.

Type double
Inclusions
  • SETLRSRANGE
Close Window
X

Special Pixels: LRSMAX


Description

Maximum valid value. Anything above this value will be set to HRS.

Type double
Inclusions
  • SETLRSRANGE
Close Window

Example 1

Converting an image to an Isis Cube

Description

This example will show the conversion from a standard grayscale JPEG image to a cube.

Command Line

std2isis FROM=peaks.jpg TO=peaks.cub
Convert the image peaks.jpg to the Isis Cube peaks.cub

GUI Screenshot

Convert the image peaks.jpg to the Isis Cube peaks.cub

Convert the image peaks.jpg to the Isis Cube peaks.cub

The is the GUI for std2isis when converting the image peaks.jpg to the Isis Cube peaks.cub

Input Image

Input Image

Input Image

The is the input image peaks.jpg in this example.

Output Image

Output Image

Output Isis Cube

The is the output Isis Cube peaks.cub generated from this example.