From f3fabf85238782637306c018ac0216ea21f482b7 Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Tue, 16 Jul 2024 12:21:31 +0100 Subject: [PATCH] add ScatterEstimation::set_recompute_mask_image if STIR is recent enough --- src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h b/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h index b2fad7266..c719e1b87 100644 --- a/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h +++ b/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h @@ -910,10 +910,12 @@ The actual algorithm is described in { stir::ScatterEstimation::set_mask_proj_data_sptr(arg->data()); } - void set_recompute_mask_image(bool arg) +#if STIR_VERSION >= 060200 + void set_recompute_mask_image(bool arg) { stir::ScatterEstimation::set_recompute_mask_image(arg); } +#endif //! Set prefix for filenames with scatter estimates. /*!