fixed compilation problems after rev. 6925
This commit is contained in:
parent
bb329719c6
commit
09dd13d02e
@ -210,7 +210,10 @@ void drawPlot(const cv::Mat curve, const std::string figureTitle, const int lowe
|
||||
* -> if the last parameter is 'log', then activate log sampling (favour foveal vision and subsamples peripheral vision)
|
||||
*/
|
||||
if (useLogSampling)
|
||||
retina = new cv::Retina(inputImage.size(), "retinaDefaultParameters_saveFile.xml", true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
|
||||
{
|
||||
retina = new cv::Retina(inputImage.size(),true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
|
||||
retina->setup("retinaDefaultParameters_saveFile.xml");
|
||||
}
|
||||
else// -> else allocate "classical" retina :
|
||||
retina = new cv::Retina(inputImage.size(), "retinaDefaultParameters_saveFile.xml");
|
||||
|
||||
|
@ -107,7 +107,10 @@ 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(inputFrame.size(), "retinaDefaultParameters_saveFile.xml", true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
|
||||
{
|
||||
myRetina = new cv::Retina(inputFrame.size(), true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
|
||||
myRetina->setup("retinaDefaultParameters_saveFile.xml");
|
||||
}
|
||||
else// -> else allocate "classical" retina :
|
||||
myRetina = new cv::Retina(inputFrame.size(), "retinaDefaultParameters_saveFile.xml");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user