![]() |
Bsoft 2.1.4
Bernard's software package
|
Header file for reading and writing ASCII files. More...
#include "rwimg.h"
Functions | |
int | readASCII (Bimage *p, int readdata) |
Reading an ASCII or text image format. More... | |
int | writeASCII (Bimage *p) |
Writing an ASCII or text image format. More... | |
Header file for reading and writing ASCII files.
Format: Generic ASCII image file format
int readASCII | ( | Bimage * | p, |
int | readdata | ||
) |
Reading an ASCII or text image format.
*p | the image structure. |
readdata | flag to activate reading of image data. |
This function reads an ASCII image file with up to five dimensions in the order: c (channels), x, y, z, n (number of images) Default data type is Float Data is given as real (R) or complex (R and I or A and P), and may include an optional FOM (F) Column labels: Images: C X Y Z N R I F Structure factors: H K L A P R I F
int writeASCII | ( | Bimage * | p | ) |
Writing an ASCII or text image format.
*p | the image structure. |
This function writes an ascii image file with up to five dimensions in the order: c (channels), x, y, z, n (number of images) Default data type is Float Data is given as real (R) or complex (R and I or A and P), and may include an optional FOM (F) Column labels: Images: C X Y Z N R I F Structure factors: H K L A P R I F