HOME GUIDE OPERATIONS DOCS FAQ TECHNIQUES FORMATS INSTALL NEW TIPS WEB LINKS WADSWORTH

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.

SEE ALSO

CP FROM ASCII [Copy ASCII text file to SPIDER file]
CP FROM CCP4 [Copy CCP4 format File to SPIDER file]
CP FROM EMI [Copy EMISPEC format file to SPIDER file]
CP FROM MRC [Copy MRC format file to SPIDER file]
CP FROM PDB [Copy PDB file to SPIDER format]
CP FROM PE [Copy Perkin Elmer disk file to SPIDER format]
CP FROM RAW [Copy Raw Image to SPIDER file]
CP FROM TERM [Copy Terminal input to SPIDER file]
CP FROM VAX [Copy VAX SPIDER file to a Unix SPIDER file]
CP FROM XP [Copy X-PLOR ASCII file to 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 CCP4 [Copy SPIDER file To CCP4 format file]
CP TO MRC [Copy SPIDER file T0 MRC format file]
CP TO OPEND [Copy SPIDER file To Opposite Endedness]
CP TO POST [Copy SPIDER image to a POSTscript image]
CP TO RAW [Copy SPIDER file to a 8-bit raw image]
CP TO SGI [Copy SPIDER file to SGI format]
CP TO TIFF [Copy SPIDER file to a TIFF format]
CP TO VV [Copy SPIDER volume to Voxel View format]
CP TO XPLOR [Copy SPIDER volume to X-PLOR format]

USAGE

.OPERATION: CP FROM RAW

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

.ENTER 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.]

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

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

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

.ENTER 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

BACK TO SPIDER BACK TO WADSWORTH