From 5b38bdac59a00d6a089cb934437caf4de09d7145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sat, 17 Aug 2013 23:07:00 +0200 Subject: [PATCH] Fix missing conversion of typed memoryview to numpy array --- skimage/feature/_texture.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/_texture.pyx b/skimage/feature/_texture.pyx index 0e17fd1d..9daa215d 100644 --- a/skimage/feature/_texture.pyx +++ b/skimage/feature/_texture.pyx @@ -177,4 +177,4 @@ def _local_binary_pattern(double[:, ::1] image, output[r, c] = lbp - return output + return np.asarray(output)