CP FROM RAW - Copy Raw Image to SPIDER file

(2/28/03)

PURPOSE

Copies raw 8 or 16 bit integer, or 32 bit floating point input image to SPIDER file. You must know the dimensions of the input image. Can skip a header.   Example.

SEE ALSO

CP FROM ASCII [Copy ASCII text file to SPIDER file]
CP FROM EMI [Copy EMISPEC format file to SPIDER file]
CP FROM MRC [Copy MRC file to SPIDER file]
CP FROM NIK [Copy Nikon Coolscan format file to SPIDER file]
CP FROM PDB [Copy PDB file to SPIDER format]
CP FROM RAW [Copy Raw Image to SPIDER file]
CP FROM TERM [Copy Terminal input to SPIDER image/volume]
CP FROM TIFF [Copy TIFF format file to SPIDER file]
CP FROM VAX [Copy VAX SPIDER file to a Unix SPIDER file]
CP TO ASCII [Copy SPIDER file to ASCII text format]
CP TO BRIX [Copy SPIDER volume to BRIX file for "O" input]
CP TO MRC [Copy SPIDER file To MRC (CCP4) format file]
CP TO OPEND [Copy SPIDER file To Opposite Byte Endian]
CP TO POST [Copy SPIDER image to a POSTscript image]
CP TO RAW [Copy SPIDER file to a 8-bit raw image]
CP TO TIFF [Copy SPIDER file to a TIFF format]

USAGE

.OPERATION: CP FROM RAW

.EXISTING RAW FILE: INP000
[Enter name of input file.]

.BITS / PIXEL IN INPUT IMAGE (8, 16, 32 or -32): 16
[Enter bits used for each pixel in input file. The 32 bit input is assumed to be floating point! An entry of -32 will read floating point data and flip the byte ordering to compensate for different "endedness" of data.]

.COLUMNS, ROWS & SLICES: 64 64 64
[Enter columns, rows, and slices in input file.]

.HEADER BYTES TO BE SKIPPED: 512
[Enter bytes in input file header that should be skipped.]

If the input file has 16 bits / pixel SPIDER will ask following two questions. If you are unsure of the correct answers try all four possible combinations and examine the output images to see which one is correct:

.MOST SIGNIFICANT BYTE (1 OR 2): 1
[Different computers have different byte ordering. For SGI files this is usually 1.]

.FOLD NEGATIVES? (N/Y): N
[Can compensate for data stored as 2's complement integers. Some data saved as signed integers may need this.]

.NEW SPIDER IMAGE FILE: PIC002
[Enter name for output file.]

SUBROUTINES

RAWTOSPIDER

CALLER

COPY1

© Copyright Notice /       Enquiries: spider@wadsworth.org