您的位置:首页 > 其它

问题记录:|| 和 && 运算符的操作数必须能够转换为逻辑标量值。 出错 vision.CameraParameters/getValidBounds (line 694)

2014-05-03 16:21 691 查看
用matlab mystereoReconstruction20140428.m来标定我拍摄的10幅图像,能够成功生成相机内外参,但是到极线校正的时候报错:

|| 和 && 运算符的操作数必须能够转换为逻辑标量值。

出错 vision.CameraParameters/getValidBounds (line 694)

if left > right || top > bot

出错 vision.CameraParameters/computeUndistortBounds (line 621)

[xBounds, yBounds] = getValidBounds(this, undistortedMask, ...

出错 vision.StereoParameters/computeOutputBounds (line 517)

[xBoundsUndistort2, yBoundsUndistort2] = ...

出错 vision.StereoParameters/computeRectificationParameters (line 454)

[xBounds, yBounds] = computeOutputBounds(this, imageSize, ...

出错 vision.StereoParameters/rectifyStereoImagesImpl (line 192)

[H1, H2, Q, xBounds, yBounds] = ...

出错 rectifyStereoImages (line 101)

[rectifiedImage1, rectifiedImage2] = rectifyStereoImagesImpl(stereoParams, ...

出错 MystereoReconstruction20140428 (line 150)

[J1, J2] = rectifyStereoImages(I1, I2, stereoParams);

>> 正在查找原因
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐