https://bitbucket.org/hudson/magic-lantern
Revision 525ddc293f581913bec7342c6c61f56b66867a6a authored by alex@thinkpad on 07 June 2013, 11:57:36 UTC, committed by alex@thinkpad on 07 June 2013, 11:57:36 UTC
1) Quantization error from dark areas was introducing huge spikes on the histogram, thus adding a strong bias towards certain correction values. Therefore, most of the banding was removed, but not all. Added a random noise to spread it out.
2) Better accuracy for computing the median (also configurable)
3) Different method for correcting the gradient
4) Bugfix: out-of-range factors should not be ignored, because this alters the median, especially for noisy images
5) Stronger weight towards highlights

- octave graphs for debugging
1 parent 7070964
History
Tip revision: 525ddc293f581913bec7342c6c61f56b66867a6a authored by alex@thinkpad on 07 June 2013, 11:57:36 UTC
raw2dng: major update in banding correction algorithm
Tip revision: 525ddc2
File Mode Size
contrib
data
doc
features
icons
installer
legacy
minimal
modules
picoc
platform
plugins
scripts
src
tcc
.hgignore -rw-r--r-- 1000 bytes
.hgtags -rw-r--r-- 3.0 KB
COPYING -rw-r--r-- 17.6 KB
Doxyfile -rw-r--r-- 66.0 KB
Makefile -rw-r--r-- 7.6 KB
Makefile.filerules -rw-r--r-- 978 bytes
Makefile.inc -rw-r--r-- 15.1 KB
Makefile.setup -rw-r--r-- 1.5 KB
Makefile.top -rw-r--r-- 562 bytes
Makefile.user.default -rw-r--r-- 3.0 KB
README -rw-r--r-- 1.6 KB

README

back to top