pub enum TrackStatus {
Tracked,
OutOfBounds,
Diverged,
LowTexture,
FbInconsistent,
}Expand description
Why a feature point ended up where it did after tracking.
See TrackResult for the coordinate convention.
Variants§
Tracked
The iteration converged inside the image; the position is trustworthy.
OutOfBounds
The search window left the image (in the previous or the next frame).
Diverged
The iteration hit max_iterations without converging (see
CONVERGENCE_EPSILON), or a step exploded (non-finite or larger than
the window). The reported position is the last estimate, not a lost
track: callers that prefer OpenCV’s semantics may still use it.
LowTexture
The minimum eigenvalue of the spatial gradient matrix fell below the configured threshold, i.e. the window is too flat to track reliably.
FbInconsistent
The point was tracked forward, but re-tracking it back to the previous
frame did not return close enough to the original position. Only
produced by calc_optical_flow_fb. A strong occlusion/outlier signal.