How to create track for SfM
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Kenta
on 19 Jul 2020
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?
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!