|
@@ -32,7 +32,17 @@ LFColorSande::LFColorSande ( const Config *conf, std::string section )
|
|
|
{
|
|
|
std::cerr << "LF COLOR SANDE SECTION ====================== :" << section << ":"<<std::endl;
|
|
|
|
|
|
- c_binaryExecutable = conf->gS ( section, "binaryExecutable", "/home/bachi/libs/van_de_sande/x86_64-linux-gcc/colorDescriptor" );
|
|
|
+ try
|
|
|
+ {
|
|
|
+ //a possible location on dbv could be: "/home/bachi/libs/van_de_sande/x86_64-linux-gcc/colorDescriptor" );
|
|
|
+ c_binaryExecutable = conf->gS ( section, "binaryExecutable" /*we do not add a default here, this has to adapted to your system!!!*/);
|
|
|
+ }
|
|
|
+ catch (NICE::Exception exception )
|
|
|
+ {
|
|
|
+ std::cerr << "\nWARNING --- Add the location where the colorDescriptor-binary is located. \n A possible location on dbv could be: \"/home/bachi/libs/van_de_sande/x86_64-linux-gcc/colorDescriptor\" \n Source code be obtained at http://staff.science.uva.nl/~ksande/research/colordescriptors/ \n" << std::endl;
|
|
|
+ throw exception;
|
|
|
+ }
|
|
|
+
|
|
|
c_params = conf->gS ( section, "params", "--descriptor opponentsift" );
|
|
|
scales = conf->gS ( section, "scales", "1+1.5+3.0+4.5+6" );
|
|
|
std::cerr << "scales: " << scales << std::endl;
|