diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-22 07:58:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-22 07:58:42 +0200 |
commit | b253d56527365a729c0249918f6c9477893a717e (patch) | |
tree | ee10ce89c268c0566005d25fa4d49ba5cc51da41 /tracker-pt/ftnoir_tracker_pt.cpp | |
parent | 4e03f244450cbfd8a5a1cf429515ce0194f66262 (diff) |
tracker/pt: return focal length directly
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index befb2d84..7b573060 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -80,8 +80,7 @@ void Tracker_PT::run() point_extractor.extract_points(frame, preview_frame, points); point_count = points.size(); - double fx; - cam_info.get_focal_length(fx); + const double fx = cam_info.get_focal_length(); const bool success = points.size() >= PointModel::N_POINTS; |