updated GUI photoreceptors sensitivity paramaer management

This commit is contained in:
Alexandre Benoit 2011-08-20 12:40:04 +00:00
parent 014ba699a3
commit d5d2290ffd

View File

@ -233,11 +233,12 @@ void drawPlot(const cv::Mat curve, const std::string figureTitle, const int lowe
retinaHcellsGain=40;
cv::createTrackbar("Hcells gain", "Retina Parvocellular pathway output : 16bit=>8bit image retina tonemapping",&retinaHcellsGain,100,callBack_updateRetinaParams);
localAdaptation_photoreceptors=1;
localAdaptation_photoreceptors=199;
localAdaptation_Gcells=185;
cv::createTrackbar("Ph sensitivity", "Retina Parvocellular pathway output : 16bit=>8bit image retina tonemapping", &localAdaptation_photoreceptors,199,callBack_updateRetinaParams);
cv::createTrackbar("Gcells sensitivity", "Retina Parvocellular pathway output : 16bit=>8bit image retina tonemapping", &localAdaptation_Gcells,199,callBack_updateRetinaParams);
/////////////////////////////////////////////
// apply default parameters of user interaction variables
rescaleGrayLevelMat(inputImage, imageInputRescaled, (float)histogramClippingValue/100);