[英]Undefined function or variable 'estimateFisheyeParameters'
我正在运行此代码来校正鱼眼失真,但出现了错误。 如何删除此错误。
images
=imageDatastore(fullfile(toolboxdir('vision'),'visiondata', ...
'calibration','fishEye'));
[imagePoints,boardSize] =
detectCheckerboardPoints(images.Files);
squareSize = 29; % millimeters
worldPoints =
generateCheckerboardPoints(boardSize,squareSize);
I = readimage(images,1);
imageSize = [size(I,1) size(I,2)];
params = estimateFisheyeParameters(imagePoints,worldPoints,imageSize);
错误:未定义的函数或变量'estimateFisheyeParameters'。
首先,在2017b中引入了estimateFisheyeParameters。希望您使用相同或更高的版本。
它还需要“计算机视觉系统工具箱”
要检查已经安装了哪些工具箱,可以在“ Matlab命令”窗口中键入ver。
如需更多帮助: https : //in.mathworks.com/help/vision/ref/estimatefisheyeparameters.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.