错误:MATLAB R2013a中无效的Mex文件

时间:2018-10-21 15:04:19

标签: matlab mex

我尝试使用系统对象,以使用RANSAC算法查找与匹配点对相对应的转换矩阵,并且出现错误“缺少Mex文件入口点。请检查(区分大小写) 显示了mexFunction的拼写”。我该怎么办?这是代码:

geoTransformEst = vision.GeometricTransformEstimator; % defaults to RANSAC

% Configure the System object.
geoTransformEst.Transform = 'Nonreflective similarity';
geoTransformEst.NumRandomSamplingsMethod = 'Desired confidence';
geoTransformEst.MaximumRandomSamples = 1000;
geoTransformEst.DesiredConfidence = 99.8;

% Invoke the step() method on the geoTransformEst object to compute the
% transformation from the distorted to the original image. You
% may see varying results of the transformation matrix computation because
% of the random sampling employed by the RANSAC algorithm.
[tform_matrix inlierIdx] = step(geoTransformEst, matchedDistorted.Location, ...
    matchedOriginal.Location);

我正在32位Windows上使用MATLAB R2013a。

0 个答案:

没有答案
相关问题