@@ -155,7 +155,7 @@ The proposed class allows the [Gipsa](http://www.gipsa-lab.inpg.fr) (preliminary
155
155
[ Listic] ( http://www.listic.univ-savoie.fr ) labs retina model to be used.
156
156
It can be applied on still images, images sequences and video sequences.
157
157
158
- Here is an overview of the Retina interface, allocate one instance with the * createRetina *
158
+ Here is an overview of the Retina interface, allocate one instance with the * Retina::create() *
159
159
functions (C++, Java, Python) :
160
160
161
161
@code {.cpp}
@@ -206,8 +206,8 @@ functions (C++, Java, Python) :
206
206
};
207
207
208
208
// Allocators
209
- cv::Ptr<Retina> createRetina (Size inputSize);
210
- cv::Ptr<Retina> createRetina (Size inputSize, const bool colorMode, RETINA_COLORSAMPLINGMETHOD colorSamplingMethod=RETINA_COLOR_BAYER, const bool useRetinaLogSampling=false, const double reductionFactor=1.0, const double samplingStrenght=10.0);
209
+ cv::Ptr<Retina> Retina::create (Size inputSize);
210
+ cv::Ptr<Retina> Retina::create (Size inputSize, const bool colorMode, RETINA_COLORSAMPLINGMETHOD colorSamplingMethod=RETINA_COLOR_BAYER, const bool useRetinaLogSampling=false, const double reductionFactor=1.0, const double samplingStrenght=10.0);
211
211
}} // cv and bioinspired namespaces end
212
212
@endcode
213
213
@@ -432,7 +432,7 @@ videoHandler = cv.VideoCapture(0)
432
432
succeed, inputImage=videoHandler.read()
433
433
434
434
#allocate a retina instance with input size equal to the one of the loaded image
435
- retina = cv.bioinspired.createRetina ((inputImage.shape[ 1] , inputImage.shape[ 0] ))
435
+ retina = cv.bioinspired_Retina.create ((inputImage.shape[ 1] , inputImage.shape[ 0] ))
436
436
437
437
#retina parameters management methods use sample
438
438
#-> save current (here default) retina parameters to a xml file (you may use it only one time to get the file and modify it)
0 commit comments