From 7e64bb8d38682280a3f14a280cb5d407c270aa17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Pineda?= <36273229+JesusPinedaC@users.noreply.github.com> Date: Thu, 12 Aug 2021 10:12:29 +0200 Subject: [PATCH] fix bug in FlipUD --- deeptrack/augmentations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deeptrack/augmentations.py b/deeptrack/augmentations.py index 35169e944..aee14ac0b 100644 --- a/deeptrack/augmentations.py +++ b/deeptrack/augmentations.py @@ -258,7 +258,7 @@ def update_properties(self, image, number_of_updates, **kwargs): for prop in image.properties: if "position" in prop: position = np.array(prop["position"]) - position[..., 0] = image.shape[1] - position[..., 0] + position[..., 0] = image.shape[0] - position[..., 0] prop["position"] = position