How to create track for SfM

3 次查看(过去 30 天)
takashi morimoto
takashi morimoto 2020-7-1
回答: Kenta 2020-7-19
I want to know how to make tracks when using bundleAdjustment "triangulateMultiview" or "bundleAdjustment".
I already have the multi-viewpoints for creating tracks and I know all the correspondence.
If I can create tracks, I can achieve the purpose. I would like to know the specific code.
xyzPoints = triangulateMultiview(tracks, camPoses, intrinsics);
[xyzPoints, camPoses, reprojectionErrors] = bundleAdjustment(xyzPoints, ...
tracks, camPoses, intrinsics, 'FixedViewId', 1, ...
'PointsUndistorted', true);
Thank you

回答(1 个)

Kenta
Kenta 2020-7-19
I am not sure exactly about what you are doing, but this url may help you.
The variable "track" can be retrieved using findtrack function and the vset variable created by addview function is fed into findtrack function.
You mentioned "I know all the correspondence". How did you get them?

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by