Difference between revisions of "Function:TrackFeatures"
From CUVI Wiki
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
CUVI Feature tracker tracks input features from frame 1 onto frame 2. The function is ideal for tracking selected number of features through an image sequence or a video stream. This is a custom algorithm and does not use optical flows to estimate motion. Check out Motion Estimate section for more details on Optical Flow based motion tracking. | CUVI Feature tracker tracks input features from frame 1 onto frame 2. The function is ideal for tracking selected number of features through an image sequence or a video stream. This is a custom algorithm and does not use optical flows to estimate motion. Check out Motion Estimate section for more details on Optical Flow based motion tracking. | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus trackFeatures(const CuviImage& previous, | CuviStatus trackFeatures(const CuviImage& previous, |
Revision as of 22:18, 18 October 2022
CUVI Feature tracker tracks input features from frame 1 onto frame 2. The function is ideal for tracking selected number of features through an image sequence or a video stream. This is a custom algorithm and does not use optical flows to estimate motion. Check out Motion Estimate section for more details on Optical Flow based motion tracking.
Function
|
Parameters
Name | Type | Description |
---|---|---|
previous | const CuviImage& | The first image whose features are to be tracked |
next | const CuviImage& | Second image, in which to look for features of first image |
inputFeatures | CuviPointValue2D<Cuvi32f,Cuvi32f>* | Feature of first image |
trackedFeatures | CuviPointValue2D<Cuvi32f,Cuvi32f>*& | Output feature list containing the location of tracked features from first image onto second image |
featureCount | const Cuvi32s | Number of features to track |
criteria | CuviFeaturesCriteria | A structure containing various parameters that affect feature tracking behavior |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | CuviPointValue2D |
Samples
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|