updated tutorial with new retina interface use
This commit is contained in:
parent
a0c92265db
commit
ea1a64477f
@ -99,10 +99,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 the last parameter is 'log', then activate log sampling (favour foveal vision and subsamples peripheral vision)
|
||||||
if (useLogSampling)
|
if (useLogSampling)
|
||||||
{
|
{
|
||||||
myRetina = new cv::Retina(inputFrame.size(), true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
|
myRetina = cv::createRetina(inputFrame.size(), true, cv::RETINA_COLOR_BAYER, true, 2.0, 10.0);
|
||||||
}
|
}
|
||||||
else// -> else allocate "classical" retina :
|
else// -> else allocate "classical" retina :
|
||||||
myRetina = new cv::Retina(inputFrame.size());
|
myRetina = cv::createRetina(inputFrame.size());
|
||||||
|
|
||||||
// save default retina parameters file in order to let you see this and maybe modify it and reload using method "setup"
|
// save default retina parameters file in order to let you see this and maybe modify it and reload using method "setup"
|
||||||
myRetina->write("RetinaDefaultParameters.xml");
|
myRetina->write("RetinaDefaultParameters.xml");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user