From 4aa1061b0c3061717ccb8fdc824b6b9b816bea72 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 19 Feb 2015 16:36:11 -0500 Subject: [PATCH] Using properties --- openbr/plugins/imgproc/adaptivethreshold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/imgproc/adaptivethreshold.cpp b/openbr/plugins/imgproc/adaptivethreshold.cpp index 6927d95..21a02cc 100644 --- a/openbr/plugins/imgproc/adaptivethreshold.cpp +++ b/openbr/plugins/imgproc/adaptivethreshold.cpp @@ -42,7 +42,7 @@ class AdaptiveThresholdTransform : public UntrainableTransform dst = src; Mat mask; - adaptiveThreshold(src, mask, maxValue, ADAPTIVE_THRESH_GAUSSIAN_C, THRESH_BINARY, blockSize, C); + adaptiveThreshold(src, mask, maxValue, method, type, blockSize, C); dst.file.set("Mask",QVariant::fromValue(mask)); } -- libgit2 0.21.4