ISIS Application Documentation
std2isis | Standard View | TOC | Home |
Imports a cube from PNG, JPEG, JP2, BMP or TIFF format
Description
Categories
Groups
Examples
History
Name | Description |
---|---|
FROM | Input image file to import |
TO | Output image |
Name | Description |
---|---|
MODE | Mode for determining color model |
Name | Description |
---|---|
SETNULLRANGE | Create special pixel values |
NULLMIN | Minimum valid value |
NULLMAX | Maximum valid value |
SETHRSRANGE | Create special pixel values |
HRSMIN | Minimum valid value |
HRSMAX | Maximum valid value |
SETLRSRANGE | Create special pixel values |
LRSMIN | Minimum valid value |
LRSMAX | Maximum valid value |
Use this parameter to select the filename to import.
Type | filename |
---|---|
File Mode | input |
Filter | *.PNG *.JPG* .JPEG *.BMP *.TIF *.TIFF *.GIF *.JP2 |
Use this parameter to specify the name of the output cube.
Type | cube |
---|---|
File Mode | output |
Pixel Type | real |
This parameter specifies the image mode for the output cube. If GRAYSCALE, a single one-band cube will be created. If RGB, a three-band cube is created. Finally, if ARGB is selected, then a four-band cube will be created where the four bands correspond to first Red, second Green, third Blue, and last Alpha.
Type | string | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | AUTO | |||||||||||||||
Option List: |
|
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 |
|
Minimum valid value. Anything below this value will be set to LRS.
Type | double |
---|---|
Inclusions |
|
Maximum valid value. Anything above this value will be set to HRS.
Type | double |
---|---|
Inclusions |
|
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 |
|
Minimum valid value. Anything below this value will be set to LRS.
Type | double |
---|---|
Inclusions |
|
Maximum valid value. Anything above this value will be set to HRS.
Type | double |
---|---|
Inclusions |
|
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 |
|
Minimum valid value. Anything below this value will be set to LRS.
Type | double |
---|---|
Inclusions |
|
Maximum valid value. Anything above this value will be set to HRS.
Type | double |
---|---|
Inclusions |
|
Converting an image to an Isis Cube in Automatic mode
Example GUI Screenshot of the GUI for std2isis, ready to convert the image input.png to the Isis Cube argb.cub, with mode left at its default of AUTOMATIC. |
Input Image The input image, a color PNG in this example. |
Output Isis Cube with Grayscale The four-band ARGB output image viewed in black-and-white with a grayscale. |
|
Output Isis Cube with RGB The same four-band ARGB output image viewed in color with RGB filtering (Band 1 = Red, Band 2 = Green, Band 3 = Blue). Note that the image here appears brighter than the original, because qview has auto-stretched the DN values, and can be adjusted back with qview's "stretch" tool. The actual data, however, has not been changed. |
|
Output Isis Cube with RGA The same four-band ARGB output image viewed in color with RGB filtering as in the previous image, but here Band 4 (the alpha channel) is viewed through the Blue filter. |
Converting an image to an Isis Cube in Grayscale mode
Example GUI Screenshot of the GUI for std2isis, ready to convert the image input.png to the Isis Cube gray.cub with mode set to GRAYSCALE. |
Input Image The input image, in this example, the same color PNG from the previous example. |
Output Isis Cube The is the output Isis Cube peaks.cub generated from this example. |
Converting an image to an Isis Cube in RGB mode
Example GUI Screenshot of the GUI for std2isis, ready to convert the image input.png to the Isis Cube rgb.cub with mode set to RGB. |
Input Image The input image, in this example, the same color PNG from the first example. |
Output Isis Cube with Grayscale The three-band RGB output image viewed in black-and-white with a grayscale. |
|
Output Isis Cube with RGB The same three-band RGB output image viewed in color with RGB filtering (Band 1 = Red, Band 2 = Green, Band 3 = Blue). Once again, the output image appears to be brighter than the original due to qview's auto-stretching, but can be adjusted in qview with the "stretch" tool. |
Steven Lambright | 2007-07-18 | Original version |
Steven Koechle | 2007-08-29 | Added special pixel ranges and updated example images |
Travis Addair | 2009-12-01 | Added support for RGB and ARGB imports. |
Travis Addair | 2009-12-03 | Added AUTO option for automatically determining MODE. |
Travis Addair | 2009-12-04 | Changed example and added two new examples. |
Janet Barrett | 2010-01-24 | Added support for JPEG2000 files. |
Kimberly Oyama | 2014-01-17 | Updated the default app test to make sure the history group is in the resulting cube label. References #1894. |