From 234ebec9ac60c645b4118004a6e95a0ff73b08ec Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 10 Jul 2020 14:53:07 +0200 Subject: Unify creation of blank image data arrays --- libcrystfel/src/image.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libcrystfel/src/image.h') 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 -- cgit v1.2.3