Skip to content

Commit 7b0d2d1

Browse files
committed
Merge pull request opencv#9951 from alalek:fix_bilateral_f32_simd
2 parents e0e4040 + cc9ab7e commit 7b0d2d1

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)