From fba4aa77c662a00398540751fade8758ebf44251 Mon Sep 17 00:00:00 2001 From: vhinger Date: Wed, 25 Feb 2026 17:29:37 +0100 Subject: [PATCH] Rename for clarity --- include/aare/InclusiveROI.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aare/InclusiveROI.hpp b/include/aare/InclusiveROI.hpp index 37b107f..8c6f5e7 100644 --- a/include/aare/InclusiveROI.hpp +++ b/include/aare/InclusiveROI.hpp @@ -38,11 +38,11 @@ struct InclusiveROI { // static InclusiveROI from_shape(ssize_t width, ssize_t height); }; -inline InclusiveROI toInclusiveROI(aare::ROI const &r) { +inline InclusiveROI toInclusiveROI(ROI const &r) { return {r.xmin, r.xmax - 1, r.ymin, r.ymax - 1}; }; -inline aare::ROI toAareROI(InclusiveROI const& r) { +inline ROI toHalfopenROI(InclusiveROI const& r) { return {r.xmin, r.xmax + 1, r.ymin, r.ymax + 1}; }