System object: vision.HistogramBasedTracker
Package: vision
Set object to track
initializeObject(hbtracker,
sets the object to track by extracting it from the [x y width height] region
I
,R
)R
located in the 2-D input image,
I
. The input image, I
, can be any
2-D feature map that distinguishes the object from the background. For example,
the image can be a hue channel of the HSV color space. Typically,
I
will be the first frame in which the object appears.
The region, R
, is also used for the initial search window,
in the next call to the step
method. For best
results, the object must occupy the majority of the region,
R
.