corrected xml parameters file management in the retina interface

This commit is contained in:
Alexandre Benoit
2011-10-21 10:01:48 +00:00
parent 5de07eb784
commit 77cfdab3ff
2 changed files with 4 additions and 4 deletions

View File

@@ -107,9 +107,9 @@ int main(int argc, char* argv[]) {
// if the last parameter is 'log', then activate log sampling (favour foveal vision and subsamples peripheral vision)
if (useLogSampling)
myRetina = new cv::Retina("params.xml", inputFrame.size(), true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
myRetina = new cv::Retina(inputFrame.size(), "retinaDefaultParameters_saveFile.xml", true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
else// -> else allocate "classical" retina :
myRetina = new cv::Retina("params.xml", inputFrame.size());
myRetina = new cv::Retina(inputFrame.size(), "retinaDefaultParameters_saveFile.xml");
myRetina->clearBuffers();
// declare retina output buffers