raw2isis
Import raw cube into Isis format
This program will import a raw image into an Isis cube. Bytes will be swapped if
necessary and there is an option to create special pixels.
Categories
History
Tracie L Sucharski | 1994-07-21 | Original version |
Tracie L Sucharski | 2002-07-25 | Ported to Isis 3.0 |
Tracie L Sucharski | 2003-01-28 | Move from Utility to Import/Export category. |
Jeff Anderson | 2003-02-03 | Move from Import/Export to Import and Export category. |
Kim Sides | 2003-05-13 | Added application test |
Stuart Sides | 2003-05-16 | Modified schema location from astogeology... to isis.astrogeology..." |
Stuart Sides | 2003-07-29 | Modified filename parameters to be cube parameters where necessary |
Tracie Sucharski | 2003-08-22 | Modified to use the new IsisImport object, which simplified the code. |
Stuart Sides | 2003-10-10 | Modified call to StartProcess to match new IsisImport class. |
Jeff Anderson | 2004-02-06 | Modified due to refactor of IsisImport class |
Jeff Anderson | 2004-05-18 | Updated documentation |
Drew Davidson | 2005-06-27 | Updated application test |
Steven Koechle | 2007-08-29 | Added ability to change special pixel ranges. Added example. |
Christopher Austin | 2008-08-28 | Added the UNSIGNEDWORD option for param BITTYPE. |
Parameters
Files
Use this parameter to select the raw filename. If multi-band, it
is assumed to be in band sequential order.
Type | filename |
---|---|
File Mode | input |
Filter | *.raw |
Use this parameter to select the output filename
Type | cube |
---|---|
File Mode | output |
Filter | *.cub |
Raw file dimensions
This defines the number of samples in the raw image.
Type | integer |
---|
This defines the number of lines in the raw image.
Type | integer |
---|
This defines the number of bands in the raw image. If
greater than 1, the image is assumed to be in band sequential
order.
Type | integer |
---|---|
Default | 1 |
This defines the number of bytes to skip before the actual image
data is read. This would be for raw images with header data.
Type | integer |
---|---|
Default | 0 |
Data specifications
Bit type of data:
8 bit,
16 bit signed, or
32 bit
Type | string | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | UNSIGNEDBYTE | |||||||||||||||
Option List: |
|
Indicates the byte order of the data. Options are LSB (Least
Significant Byte firs) or MSB (Most Significant Byte first).
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | LSB | |||||||||
Option List: |
|
Special Pixels
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 |
|
Example 1
Using raw2isis with default parameters
The use of raw2isis to ingest raw data and output Isis cubes.
Command Line
This example shows the use of raw2isis create an Isis cube.
raw2isis
from= input.raw
to= out.cub
samples=126
lines=126
bands=2
bittype=real
GUI Screenshot
Data File
Links open in a new window.Raw input file. | This is the raw data |
---|