Predictor modes 2-7 were broken. I just copy-pasted this
line from dcraw.c
After this fix it should be possible to remove lj92
(the lib + lossless_dnglj92_load_raw) and always use
lossless_dng_load_raw.
This minimal change might not be the most correct solution, but it cannot be harmful: at worst, it can only break when both filmNeg and fattal are enabled (a situation wich is already broken).
* Enable dynamic range - settings normalize luminance
* Change range DR sigma offset
* improve normalize_mean_dt with mean std before
* Save work on normalize dynamic range
* Improve normalize for TM
* Added LA retinex to normalize_mean
* Clean and optimize code
* Disabled normalize DR - improve TM and Retinex
* Clean code - first part
* Clean code - part two
* Change 2 default values Retinex
* Change order TM and Retinex in process
* remove the order number in - add tool to current spot -
* Fixed bug in TM
* Some change Retinex - default...
* optimize mean sigma
* cleanup for mean_sig
* Fix some cppcheck issues
* convert one large loop into three loops to avoid performance penalty on machines with 4-way L1 cache
Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
* Added Guidedfilter to avoid color shift
* Various improvment to avoid color shift
* Small change to mint maxt
* local adjustments avoid color shift: reduce memory usage by width * height * 8 byte if Soft Radius > 0
* Remove StopWatch
* local adjustments avoid color shift: speedup for last loop
* cleanups
* one more cleanup
* Added checkbox Munsell correction only - uniform perceptual lab
* Refine some settings
* Clean-up - other small refinement
Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
* [cmake] Switch to find_package for TIFF
- Included in cmake 3.5 and later
- Provides better configuration messages
* Add missing TIFF library to rtgui and rtexif
* Removed unnecessary quotes so that cmake sees the list as a list
* Add OpenMP to rtengine if OpenMP is enabled
Found via `codespell -q 3 -S ./rtdata/languages -L ba,bord,childs,hist,fo,reall,bloc,alph,dof,inout,thre,makro,chang,currentry,preserv,portugues,struc,trough,vektor,`
* Make some more files cppcheck clean
* revert change of dcrop.cc from last commit
* Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))
* Revert "Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))"
This reverts commit d639c67249f1723fa9f9e55e0442afcb862eba91.
* make improcfun.cc cppcheck clean
* improcfun.cc: add -Wdouble-promotion to stay clean about this warning in future, because we are clean about it atm
* improcfun.cc: some cleanups, now this file is -Wextra clean. Let's keep it clean...
* improcfun.cc : Fix LGTM alert