Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected Keyframe parameters #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/util/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


#include "util/settings.h"
#include "globalCalib.h"
#include <boost/bind.hpp>


Expand All @@ -35,9 +36,9 @@ int pyrLevelsUsed = PYR_LEVELS;
/* Parameters controlling when KF's are taken */
float setting_keyframesPerSecond = 0; // if !=0, takes a fixed number of KF per second.
bool setting_realTimeMaxKF = false; // if true, takes as many KF's as possible (will break the system if the camera stays stationary)
float setting_maxShiftWeightT= 0.04f * (640+480);
float setting_maxShiftWeightR= 0.0f * (640+480);
float setting_maxShiftWeightRT= 0.02f * (640+480);
float setting_maxShiftWeightT= 0.04f * (wG[0]+hG[0]);
float setting_maxShiftWeightR= 0.0f * (wG[0]+hG[0]);
float setting_maxShiftWeightRT= 0.02f * (wG[0]+hG[0]);
float setting_kfGlobalWeight = 1; // general weight on threshold, the larger the more KF's are taken (e.g., 2 = double the amount of KF's).
float setting_maxAffineWeight= 2;

Expand Down