[Digikam-devel] [Bug 144155] wrong(?) histogram y-axis when blown-out over/underexposure
Jens Mueller
tschenser at gmx.de
Mon Nov 30 22:18:42 GMT 2009
https://bugs.kde.org/show_bug.cgi?id=144155
--- Comment #25 from Jens Mueller <tschenser gmx de> 2009-11-30 23:17:11 ---
Created an attachment (id=38729)
--> (http://bugs.kde.org/attachment.cgi?id=38729)
PATCH max calculation with cutoff over/underexposure
in case of overexposure or underexposure we do want cut these values but not
the peaks at the midvalues (if there are any). So my patch does a max
calculation between 0.1 and 0.9 and a max calculation for 0.0 to 1.0. The
returned max is the minimum between both. The cutoff max can also only get a
visual high of 0.8 here.
So if we have no over/underexposure (no peaks at both ends of the diagram) the
overall max is returned, if there are peaks at the end the max between 0.1 and
0.9 is retuned lowered by 0.8 to show the cutoffs.
The patch also takes care that the max value do not hit the upper diagram frame
with a cutoff of 0.05.
The patch and especially the mystic values 0.1, 0.9 and 0.8 are up for
discussion. Please give it a try.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list