How to create track for SfM

3 views (last 30 days)
takashi morimoto
takashi morimoto on 1 Jul 2020
Answered: Kenta on 19 Jul 2020
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

Answers (1)

Kenta
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?

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!