From 26ed10993ea6f55bb30b589b27474b52a2ad219a Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Mon, 6 Feb 2012 09:31:33 +0000 Subject: [PATCH] fixed #1565 issue --- modules/contrib/include/opencv2/contrib/retina.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contrib/include/opencv2/contrib/retina.hpp b/modules/contrib/include/opencv2/contrib/retina.hpp index 6bf487730..13c897884 100644 --- a/modules/contrib/include/opencv2/contrib/retina.hpp +++ b/modules/contrib/include/opencv2/contrib/retina.hpp @@ -339,7 +339,7 @@ protected: * @param outputValarrayMatrix : the output valarray * @return the input image color mode (color=true, gray levels=false) */ - const bool _convertCvMat2ValarrayBuffer(const cv::Mat inputMatToConvert, std::valarray &outputValarrayMatrix); + bool _convertCvMat2ValarrayBuffer(const cv::Mat inputMatToConvert, std::valarray &outputValarrayMatrix); //! private method called by constructors, gathers their parameters and use them in a unified way void _init(const 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);