X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=global.cc;h=8016c41d3a1fa69dd97324fe8b53f3f59346d317;hp=253733c6f8f2d18c701c03ffb991a4cc29f27c88;hb=ccc2785ee823c934edcededc5c6448e4f9488f8b;hpb=82c3a0366dd58ea2b3a2fc3f90be3f1a42ac8341 diff --git a/global.cc b/global.cc index 253733c..8016c41 100644 --- a/global.cc +++ b/global.cc @@ -101,7 +101,7 @@ void Global::init_parser(ParamParser *parser) { parser->add_association("max-head-radius", "200", false); // How many translation cell for one scale when generating the "top // level" cells for an image. - parser->add_association("root-cell-nb-xy-per-scale", "5", false); + parser->add_association("root-cell-nb-xy-per-radius", "5", false); // What is the minimum size of the windows parser->add_association("pi-feature-window-min-size", "0.1", false); @@ -162,7 +162,7 @@ void Global::read_parser(ParamParser *parser) { min_head_radius = parser->get_association_scalar("min-head-radius"); max_head_radius = parser->get_association_scalar("max-head-radius"); - root_cell_nb_xy_per_scale = parser->get_association_int("root-cell-nb-xy-per-scale"); + root_cell_nb_xy_per_radius = parser->get_association_int("root-cell-nb-xy-per-radius"); pi_feature_window_min_size = parser->get_association_scalar("pi-feature-window-min-size");