Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2009-04-20 17:59:56
Size: 1436
Comment:
Revision 6 as of 2009-04-21 21:25:50
Size: 1453
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||Type || Extension || Read || Write || 3D || stack || Comments ||
||MRC || mrc || Y || Y || Y || N || ||
||Spider || spi || Y || Y || || Y || ||
||Imagic || img/hed || Y || Y || || Y || ||
||HDF || hdf || Y || Y || Y || Y || ||
||DM3 || dm3 || || Y || || || ||
||TIFF || tiff/tif || || || || || ||
||PGM || pgm || || || || || ||
||LST || lst || || || || || ||
||PIF || pif || || || || || ||
||VTK || || || || || || ||
||PNG || png || || || || || ||
||SAL || || || || || || ||
||ICOS || || || || || || ||
||EMIM || || || || || || ||
||Gatan2 || || || || || || ||
||Amira || || || || || || ||
||XPLOR || || || || || || ||
||EM || em || || || || || ||
||V4L || || || || || || ||
||JPEG || jpg/jpeg || || || || || ||
||FITS || || || || || || ||
||LSTFAST || || || || || || ||
<<TableOfContents>>

= Table of supported image formats in EMAN2 =
||Type ||Extension ||Read ||Write ||3D ||stack ||Comments ||
||MRC ||mrc ||Y ||Y ||Y ||N || ||
||Spider ||spi ||Y ||Y || ||Y || ||
||Imagic ||img/hed ||Y ||Y || ||Y ||seperate header and data file||
||HDF5 ||hdf ||Y ||Y ||Y ||Y ||can write different size image into same stack||
||DM3 ||dm3 || ||N || || || ||
||TIFF ||tiff/tif || || || || || ||
||PGM ||pgm || || ||N||N||8 bits per pixel||
||LST ||lst ||Y||Y||Y||Y||ASCII file contains a list of image file names||
||PIF ||pif || || || ||Y||images in PIF stack are homogenous||
||VTK || || || ||Y||N|| ||
||PNG ||png || || || || ||lossless data compression||
||SAL ||hdr/img||Y||N||N||N||seperate header and data file||
||ICOS || || || ||Y||N|| ||
||EMIM || || || || || || ||
||Gatan2 || ||Y||N||N||N|| ||
||Amira || ||N||Y||Y||N|| ||
||XPLOR || || || ||Y||N||8 bytes integer, 12.5E float format||
||EM ||em || || ||Y||N|| ||
||V4L || ||Y||N|| || || ||
||JPEG ||jpg/jpeg ||N||Y|| ||N||lossy data compression||
||FITS || ||Y||N||Y|| ||common file format in astronomy||
||LSTFAST || || || || || || ||
Line 26: Line 30:
Line 39: Line 42:

Table of supported image formats in EMAN2

Type

Extension

Read

Write

3D

stack

Comments

MRC

mrc

Y

Y

Y

N

Spider

spi

Y

Y

Y

Imagic

img/hed

Y

Y

Y

seperate header and data file

HDF5

hdf

Y

Y

Y

Y

can write different size image into same stack

DM3

dm3

N

TIFF

tiff/tif

PGM

pgm

N

N

8 bits per pixel

LST

lst

Y

Y

Y

Y

ASCII file contains a list of image file names

PIF

pif

Y

images in PIF stack are homogenous

VTK

Y

N

PNG

png

lossless data compression

SAL

hdr/img

Y

N

N

N

seperate header and data file

ICOS

Y

N

EMIM

Gatan2

Y

N

N

N

Amira

N

Y

Y

N

XPLOR

Y

N

8 bytes integer, 12.5E float format

EM

em

Y

N

V4L

Y

N

JPEG

jpg/jpeg

N

Y

N

lossy data compression

FITS

Y

N

Y

common file format in astronomy

LSTFAST

Saving EMData from Python

If you want to be prompted to supply a image name using a standard dialog use this approach

   1 # save a single image
   2 a = test_image()
   3 from emsave import save_data
   4 save_data(a)
   5 
   6 # save a list of images as a stack
   7 b = test_image(2)
   8 save_data([a,b])

EMAN2/ImageFormats (last edited 2024-02-01 04:08:01 by SteveLudtke)