EMAN2
Classes | Namespaces | Macros
imageio.h File Reference
#include "byteorder.h"
#include "emutil.h"
Include dependency graph for imageio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EMAN::ImageIO
 ImageIO classes are designed for reading/writing various electron micrography image formats, including MRC, IMAGIC, SPIDER, PIF, etc. More...
 

Namespaces

namespace  EMAN
 E2Exception class.
 

Macros

#define DEFINE_IMAGEIO_FUNC
 DEFINE_IMAGEIO_FUNC declares the functions that needs to be implemented by any subclass of ImageIO. More...
 

Macro Definition Documentation

◆ DEFINE_IMAGEIO_FUNC

#define DEFINE_IMAGEIO_FUNC
Value:
int read_header(Dict & dict, int image_index = 0, const Region* area = 0, bool is_3d = false); \
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); \
int read_data(float* data, int image_index = 0, const Region* area = 0, bool is_3d = false); \
int write_data(float* data, int image_index = 0, const Region * area = 0, EMUtil::EMDataType filestoragetype = EMUtil::EM_FLOAT, bool use_host_endian = true); \
void flush(); \
bool is_complex_mode(); \
bool is_image_big_endian(); \
void init()
void read_data(string fsp, size_t loc, const Region *area=0, const int file_nx=0, const int file_ny=0, const int file_nz=0)
Read the image pixel data in native byte order from a disk file.
void write_data(string fsp, size_t loc, const Region *const area=0, const int file_nx=0, const int file_ny=0, const int file_nz=0)
Dump the image pixel data in native byte order to a disk file.

DEFINE_IMAGEIO_FUNC declares the functions that needs to be implemented by any subclass of ImageIO.

Definition at line 361 of file imageio.h.