trying to fix python wrapper warning on win64

pull/223/head
Alexandre Benoit 10 years ago
parent bce2fca9ec
commit ecbc652e2e
  1. 2
      modules/bioinspired/include/opencv2/bioinspired/retina.hpp
  2. 2
      modules/bioinspired/src/retina.cpp

@ -398,7 +398,7 @@ public:
@param colorSaturationValue the saturation factor : a simple factor applied on the chrominance
buffers
*/
CV_WRAP virtual void setColorSaturation(const bool saturateColors=true, const float colorSaturationValue=4.0)=0;
CV_WRAP virtual void setColorSaturation(const bool saturateColors=true, const float colorSaturationValue=4.0f)=0;
/** @brief Clears all retina buffers

@ -241,7 +241,7 @@ public:
* @param saturateColors: boolean that activates color saturation (if true) or desactivate (if false)
* @param colorSaturationValue: the saturation factor
*/
void setColorSaturation(const bool saturateColors=true, const float colorSaturationValue=4.0);
void setColorSaturation(const bool saturateColors=true, const float colorSaturationValue=4.0f);
/**
* clear all retina buffers (equivalent to opening the eyes after a long period of eye close ;o)

Loading…
Cancel
Save