From 6d41507c45ad183bdf6d573780171e7f5a333b8a Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Mon, 30 Sep 2013 20:58:55 -0400 Subject: [PATCH] EBIF bug fixes --- openbr/plugins/ebif.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/openbr/plugins/ebif.cpp b/openbr/plugins/ebif.cpp index dec4c8a..a12a15b 100644 --- a/openbr/plugins/ebif.cpp +++ b/openbr/plugins/ebif.cpp @@ -47,9 +47,10 @@ class EBIFTransform : public UntrainableTransform float scaleFactor = 1; for (int n=0; n(i+k, j); + const float *data = bottom.ptr(4*i/3+k, 4*j/3); for (int l=0; l<4; l++) vals.append(data[l]); } -- libgit2 0.21.4