Commit Graph

25 Commits

Author SHA1 Message Date
Emil Martinec
3fbd99ea27 Fix bug in CA_correct for data underflow. 2010-09-30 00:01:14 -05:00
Emil Martinec
f709617a8b Patch to enable saving/loading of pyramid/wavelet equalizer settings to/from profile. 2010-09-29 11:53:20 -05:00
Hombre
f348121ffb Emil's patch to correct the live thumbnail AutoWBGreen 2010-09-29 17:59:00 +02:00
Emil Martinec
f80e07801d Oops, made a mistake (I think) in the previous patch. 2010-09-28 07:25:46 -05:00
Emil Martinec
595b124a23 Another bugfix for WB. 2010-09-28 06:59:17 -05:00
Emil Martinec
751ebdf0eb Additional correction to WB code. 2010-09-27 21:06:20 -05:00
Emil Martinec
d62281b86f Modified Pyramid equalizer to act only on luminance channel, and added a threshold slider to control noise (only local contrast larger than the threshold is amplified). 2010-09-27 11:04:25 -05:00
Emil Martinec
874ed12455 Patch to fix auto white balance and spot balance behavior. Previous code used the average of the sixth power of tonal values to determine the average tonality, giving far too much weight to highlights; in addition there was no exclusion of clipped regions, which combined with the sixth power averaging resulted in WB being determined almost entirely by clipped patches (eg blown skies). The present patch excludes blown regions from the autoWB routine, and uses a simple average of tonal values to determine the WB. Also, a similar patch to prevent the use of blown regions to determine spot WB was added; if the spot color picker is set on a blown region, the WB is not changed. 2010-09-24 14:48:01 -05:00
Emil Martinec
d91fba0d63 Bugfix for saving edited state of pyramid equalizer. 2010-09-23 11:07:58 -05:00
Emil Martinec
e7dcacdb43 Patch for issue 186 -- blue pixels appearing when "avoid color clipping" is selected for the color boost tool, and black point is nonzero. Problem was roundoff error. 2010-09-23 01:17:51 -05:00
Emil Martinec
bde7141939 OpenMP for faster implementation of pyramid schemes ;-) 2010-09-22 22:43:39 -05:00
Emil Martinec
539c39a92b Bugfix for Directional Pyramid Denoising. Adding a Directional Pyramid Equalizer tool. This one serves the same function as the existing Wavelet Equalizer, but has much less artifacting; though it is a little slower to execute and has not yet been adapted for OpenMP implementation. There are also fewer levels on which the tool operates, though of course if there was a demand that could be altered. The controls are similar, though have been given separate luma and chroma controls. Each slider adjusts the factor by which a given detail band is amplified; factors larger than one increase contrast, while values smaller than one decrease contrast. The luma control alters contrast on various scales, each successive one twice as large as the previous one. The chroma control is similar, but does less since there is typically less chroma contrast on fine scales. One might use this to restore some of the color contrast lost in NR, or to remove color fringing by making the fine scale enhancement factor much less than one. 2010-09-22 15:39:00 -05:00
Emil Martinec
173a09738b Fixed OpenMP implementation on fast_demo.cc 2010-09-17 19:19:13 -05:00
Emil Martinec
b113a0bead Fixed bug in border interpolation. 2010-09-16 22:24:32 -05:00
Emil Martinec
b6cf8f71a9 A fix for bad behavior of the GUI under the NR tools. The problem seems to be the separation of luminance and chrominance operations in all other tools besides the pyramid NR, while the latter operates simultaneously on luma and chroma data. I put all luma/chroma curves, NR, sharpening, equalizer etc. into a single grouping, which means that if any one is changed, all must be redone. This will slow down the GUI for now but I expect that the pipeline will be retooled at some point anyway. 2010-09-16 14:37:13 -05:00
Emil Martinec
fb906af949 Oops! Forgot to add the fast demosaic code itself. Here's the patch... 2010-09-16 14:07:18 -05:00
Emil Martinec
e827e86831 Added fast demosaic to the collection of demosaic options. I was lazy and moved aside AHD in the demosaic preferences tab, since it is functionally little different than EAHD. In addition I backed out some of Hombre's changes which were breaking the windows resizing in a crazy way in the OSX build. 2010-09-16 13:21:12 -05:00
Emil Martinec
08885a7d77 Minor improvements to denoise tools. Fixed a minor annoyance with zoom panel. 2010-09-15 21:39:55 -05:00
Emil Martinec
8efac28819 Added a "gamma" slider to pyramid NR. Noise reduction is carried out with L channel mapped to that gamma. Default value is 2.0; lower values increase shadow smoothing, higher values smooth highlights more. Unfortunately adjusting this slider interacts with the other two, so all three have to be iteratively adjusted to achieve a desired result. 2010-09-14 12:55:56 -05:00
Emil Martinec
d556f04ddb Added a threshold slider to the impulse denoise tool. At large values it can lead to a bit of cratering, but otherwise it allows some flexibility that is useful as a precursor to the pyramid denoise filter. Small values on the slider are less impulse NR, larger values yield more NR. 2010-09-14 00:47:44 -05:00
Emil Martinec
1820978df4 Added a threshold slider to the impulse NR tool. Large values can cause cratering, but otherwise this should be a good precursor to pyramid denoising. 2010-09-14 00:08:23 -05:00
Andrey Skvortsov
24a457f320 fix small bug in openmp of bilinear 2010-09-13 17:37:21 -07:00
Emil Martinec
c96bbfb378 A patch for the patch. As far as I can tell, the NR tools now update properly. 2010-09-13 14:41:14 -05:00
Emil Martinec
f52e8a69b4 Adding luminance impulse denoising and directional pyramid denoising. 2010-09-13 03:35:02 -05:00
Philip Rinn
d1b551466f Reapplied Hombres patch (revision c006f93a5f) as it got lost on the way. 2010-09-13 10:44:42 +02:00