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]); }