From f4196b3e977362da6a167bdfa5a3c8cfeeb11d19 Mon Sep 17 00:00:00 2001 From: even <philippe.even@loria.fr> Date: Thu, 9 May 2019 16:14:23 +0200 Subject: [PATCH] Bertrand's args adding to hub --- Code/FBSD/BlurredSegment/bsdetector.cpp | 2 +- Code/FBSD/IPOLdemo/mainIPOL.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Code/FBSD/BlurredSegment/bsdetector.cpp b/Code/FBSD/BlurredSegment/bsdetector.cpp index e4497d3..34fdecb 100755 --- a/Code/FBSD/BlurredSegment/bsdetector.cpp +++ b/Code/FBSD/BlurredSegment/bsdetector.cpp @@ -2,7 +2,7 @@ //#include "linespacefilter.h" -const std::string BSDetector::VERSION = "0.2.1"; +const std::string BSDetector::VERSION = "0.2.2"; const int BSDetector::STEP_FINAL = 0; const int BSDetector::STEP_INITIAL = 1; const int BSDetector::STEP_PRELIM = 2; diff --git a/Code/FBSD/IPOLdemo/mainIPOL.cpp b/Code/FBSD/IPOLdemo/mainIPOL.cpp index 492d5fa..7417f56 100755 --- a/Code/FBSD/IPOLdemo/mainIPOL.cpp +++ b/Code/FBSD/IPOLdemo/mainIPOL.cpp @@ -45,6 +45,8 @@ int main (int argc, char *argv[]) ifstream fin; bool with_points = false; double widthBS = atof(argv[3]); + unsigned int minSizeBS = atoi(argv[4]); + if (argc == 5) { inpoints_filename = argv[4]; @@ -114,6 +116,7 @@ int main (int argc, char *argv[]) BSDetector detector; detector.setGradientMap (gMap); detector.setAssignedThickness (widthBS); + detector.setFinalSizeMinValue (minSizeBS); if (with_points) { -- GitLab