[Digikam-devel] [Bug 128377] Adjust levels: histograms don't match, bad "auto level" function

Gilles Caulier caulier.gilles at gmail.com
Tue Mar 25 20:52:17 GMT 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=128377         




------- Additional Comments From caulier.gilles gmail com  2008-03-25 21:52 -------
To Matthias, comment #13 :

>I think it should be possible to refresh the target histogram (based on the >original! image) with more than 30fps. So you can have live display of the <correct(!) target histogram.
>How to do this?
>1. calculate the original histogram (already done during plugin start-up as you >wrote above)
>2. copy the original histogram data (256 values * 3 color channels) into the >target histogram data structure and display the "target"-histogram.
>3. Every time the user changes a slider, recalculate the target histogram.
>  To do this, there is no need to analyze the original or the preview image, >just use the original histogram data (256 values * 3 color channels), apply the >color transformation on it and display the histogram. 

(:=))) ==> it's already how is sone the current implementation...

Gilles Caulier



More information about the Digikam-devel mailing list