public class SparseFlowObjectTracker<Image extends ImageGray<Image>,
Derivative extends ImageGray<Derivative>>
Uses a pyramidal KLT tracker to track features inside the user selected region. The motion of the region is found robustly using
LeastMedianOfSquaresand a translation + rotation model. Drift is a problem since motion is estimated relative to the previous frame and it will eventually drift away from the original target. When it works well it is very smooth and can handle partially obscured objects. Can't recover after the target has been lost. Runs very fast.
updateGiven the input image compute the new location of the target region and store the results in output.
input- next image in the sequence.
output- Storage for the output.
- true if tracking is successful
isTrackLostpublic boolean isTrackLost()
getConfigpublic ConfigSfot getConfig()