diff --git a/openbr/plugins/imgproc/samplefrommask.cpp b/openbr/plugins/imgproc/samplefrommask.cpp index cd00a89..a2b4557 100644 --- a/openbr/plugins/imgproc/samplefrommask.cpp +++ b/openbr/plugins/imgproc/samplefrommask.cpp @@ -26,7 +26,7 @@ class SampleFromMaskTransform : public UntrainableTransform Mat indices; findNonZero(masked,indices); - for (int j=0; j(0,j) = masked.at(indices.at(j).y,indices.at(j).x); } };