fix the indeterminant system in stereo case
parent
d47e4d4853
commit
34ae976f6a
|
@ -42,6 +42,11 @@ for i = 1:cylinderNum
|
||||||
continue;
|
continue;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
% too small disparity may call indeterminant system exception
|
||||||
|
if Z.du < 0.6
|
||||||
|
continue;
|
||||||
|
end
|
||||||
|
|
||||||
% ignore points occluded
|
% ignore points occluded
|
||||||
% use a simple math hack to check occlusion:
|
% use a simple math hack to check occlusion:
|
||||||
% 1. All points in front of cylinders' surfaces are visible
|
% 1. All points in front of cylinders' surfaces are visible
|
||||||
|
|
Loading…
Reference in New Issue