Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分图像拼接失败 #3

Open
zhongchangxaing opened this issue May 29, 2024 · 1 comment
Open

部分图像拼接失败 #3

zhongchangxaing opened this issue May 29, 2024 · 1 comment

Comments

@zhongchangxaing
Copy link

在拼接自己的数据集的时候,会遇到某些场景拼接失败,
Our SPW warp and blending...错误使用 levenbergMarquardt (line 16)
Objective function is returning undefined values at initial point. lsqnonlin cannot continue.

出错 lsqncommon (line 174)
levenbergMarquardt(funfcn,xC,flags.verbosity,options,defaultopt,initVals.F,initVals.J, ...

出错 lsqnonlin (line 240)
lsqncommon(funfcn,xCurrent,lb,ub,options,defaultopt,caller,...

出错 calcHomoPointLine (line 22)
x = lsqnonlin(@(x)myfun(x, pts2, tmp_line2), x0,[],[],options);%

出错 main1 (line 53)
[h, ~, T1, T2] = calcHomoPointLine( matches_1, matches_2, line_match1, line_match2 );

@tlliao
Copy link
Owner

tlliao commented Jun 4, 2024

可能是line_match1/line_matche2数据为空或者matches_1/matches_2匹配数据太少导致计算的单应性无法收敛,如果没有线段匹配可以只使用calcHomo函数计算单应性矩阵。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants