Synopsis
int hdf5_read (struct hdfile *f
,
struct image *image
,
int satcorr
);
int hdf5_write (const char *filename
,
const void *data
,
int width
,
int height
,
int type
);
int hdf5_write_image (const char *filename
,
struct image *image
);
struct hdfile;
void hdfile_close (struct hdfile *f
);
int16_t * hdfile_get_image_binned (struct hdfile *hdfile
,
int binning
,
int16_t *maxp
);
char * hdfile_get_string_value (struct hdfile *f
,
const char *name
);
struct hdfile * hdfile_open (const char *filename
);
char ** hdfile_read_group (struct hdfile *f
,
int *n
,
const char *parent
,
int **p_is_group
,
int **p_is_image
);
int hdfile_set_first_image (struct hdfile *f
,
const char *group
);
int hdfile_set_image (struct hdfile *f
,
const char *path
);
double get_value (struct hdfile *f
,
const char *name
);
struct copy_hdf5_field;
void copy_hdf5_fields (struct hdfile *f
,
const struct copy_hdf5_field *copyme
,
FILE *fh
);
void add_copy_hdf5_field (struct copy_hdf5_field *copyme
,
const char *name
);
struct copy_hdf5_field * new_copy_hdf5_field_list (void
);
void free_copy_hdf5_field_list (struct copy_hdf5_field *f
);
int get_peaks (struct image *image
,
struct hdfile *f
,
const char *p
);
int hdfile_is_scalar (struct hdfile *f
,
const char *name
,
int verbose
);
Details
hdf5_read ()
int hdf5_read (struct hdfile *f
,
struct image *image
,
int satcorr
);
hdf5_write ()
int hdf5_write (const char *filename
,
const void *data
,
int width
,
int height
,
int type
);
hdf5_write_image ()
int hdf5_write_image (const char *filename
,
struct image *image
);
struct hdfile
struct hdfile;
hdfile_close ()
void hdfile_close (struct hdfile *f
);
hdfile_get_image_binned ()
int16_t * hdfile_get_image_binned (struct hdfile *hdfile
,
int binning
,
int16_t *maxp
);
hdfile_get_string_value ()
char * hdfile_get_string_value (struct hdfile *f
,
const char *name
);
hdfile_open ()
struct hdfile * hdfile_open (const char *filename
);
hdfile_read_group ()
char ** hdfile_read_group (struct hdfile *f
,
int *n
,
const char *parent
,
int **p_is_group
,
int **p_is_image
);
hdfile_set_first_image ()
int hdfile_set_first_image (struct hdfile *f
,
const char *group
);
hdfile_set_image ()
int hdfile_set_image (struct hdfile *f
,
const char *path
);
get_value ()
double get_value (struct hdfile *f
,
const char *name
);
struct copy_hdf5_field
struct copy_hdf5_field;
copy_hdf5_fields ()
void copy_hdf5_fields (struct hdfile *f
,
const struct copy_hdf5_field *copyme
,
FILE *fh
);
add_copy_hdf5_field ()
void add_copy_hdf5_field (struct copy_hdf5_field *copyme
,
const char *name
);
new_copy_hdf5_field_list ()
struct copy_hdf5_field * new_copy_hdf5_field_list (void
);
free_copy_hdf5_field_list ()
void free_copy_hdf5_field_list (struct copy_hdf5_field *f
);
get_peaks ()
int get_peaks (struct image *image
,
struct hdfile *f
,
const char *p
);
hdfile_is_scalar ()
int hdfile_is_scalar (struct hdfile *f
,
const char *name
,
int verbose
);