Single-perspective-warps icon indicating copy to clipboard operation
Single-perspective-warps copied to clipboard

Matlab的版本

Open Yae666 opened this issue 1 month ago • 2 comments

我使用MATLAB R2016a和MATLAB R2025a,都出现问题:our SPW warp and blending...MEX 文件 'D:\SPW\MultiImage\ceresPointLineofLengthRef.mexw64' 无效: 找不到指定的模块。

MATLAB R2016a由于版本太低,不包含detectSIFTFeatures,因此我安装了VLFeat并使用vl_sift作为替代。解决了该问题后,仍出现上述文件ceresPointLineofLengthRef.mexw64无效的情况。

Yae666 avatar Dec 08 '25 18:12 Yae666

更具体的报错: Reading files and preparing... Calculating similarities between line neighborhoods... Matching lines ... done (27.381172s) our SPW warp and blending...Invalid MEX-file 'F:\Image stitching comparison experiment\SPW-Single-perspective-warps-master\MultiImage\ceresPointLineofLengthRef.mexw64': 找不到指定的模块。

出错 bundleAdjustmentRefofLine (line 311) lm_params = ceresPointLineofLengthRef(double(lm_params0), xik_idx, lm_norm, num_imgs, ref_img, lm_xk, lines_xik_idx, lines_lm_norm, 50.*lines_abc);

出错 main (line 46) [ baH, ref_n, points_xk, points_predict, lines_xk, lines_predict] = bundleAdjustmentRefofLine(data_orig, inliers, data_lines, h, imgs_pairs);

Yae666 avatar Dec 08 '25 18:12 Yae666

这个问题可能跟电脑系统的vc++环境有关,建议用MATLAB的mex命令自己编译cpp文件生成.mexw64试试看能否成功。

tlliao avatar Dec 10 '25 03:12 tlliao