Skip to content
Snippets Groups Projects
Commit f4196b3e authored by even's avatar even
Browse files

Bertrand's args adding to hub

parent 1112eedd
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment