![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions for reading and writing Digital Micrograph files. More...
Functions | |
int | readFixedDMHeader (ifstream *fimg, Bimage *p, int readdata) |
int | readTagGroupData (ifstream *fimg, int dim_flag, Bimage *p, int readdata) |
int | readTagGroupWithVersion (ifstream *fimg, Bimage *p, int readdata, int img_select) |
int | show (0) |
int | keep (0) |
int | version (0) |
int | sb (0) |
int | endianness (1) |
size_t | level (0) |
int | readDM (Bimage *p, int readdata, int img_select) |
Reading a Digital Micrograph image file format. More... | |
int | writeDM (Bimage *p) |
Writing a Digital Micrograph map image file format. More... | |
DataType | datatype_from_dm3_type (DMDataType dm3_type, Bimage *p) |
int | dm3_type_length (int dm3_type) |
double | dm3_value (ifstream *fimg, int dm3_type) |
unsigned long | dm_read_integer (ifstream *fimg, long len) |
int | tag_convert (unsigned char *tag) |
int | readTag (ifstream *fimg, int dim_flag, Bimage *p, int readdata, int ¬ag) |
Variables | |
int | verbose |
Functions for reading and writing Digital Micrograph files.
DataType datatype_from_dm3_type | ( | DMDataType | dm3_type, |
Bimage * | p | ||
) |
int dm3_type_length | ( | int | dm3_type | ) |
double dm3_value | ( | ifstream * | fimg, |
int | dm3_type | ||
) |
unsigned long dm_read_integer | ( | ifstream * | fimg, |
long | len | ||
) |
int endianness | ( | 1 | ) |
int keep | ( | 0 | ) |
size_t level | ( | 0 | ) |
int readDM | ( | Bimage * | p, |
int | readdata, | ||
int | img_select | ||
) |
Reading a Digital Micrograph image file format.
*p | the image structure. |
readdata | flag to activate reading of image data. |
img_select | image selection in multi-image file (-1 = all images). |
int readFixedDMHeader | ( | ifstream * | fimg, |
Bimage * | p, | ||
int | readdata | ||
) |
int readTag | ( | ifstream * | fimg, |
int | dim_flag, | ||
Bimage * | p, | ||
int | readdata, | ||
int & | notag | ||
) |
int readTagGroupData | ( | ifstream * | fimg, |
int | dim_flag, | ||
Bimage * | p, | ||
int | readdata | ||
) |
int readTagGroupWithVersion | ( | ifstream * | fimg, |
Bimage * | p, | ||
int | readdata, | ||
int | img_select | ||
) |
int sb | ( | 0 | ) |
int show | ( | 0 | ) |
int tag_convert | ( | unsigned char * | tag | ) |
int version | ( | 0 | ) |
int writeDM | ( | Bimage * | p | ) |
Writing a Digital Micrograph map image file format.
*p | the image structure. |
|
extern |