Commit 68a02b5abd97f4772b82cf9143f58a52eb29c075
1 parent
72c1beba
added debug output to Quantize
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/plugins/imgproc/quantize.cpp
| ... | ... | @@ -41,6 +41,7 @@ class QuantizeTransform : public Transform |
| 41 | 41 | minMaxLoc(OpenCVUtils::toMat(data.data()), &minVal, &maxVal); |
| 42 | 42 | a = 255.0/(maxVal-minVal); |
| 43 | 43 | b = -a*minVal; |
| 44 | + qDebug() << "Quantized dimensions =" << data.first().m().rows * data.first().m().cols; | |
| 44 | 45 | } |
| 45 | 46 | |
| 46 | 47 | void project(const Template &src, Template &dst) const | ... | ... |