Difference between revisions of "Function:GoodFeaturesToTrack"
From CUVI Wiki
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Detecting interesting parts of an image is an important step in most computer vision applications. Itserves as the first low-level processing step in applications like image segmentation, object recognition, object tracking and motion estimation. CUVI offers feature detectors including KLT, Harris and Peter in a single function | Detecting interesting parts of an image is an important step in most computer vision applications. Itserves as the first low-level processing step in applications like image segmentation, object recognition, object tracking and motion estimation. CUVI offers feature detectors including KLT, Harris and Peter in a single function | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus goodFeaturesToTrack(const CuviImage& src, | CuviStatus goodFeaturesToTrack(const CuviImage& src, | ||
Revision as of 14:12, 18 October 2022
Detecting interesting parts of an image is an important step in most computer vision applications. Itserves as the first low-level processing step in applications like image segmentation, object recognition, object tracking and motion estimation. CUVI offers feature detectors including KLT, Harris and Peter in a single function
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| src | const CuviImage& | Input 8 bit Gray Scale Image. |
| roi | const CuviRect& | Desired region of interest of input image. The function will return features from only that region of the image |
| output | CuviPointValue2D<Cuvi32f,Cuvi32f>*& | Output feature list that contains the coordinates & values of features/corners. |
| maxFeatures | Cuvi32s& | Desired number of features. If the total features detected in the image or ROI are less than maxFeatures its value is updated to that number |
| criteria | const CuviFeaturesCriteria | A structure containing various parameters that affect feature selection behavior |
| stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC1 | CuviPointValue2D<Cuvi32f,Cuvi32f> |
Samples
Example
|

