Fix missing conversion of typed memoryview to numpy array

This commit is contained in:
Johannes Schönberger
2013-08-17 23:07:00 +02:00
parent f76ba9dff3
commit 5b38bdac59
+1 -1
View File
@@ -177,4 +177,4 @@ def _local_binary_pattern(double[:, ::1] image,
output[r, c] = lbp
return output
return np.asarray(output)