Find world points that correspond to point tracks
finds the indices of world points
pointIndices = findWorldPointsInTracks(
pointIndices that correspond to the
specified point tracks
additionally returns a vector that indicates whether each point track has a corresponding
validIndex] = findWorldPointsInTracks(
Find World Points in 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);
tracks — Point tracks
M-element row vector of
Point tracks, specified as an M-element row vector of
pointIndices — 3-D world point indices
N-element column vector
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
M-element logical vector
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.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced in R2020b