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 Documentation

vicar2isis

Import Vicar image file into Isis format

This program will import a Vicar image file into an Isis cube. No translation of Vicar labels are done.

Categories


History

Tracie L Sucharski2003-09-10 Original version
Jeff Anderson2004-02-06 Modified due to IsisImport refactor
Elizabeth Miller2005-11-15 Added appTest
Steven Koechle2007-08-29 Added special pixel ranges and example

Parameters

Files

Use this parameter to select the Vicar filename. If multi-band, it is assumed to be in band sequential order.
Type filename
File Mode input
Filter *.img *.IMG *.vic

Use this parameter to select the output filename
Type cube
File Mode output
Filter *.cub

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
  • NULLMIN
  • NULLMAX

Minimum valid value. Anything below this value will be set to LRS.
Type double
Inclusions
  • SETNULLRANGE

Maximum valid value. Anything above this value will be set to HRS.
Type double
Inclusions
  • SETNULLRANGE

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

Minimum valid value. Anything below this value will be set to LRS.
Type double
Inclusions
  • SETHRSRANGE

Maximum valid value. Anything above this value will be set to HRS.
Type double
Inclusions
  • SETHRSRANGE

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

Minimum valid value. Anything below this value will be set to LRS.
Type double
Inclusions
  • SETLRSRANGE

Maximum valid value. Anything above this value will be set to HRS.
Type double
Inclusions
  • SETLRSRANGE

Example 1

Converting an vicar file to an Isis Cube

This example will show the conversion from a vicar file to a cube.

Command Line

Convert the image input.img to the Isis Cube out.cub
vicar2isis FROM=input.img TO=out.cub

GUI Screenshot

Convert input.img to the Isis Cube out.cub

Convert the image input.img to the Isis Cube out.cub

Convert input.img to the Isis Cube out.cub

The is the GUI for vicar2isis when converting the ascii file input.txt to the Isis Cube out.cub

Data File

Links open in a new window.
Vicar input file. This is the vicar data

Output Image

Output Image

Output Isis Cube

Output Image

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