summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp10
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.h6
2 files changed, 8 insertions, 8 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index d10f2bb0..2fad523e 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -40,7 +40,7 @@ void FTNoIR_Filter::filter(const double* input, double *output)
return;
}
- const double rot_t = 10. * (1+s.rot_threshold) / 100.;
+ const double rot_t = 7. * (1+s.rot_threshold) / 100.;
const double trans_t = 5. * (1+s.trans_threshold) / 100.;
const double dt = t.elapsed() * 1e-9;
@@ -55,16 +55,16 @@ void FTNoIR_Filter::filter(const double* input, double *output)
RC = 0;
break;
case 1: // low
- RC = 0.09;
+ RC = 0.06;
break;
case 2: // normal
- RC = 0.13;
+ RC = 0.11;
break;
case 3: // high
- RC = 0.16;
+ RC = 0.15;
break;
case 4: // extreme
- RC = 0.19;
+ RC = 0.20;
break;
}
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.h b/ftnoir_filter_accela/ftnoir_filter_accela.h
index e682561e..ec541088 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.h
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.h
@@ -33,10 +33,10 @@ private:
Timer t;
static double f(double vec, double thres);
- static constexpr double high_thres_c = 3;
- static constexpr double high_thres_out = 350;
+ static constexpr double high_thres_c = 4;
+ static constexpr double high_thres_out = 500;
- static constexpr double low_thres_mult = 50;
+ static constexpr double low_thres_mult = 100;
};
class FilterControls: public IFilterDialog