From cb6316a26cd924de2101e46170de7579f8044a96 Mon Sep 17 00:00:00 2001 From: Anders Bjorholm Dahl <abda@dtu.dk> Date: Wed, 26 Feb 2025 06:17:52 +0100 Subject: [PATCH] Update local_features.py --- Chapter04/local_features.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter04/local_features.py b/Chapter04/local_features.py index a56a397..9090f60 100644 --- a/Chapter04/local_features.py +++ b/Chapter04/local_features.py @@ -20,6 +20,7 @@ def get_gauss_feat_im(im, sigma=1, normalize=True): vector for every pixel in the image. Author: vand@dtu.dk, 2022 """ + im = im.astype(float) orders = [0, [0, 1], [1, 0], [0, 2], [1, 1], [2, 0], -- GitLab