Commit 4aa1061b0c3061717ccb8fdc824b6b9b816bea72

Authored by Scott Klum
1 parent 059b6c96

Using properties

openbr/plugins/imgproc/adaptivethreshold.cpp
... ... @@ -42,7 +42,7 @@ class AdaptiveThresholdTransform : public UntrainableTransform
42 42 dst = src;
43 43  
44 44 Mat mask;
45   - adaptiveThreshold(src, mask, maxValue, ADAPTIVE_THRESH_GAUSSIAN_C, THRESH_BINARY, blockSize, C);
  45 + adaptiveThreshold(src, mask, maxValue, method, type, blockSize, C);
46 46  
47 47 dst.file.set("Mask",QVariant::fromValue(mask));
48 48 }
... ...