问题记录:|| 和 && 运算符的操作数必须能够转换为逻辑标量值。 出错 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);
>> 正在查找原因
|| 和 && 运算符的操作数必须能够转换为逻辑标量值。
出错 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);
>> 正在查找原因
相关文章推荐
- Matlab ||和&&运算符的操作数必须能够转换为逻辑标量值
- 最近用struts2,遇到几个出错时未能打log的问题,算是小细节吧,记录一下!写代码必须继续坚持良好习惯!
- OPENCV 3 出现二进制“=”: 没有找到接受“IplImage *”类型的右操作数的运算符(或没有可接受的转换)问题
- error C2678: 二进制“>>”: 没有找到接受“std::istream”类型的左操作数的运算符(或没有可接受的转换)
- 二进制“<<”: 没有找到接受“std::string”类型的右操作数的运算符(或没有可接受的转换)
- MyFirstJsp&Servlet表单提交之问题记录与总结
- C++ primer中,"单词转换"map对象源码问题
- ./HelloWorld line 1: syntax error: "(" unexpected问题解决
- 用git 下载android x86出错(syntax error near unexpected token `newline',`<!DOCTYPE HTML PUBLIC "-//IETF//)
- Stanford机器学习---第3讲. 逻辑回归和过拟合问题的解决 logistic Regression & Regularization
- Android开发问题记录(二)——Eclipse不显示Android SDK&AVD Manager
- 对于左操作数必须为左值的问题
- IE中将字符串转换成JSON出错的问题
- 几个页面的问题一起记录了/el表达式判断/<c:import>传值/BootstrapDialog.show关闭时刷新/
- 关于DataGrid最后一页只有一行记录时,删除此记录出错的问题
- Codeforces 549G Happy Line[问题转换 sort]
- 错误 1 error C2679: 二进制“<<”: 没有找到接受“void”类型的右操作数的运算符(或没有可接受的转换)
- error C2679: 二进制“=”: 没有找到接受“LPCTSTR”类型的右操作数的运算符(或没有可接受的转换
- 数据库乱码问题 & Python 编码问题(Unicode 的 encode、decode 相互转换 )
- 电路设计中的电平转换问题,CMOS&TTL&232&485,总结