Find world points that correspond to point tracks
Load precomputed world point set and image view set.
data = load(fullfile(toolboxdir('vision'),'visiondata','worldpointsetAndTracks.mat'));
Find point tracks across views.
tracks = findTracks(data.vSet);
Find 3-D world points corresponding to point tracks.
pointIndices = findWorldPointsInTracks(data.wpSet,tracks);
pointIndices— 3-D world point indices
3-D world point indices, returned as an N-element column vector. N is the number of world points for which the function detects corresponding point tracks.
validIndex— Logical index
Logical index of point track correspondences, returned as an
M-element logical vector. M is the number of point
tracks in the
tracks argument. A value of
true) indicates that the associated point track has a
corresponding world point, and a value of
false) indicates that it does not.