pointTrack class

Object for storing matching points from multiple views

Syntax

track = pointTrack(viewIDs,points)

Description

track = pointTrack(viewIDs,points) returns an object that stores matching 2-D points from multiple views. You can also create this point track object using the findTracks method of the viewSet object.

Input Arguments

expand all

View IDs of camera poses, specified as an M-element vector of scalar integers.

2-D points that match across multiple camera views, specified as an M-by-2 matrix of (x,y) point coordinates. You can use the matchFeatures function to find these points, and then save them using this object.

Output Arguments

expand all

Point track object, returned as a pointTrack object. You can use this object to store matching 2-D points from multiple views. You can also create this point track object using the findTracks method of the viewSet object.

Examples

collapse all

Save ( x , y ) points and view IDs.

points = [10,20;11,21;12,22];
viewIDs = [1 2 3];

Create a pointTrack object to save points and IDs.

track = pointTrack(viewIDs,points);

Introduced in R2016a