diff --git a/modules/videostab/src/deblurring.cpp b/modules/videostab/src/deblurring.cpp index 444306482..752d1e636 100644 --- a/modules/videostab/src/deblurring.cpp +++ b/modules/videostab/src/deblurring.cpp @@ -59,7 +59,7 @@ float calcBlurriness(const Mat &frame) double normGx = norm(Gx); double normGy = norm(Gx); double sumSq = normGx*normGx + normGy*normGy; - return 1.f / (sumSq / frame.size().area() + 1e-6f); + return static_cast(1. / (sumSq / frame.size().area() + 1e-6)); }