Skip to content

Commit

Permalink
speeding up initialization by using previous flow estimate in klt tra…
Browse files Browse the repository at this point in the history
…cking.
  • Loading branch information
cfo committed Aug 13, 2014
1 parent 2eabd6d commit 6f6c4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svo/src/initialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void trackKlt(
px_ref, px_cur,
status, error,
cv::Size2i(klt_win_size, klt_win_size),
4, termcrit);
4, termcrit, cv::OPTFLOW_USE_INITIAL_FLOW);

vector<cv::Point2f>::iterator px_ref_it = px_ref.begin();
vector<cv::Point2f>::iterator px_cur_it = px_cur.begin();
Expand Down

0 comments on commit 6f6c4c9

Please sign in to comment.