Commit Graph

1626 Commits

Author SHA1 Message Date
heckflosse
818200522a Fix some inconsistencies in Profiled Lens Correction gui 2017-09-15 20:11:49 +02:00
heckflosse
be2b1ed043 Use LoadDirectory() instead of Load() when dbdir is not empty 2017-09-14 13:53:03 +02:00
heckflosse
a515329bac Don't pass nullptr to lensfun Load() 2017-09-14 13:24:19 +02:00
Alberto Griggio
008f280e29 lensfun: added possibility to use a private copy of the LF database 2017-09-14 11:34:41 +02:00
Alberto Griggio
5b3d60bf56 lensfun: applied Floessie's workaround for locale conversion issues 2017-09-14 10:42:01 +02:00
Desmis
7d8de8b020 Merge pull request #4075 from Beep6581/ciecamtest2
Ciecamtest2 - fixed jump in brightness curve Ciecam
2017-09-14 08:12:07 +02:00
Flössie
05b97f5c50 Fix some new Coverity warnings 2017-09-13 19:58:48 +02:00
Desmis
71e6a06326 same modification for double 2017-09-13 19:34:25 +02:00
heckflosse
c465655cb4 Fix two issues detected by coverity 2017-09-13 17:28:11 +02:00
Alberto Griggio
f630309909 Merge pull request #4070 from Beep6581/lensfun
Lensfun integration
2017-09-13 15:35:26 +02:00
Alberto Griggio
c2960caab5 some (minor) code cleanup 2017-09-13 15:06:47 +02:00
Desmis
de9c742d27 Fixed another mistake in curve brigthness ciecam 2017-09-13 13:48:24 +02:00
Desmis
5bd82a5c88 add la < 200 2017-09-13 09:23:06 +02:00
Desmis
c9c02c137b change calculation in curve brightness CIECAM 2017-09-13 08:49:56 +02:00
Flössie
f2853d8742 Some little cleanups to rtlensfun.*
- Sanitize `std::unique_ptr<>` handling
- Use `NonCopyable`
- Employ `explicit operator bool()`
- Correct use of `std::vector::emplace_back()`
- Cleanup includes
- Streamline implementation order
2017-09-12 20:58:20 +02:00
Alberto Griggio
2d1cca8cbb disable vignetting or distortion correction checkboxes if the selected lensfun profile doesn't support them
Patch by heckflosse
2017-09-12 16:41:25 +02:00
Alberto Griggio
ea5f8c3beb profile lens correction: show a warning if the lens profile has a crop factor greater than the selected camera 2017-09-12 08:25:45 +02:00
Alberto Griggio
4dc0e20ae0 merge with lcp-vignetting-issue4062 2017-09-11 17:22:01 +02:00
Ingo Weyrich
d1fe99f89f Merge pull request #4043 from Beep6581/greenequil_speedup
Green equilibration speedup
2017-09-11 00:33:02 +02:00
Alberto Griggio
e4ba4d19f5 made lensfun-based correction compatible with auto fill mode 2017-09-10 22:02:43 +02:00
Alberto Griggio
0761499557 lensfun: fixed bug in auto-matching of some fixed-lens cameras (e.g. nikon coolpix) 2017-09-10 12:22:36 +02:00
Alberto Griggio
0f197bf1a4 lensfun: properly group lenses by maker in the UI 2017-09-09 22:31:59 +02:00
Flössie
d442f7a85b LCP cleanup (#4062)
- Removed `using namespace`
- Use real `Cache`
- Use `std::shared_ptr<LCPProfile>`
- Moved `LCPPersModel` to .cc

More could be done...
2017-09-09 20:19:11 +02:00
Alberto Griggio
0c0f3d146d lensfun: take the focal length from the lens (if a prime) when there is no exif info about it 2017-09-09 18:41:47 +02:00
Flössie
afb503c50f Prevent /0 in dcraw.cc (fixes #4061)
Final solution by @heckflosse. Thanks!
2017-09-09 17:43:33 +02:00
Alberto Griggio
13c4b0c284 one more refinement to the lensfun automatching logic
hopefully this is the good one :-)
2017-09-09 09:53:57 +02:00
Alberto Griggio
66979d290a lensfun: further tweaks on the matching logic and the UI 2017-09-09 00:54:28 +02:00
Alberto Griggio
cbae5e0718 further tweaks to the lensfun automatching logic 2017-09-08 23:52:16 +02:00
Alberto Griggio
b2232f3843 improved logic for auto-matching lensfun correction (esp. with fixed-lens cameras) 2017-09-08 18:02:34 +02:00
Alberto Griggio
5a37c38bfb update the lens correction when selecting a camera/lens combination manually 2017-09-08 17:45:18 +02:00
Alberto Griggio
266efa40ae fixed lensfun-based distortion correction for pictures in portrait orientation 2017-09-08 11:24:10 +02:00
heckflosse
0b8900cf1b Fix warning when compiling CA_correct_RT.cc without __SSE2__ being defined 2017-09-08 00:02:21 +02:00
heckflosse
80c58f5014 Fix artifacts in raw ca correction when width of raw is odd 2017-09-07 20:30:03 +02:00
Alberto Griggio
f3ae370ea7 fixed bug in passing image dimensions to the lensfun correction engine 2017-09-07 16:53:53 +02:00
Alberto Griggio
30f62b0560 added GUI for lensfun 2017-09-07 16:45:41 +02:00
heckflosse
50dce7084b Removed timing code, added comment 2017-09-07 14:45:09 +02:00
heckflosse
642047b2a2 DNG files from HdrMerge are decoded incorrectly when zlib 1.2.11 is used, fixes #3674 2017-09-07 13:41:40 +02:00
Alberto Griggio
940577ce45 handle coarse rotation in lensfun distortion correction 2017-09-07 09:57:37 +02:00
Alberto Griggio
18f3bd6f45 added vignette correction via lensfun 2017-09-07 09:17:28 +02:00
Alberto Griggio
dde94bc6d3 added basic integration of lensfun
so far only distortion correction, and no GUI yet
2017-09-07 00:53:03 +02:00
Alberto Griggio
5656d16e64 LCP: filter out bad vignetting correction entries
Candidate fix for regression #4062
2017-09-06 15:27:54 +02:00
Alberto Griggio
b4d3caf9c6 changed signature of ImProcFunctions::transform to take as input an ImageMetaData pointer 2017-09-06 00:15:41 +02:00
Alberto Griggio
f7b857eb9e added wrapper classes for lensfun types 2017-09-05 23:42:17 +02:00
Alberto Griggio
2c257d2215 started refactoring ImProcFunctions::transform in preparation for lensfun integration 2017-09-03 20:48:49 +02:00
heckflosse
6a67dd3500 Additional speedup for phase_one_flat_field() 2017-08-30 19:47:26 +02:00
heckflosse
fd1909e4da Additional optimizations for Phase One P45+ and P65+ 2017-08-30 18:55:30 +02:00
heckflosse
61a69ba193 Fixed artifacts in clipped highlights of phase one files I introduced with recent commit 2017-08-30 16:44:46 +02:00
heckflosse
c16115cdde Speedup for loading of Phase One files 2017-08-30 14:49:27 +02:00
heckflosse
f3b4722e4f RawTherapee is crashing when trying to open .dng taken on smartphone, fixes #4047 2017-08-28 17:40:05 +02:00
heckflosse
ed354a5926 Moved green equilibration pass one from to green_equil_RT.cc, removed timing code. Fixes #4034 2017-08-25 21:39:00 +02:00