Main Content
initialize
Initialize video frame and points to track
Description
initialize(
initializes points to track and sets the initial video frame. The function sets the
M-by-2 pointTracker
,points
,I
)points
array of [x y] coordinates
with the points to track, and sets the initial video frame, I
.
If you want to use the point tracker as a persistent variable, you must call
initialize
only during creation. If you call
initialize
in a loop, the previous state is lost and therefore,
the tracker cannot maintain tracking.
Examples
Input Arguments
Version History
Introduced in R2012b