Skip to content

Commit b3d271f

Browse files
committed
Merge pull request #1867 from silberzwiebel:patch-1
2 parents fae2d92 + 17bb12d commit b3d271f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/bioinspired/doc/retina.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The proposed class allows the [Gipsa](http://www.gipsa-lab.inpg.fr) (preliminary
155155
[Listic](http://www.listic.univ-savoie.fr) labs retina model to be used.
156156
It can be applied on still images, images sequences and video sequences.
157157

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()*
159159
functions (C++, Java, Python) :
160160

161161
@code{.cpp}
@@ -206,8 +206,8 @@ functions (C++, Java, Python) :
206206
};
207207

208208
// 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);
211211
}} // cv and bioinspired namespaces end
212212
@endcode
213213

@@ -432,7 +432,7 @@ videoHandler = cv.VideoCapture(0)
432432
succeed, inputImage=videoHandler.read()
433433

434434
#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]))
436436

437437
#retina parameters management methods use sample
438438
#-> 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

Comments
 (0)