Function:GoodFeaturesToTrack

From CUVI Wiki
Revision as of 20:09, 25 April 2012 by Jawad (talk | contribs) (Created page with "__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 li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

CuviStatus goodFeaturesToTrack(CuviImage* srcImage
                               CuviROI roi,
                               CuviPointValue2D** outputFeatures,
                               Cuvi32s* maxFeatures,
                               CuviFeaturesCriteria criteria,
                               CuviStream* stream = NULL);

Parameters

Name Type Description
srcImage CuviImage* Input 8 bit Gray Scale Image.
roi CuviROI Desired region of interest of input image. The function will return features from only that region of the image
outputFeatures CuviPointValue2D** 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 CuviFeaturesCriteria Output image doesn’t use the values above this point from the intensity map
stream CuviStream* Output image doesn’t use the values above this point from the intensity map