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.


System object: vision.PointTracker
Package: vision

Set points to track




setPoints(H,points) sets the points for tracking. The method sets the M-by-2 points array of [x y] coordinates with the points to track. This method can be used if the points need to be re-detected because too many of them have been lost during tracking.

setPoints(H,points,pointValidity) additionally lets you mark points as either valid or invalid. The input logical vector pointValidity of length M, contains the true or false value corresponding to the validity of the point to be tracked. The length M corresponds to the number of points. A false value indicates an invalid point, and it should not be tracked.