Help for PIC2VIC
Converts PIC formatted images to VICAR. PIC is a trivially simple file format
used by the Robotics Group at JPL. It consists of a 4-byte header with lines
and samples followed by image data.
PIC does not seem to support multi-band data. However, the FIDO rover at
least uses it that way. The BAND parameter can be used to select a band to
read. No check is made that the band is present. Data for each band simply
follows each other in the file with no intervening header. There is also
no header to specify the number of bands (which is why it's not checked).
REVISION HISTORY
Date: March 18,1994
Cognizant Engineer: S.V.Hwan
References: PIC software, Todd Litwin, February 1993,
Caltech copyright (C) 1993
Modifications:
SVH 22 July 1994 Moved PICS related routines to seperate file
CRI 05 Sept 1994 MSTP S/W Conversion (VICAR Porting)
RGD 28 Sept 2000 Added BAND parameter
AXC 15 May 2001 Modified pic_read.c routine to process multiband image
on VMS system (AR-105427)
PARAMETERS:
PIC_INP
PIC format image file
OUT
VICAR output file
BAND
Starting band number to read
NBANDS
Number of bands to read
See Examples:
Cognizant Programmer: