Skip to content

Commit cc9ab7e

Browse files
committed
imgproc: fix bilateral filter SIMD 32f optimization
1 parent 21c8e6d commit cc9ab7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/imgproc/src/smooth.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3640,6 +3640,8 @@ class BilateralFilter_32f_Invoker :
36403640

36413641
v_int32x4 _idx = v_round(_alpha);
36423642
v_store((int*)idxBuf, _idx);
3643+
_alpha -= v_cvt_f32(_idx);
3644+
36433645
v_float32x4 _explut = v_float32x4(expLUT[idxBuf[0]],
36443646
expLUT[idxBuf[1]],
36453647
expLUT[idxBuf[2]],

0 commit comments

Comments
 (0)