diff options
author | Thomas White <taw@physics.org> | 2020-07-10 14:53:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 234ebec9ac60c645b4118004a6e95a0ff73b08ec (patch) | |
tree | 14b4cd5c9e759be9adea6cf2a5f55f95abac80ae /libcrystfel/src/image.h | |
parent | 865959d6b3adaae1f80fb50da4bebdd9b5d31830 (diff) |
Unify creation of blank image data arrays
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r-- | libcrystfel/src/image.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h index bbddadb3..45a75f1e 100644 --- a/libcrystfel/src/image.h +++ b/libcrystfel/src/image.h @@ -205,13 +205,16 @@ extern ImageFeatureList *image_read_peaks(const DataTemplate *dtempl, extern char **image_expand_frames(const DataTemplate *dtempl, const char *filename, int *nframes); -/* The following functions are not part of the public API - - * use within libcrystfel only */ +extern int image_set_zero_data(struct image *image, + const DataTemplate *dtempl); + +extern int image_set_zero_mask(struct image *image, + const DataTemplate *dtempl); + +/* Use within libcrystfel only */ extern void create_detgeom(struct image *image, const DataTemplate *dtempl); -extern int create_blank_arrays(struct image *image); - #ifdef __cplusplus } #endif |