32#ifndef eman__pifio_h__
33#define eman__pifio_h__ 1
59 static bool is_valid(
const void *first_block);
ImageIO classes are designed for reading/writing various electron micrography image formats,...
PIF(Portable Image Format for EM Data) is an image format from Purdue University.
bool is_float_int(int mode)
int get_mode_size(PifDataMode mode)
int get_nimg()
Return the number of images in this image file.
static bool is_valid(const void *first_block)
int to_em_datatype(int pif_datatype)
@ PIF_SHORT_FLOAT_COMPLEX
bool is_single_image_format() const
Is this image format only storing 1 image or not.
PifIO(const string &fname, IOMode rw_mode=READ_ONLY)
void fseek_to(int image_index)
int to_pif_datatype(int em_datatype)