Main Content

pointTrack

Object for storing matching points from multiple views

Description

Use this object to store 2-D points in an image that match across multiple views of the same image.

Creation

Description

example

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 object function of the imageviewset object.

Input Arguments

expand all

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

2-D points that match across multiple image 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 object function of the imageviewset 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. The matched 2-D image points correspond to the same 3-D world point. Separate pointTrack objects are needed to track different 3-D world points across views.

track = pointTrack(viewIDs,points);

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2016a