Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

expand 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