PET image file format conversion between ECAT and Analyze 7.5
ECAT 6.3 images ECAT 7 image volumes can be converted to Analyze 7.5 images using program ecat2ana.
Analyze 7.5 images can be converted to ECAT 6.3 images or ECAT 7 image volumes using ana2ecat.
Analyze 7.5 images can be converted from big endian byte order (Intel PC) to big endian byte order (SUN Sparc, Motorola, PowerPC) and vice versa using anabyteo. Byte order can be set already during conversion with command line options.
Analyze files do not contain time information (PET frames). Therefore, corresponding SIF data should always be kept with dynamic Analyze images.
Image flipping
Programs ecat2ana and ana2ecat, and all other programs that can read and write Analyze images, may flip the image in x,y,z-directions by default. Alternatively, flipping may not be done in z-direction (planes). The default setting can be checked with program anafldef.
This default behaviour of reversing or keeping the order of planes can
be changed by defining an environment variable
ANALYZE_FLIP
with values Y
or N
. Environment
variables can be set in Unix and
Linux e.g. by editing .cshrc
file in your home directory, and in Windows 2000
from Start > Settings > Control panel > System > Advanced >
Environment variables. Note that creating or changing environment variables only
has effect on shell or command prompt window that is started after the
change.
Image flipping during file conversions can be defined precisely, not
depending on the default behaviour, by using command line option -FLIP=Y
or
-FLIP=N
.
Editing image headers
- Editing ECAT 7 main header: e7emhdr
- Viewing ECAT 7 main header: lmhdr
- Editing Analyze 7.5 header: ana_ehdr
- Viewing Analyze 7.5 header: ana_lhdr