Forums - fcvTrackLKOpticalFlowu8 Usage

2 posts / 0 new
Last post
fcvTrackLKOpticalFlowu8 Usage
Cyrus
Join Date: 11 Jan 16
Posts: 6
Posted: Mon, 2016-01-25 20:32

What is the input to the featureXY parameter? I obtain features from fcvCornerFast9u8, but those features are of type uint32_t * __restrict. featureXY requires of type const float *. I am confused as to why featureXY is of type float * and not int. Does this imply there is a step between detection and matching that needs to be done, apart from casting?

  • Up0
  • Down0
jeff4s Moderator
Join Date: 4 Nov 12
Posts: 106
Posted: Tue, 2016-01-26 12:27

Yes you need to convert the feature point coordinates to float type before using optical flow to track. You get fractional precision for the feature points although at start they are on integer grids.

Cheers,

-Jeff

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.