EMAN2
Classes | Namespaces | Defines
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
 

df3 file format (http://www.povray.org/documentation/view/3.6.1/374) Header: The df3 format consists of a 6 byte header of three 16-bit integers with high order byte first.


Defines

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

Define Documentation

#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()

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

Definition at line 336 of file imageio.h.