Ask Your Question

Revision history [back]

Not understanding how calcOpticalFlowPyrLK outputs found points

im not quite sure how to understand calcOpticalFlowPyrLK.

If im giving in a picture a with features fa on in also as a picture b, is it correct, that the feature list fb is always as big as fa? and i can figure out which features actually have been tracked by going though the "status" output looking for when it is 1?

so if the 3rd status uchar is 1 then this means that the position of the 3rd feature of fa in picture a is the position of the 3rd feature in fb in picture b

what is filled in fb if there is not a 1 in the status list for the corresponding feature?