mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Fixed StereoBM uniqueness check
This commit is contained in:
parent
d65fead337
commit
1ce5a724c7
@ -558,7 +558,10 @@ static void findStereoCorrespondenceBM_SIMD( const Mat& left, const Mat& right,
|
|||||||
{
|
{
|
||||||
v_int32 sad4_l = vx_load_expand((short*)sad + d);
|
v_int32 sad4_l = vx_load_expand((short*)sad + d);
|
||||||
if (v_check_any((thresh4 > sad4_l) & ((d1 > d4) | (d4 > d2))))
|
if (v_check_any((thresh4 > sad4_l) & ((d1 > d4) | (d4 > d2))))
|
||||||
|
{
|
||||||
|
dptr[y*dstep] = FILTERED;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
d += v_int16::nlanes;
|
d += v_int16::nlanes;
|
||||||
}
|
}
|
||||||
for( ; d < ndisp; d++ )
|
for( ; d < ndisp; d++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user