32#ifndef eman__single_spider_io_h__
33#define eman__single_spider_io_h__ 1
67 bool use_host_endian =
true);
82 bool use_host_endian =
true);
84 static bool is_valid(
const void *first_block);
Dict is a dictionary to store <string, EMObject> pair.
EMDataType
Image pixel data type used in EMAN.
Region defines a 2D or 3D rectangular region specified by its origin coordinates and all edges' sizes...
Single Spider Image I/O class.
SingleSpiderIO(const string &fname, IOMode rw_mode=READ_ONLY)
SingleSpiderIO constructor.
int write_header(const Dict &dict, int image_index=0, const Region *area=0, EMUtil::EMDataType filestoragetype=EMUtil::EM_FLOAT, bool use_host_endian=true)
Write a single SPIDER format header to an image.
bool is_valid_spider(const void *first_block)
check the data block to see if it represents valid stacked SPIDER image file header
int write_data(float *data, int image_index=0, const Region *area=0, EMUtil::EMDataType filestoragetype=EMUtil::EM_FLOAT, bool use_host_endian=true)
Write data to an image.
static bool is_valid(const void *first_block)
bool is_single_image_format() const
Is this image format only storing 1 image or not.
SPIDER: (System for Processing Image Data from Electron microscopy and Related fields) is an image pr...