In general a user provided image data set consists of a set of 2D rectangular data arrys (the slices in the image), which are either organized sequentially in a single file or in separate files. The data is usually in char (8 bit), short (16 bit) or 32 bit integer or float format. The data in a file is sometimes proceeded by a header. 3DMA currently supports the following input formats. Users should contact the code author's to discuss inclusion of unsupported formats.
Slice (slc) | Header | Header | |||
File Type | Symbol | Vol (vol) | Type | (Y/N) | Size |
Both | |||||
_____________________ | ______ | ________ | ________ | ____ | ____________ |
ASCII | ai | slc | ascii | N | |
binary integer | bi | both | binary | N | |
swapped binary integer | sbi | both | binary | N | |
binary short integer | bs | both | binary | N | |
swapped binary short | sbs | both | binary | N | |
binary unsigned chars | ubc | both | binary | N | |
NetCDF binary | nc | slc | binary | Y | Variable |
NetCDF ascii | na | slc | ascii | Y | Variable |
Kimberly Clark | kc | slc | binary | Y | 384 bytes |
sun rasterfile | sr8 | slc | binary | Y | Variable |
(8-bit color) | |||||
sun rasterfile | sr24 | slc | binary | Y | Variable |
(24-bit color) | |||||
Bio-Rad pic | pic | vol | binary | N |
ASCII (ai)
The data is stored as a one dimensional list of ASCII integers. No
header.
binary integer (bi)
The data is stored as a one dimensional sequence of binary integers (4
bytes). No header.
swapped binary integer (sbi)
The data is stored as a one dimensional sequence of binary integers (4
bytes).
This input format is useful for incorporating data obtained
from a machine with a different Endian nature. No header.
binary short integer (bs)
The data is stored as a one dimensional sequence of binary short
integers (2 bytes). No header.
swapped binary short integer (sbs)
The data is stored as a one dimensional sequence of binary short
integers (2 bytes).
This input format is useful for incorporating data obtained
from a machine with a different Endian nature. No header.
unsigned character array (ubc)
The data is stored as a one dimensional sequence of binary unsigned
characters (1 byte). No header.
netcdf files (nc)
The data is stored using the NETCDF libraries for storing character
data.
netcdf ascii files (na)
The data is stored using the NETCDF libraries for ascii data.
Kimberly Clark data (kc)
The data is stored as a one dimensional sequence of binary short
integers (1 byte). A 368 byte header is part of the file structure,
but is not used by the 3DMA code.
Bio-Rad pic (pic)
The data is stored using the Bio-Rad MRC-600 software. 76 Byte header.