Main Content
initializeObject
Set object to track
Description
initializeObject(
sets the object to track by extracting it from the [x y width height] region
hbtracker
,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 object. For best results, the object must occupy the majority of the region,
R
.
Examples
Input Arguments
Version History
Introduced in R2012a