From 752eed00f2a6d4b6d363a59f3cd75c6a90678b39 Mon Sep 17 00:00:00 2001 From: Alexandre Benoit Date: Sat, 20 Aug 2011 12:41:34 +0000 Subject: [PATCH] updated GUI photoreceptors sensitivity parameter management --- modules/contrib/src/retinafilter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contrib/src/retinafilter.hpp b/modules/contrib/src/retinafilter.hpp index d378870d90..02c1b5e2d0 100644 --- a/modules/contrib/src/retinafilter.hpp +++ b/modules/contrib/src/retinafilter.hpp @@ -221,7 +221,7 @@ public: * setup the local luminance adaptation capability * @param V0CompressionParameter: the compression strengh of the photoreceptors local adaptation output, set a value between 160 and 250 for best results, a high value increases more the low value sensitivity... and the output saturates faster, recommended value: 160 */ - inline void setPhotoreceptorsLocalAdaptationSensitivity(const double V0CompressionParameter){_photoreceptorsPrefilter.setV0CompressionParameter(V0CompressionParameter);_setInitPeriodCount();}; + inline void setPhotoreceptorsLocalAdaptationSensitivity(const double V0CompressionParameter){_photoreceptorsPrefilter.setV0CompressionParameter(1.0-V0CompressionParameter);_setInitPeriodCount();}; /** * setup the local luminance adaptation capability