38 Commits

Author SHA1 Message Date
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
heckflosse
6074fe3be4 Do not search lensfun modifier if make, model or lens is empty, #4985 2018-11-15 17:16:55 +01:00
George Hilliard
5081c85f26 Fix leak of heap-allocated mutexes 2018-11-02 03:07:07 -05:00
Hombre
ca4f0e5239 Add mutex to the Lensfun library access.
(try to fix #4580)
2018-07-14 15:52:43 +02:00
Alberto Griggio
19281eedd1 merge branch 'lensprofile-ca-correction' into 'dev' 2017-11-14 22:53:27 +01:00
Ingo Weyrich
5946a00511
Merge pull request #4176 from Beep6581/extraclean
get rt cleaner when built using -Wextra #4155
2017-11-11 18:06:00 +01:00
Alberto Griggio
dd6e411c13 lensfun: improved logic for handling fixed-lens cameras
Fixes #4161
2017-10-31 09:02:37 +01:00
Alberto Griggio
5a05b04e09 profile-based CA correction applied during 1:1 preview 2017-10-29 21:41:19 +01:00
Alberto Griggio
830fd6fdbb added support for CA correction via lensfun
Performance could be improved (see the comments marked "agriggio" in iptransform.cc and rtlensfun.cc)
2017-10-26 23:55:52 +02:00
heckflosse
f3690d00ac Make compilation unit rtengine/rtlensfun.cc -Wextra clean, #4155 2017-10-25 17:36:43 +02:00
Alberto Griggio
6f3d5688d8 Fixed bug in finding lensfun lens when maker name consists of multiple words 2017-10-19 16:03:33 +02:00
Hombre57
8cef3c5e2f Merge branch 'dev' into multiframe-handling 2017-09-17 15:04:29 +02:00
Hombre57
0905294bda Merge branch 'dev' into multiframe-handling, with some merge bugfix 2017-09-17 01:15:51 +02:00
Alberto Griggio
7ee485e89c Make LENSFUN_HAS_LOAD_DIRECTORY test actually succeed when it should 2017-09-17 00:18:33 +02:00
heckflosse
597c4fbaa1 Merge branch 'lenscorrectiongui' into dev 2017-09-16 19:18:04 +02:00
Alberto Griggio
a467246834 fix compilation failure when using lensfun 0.2.x
Fixes #4085
2017-09-16 10:54:00 +02:00
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
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
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
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
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
266efa40ae fixed lensfun-based distortion correction for pictures in portrait orientation 2017-09-08 11:24:10 +02:00
Alberto Griggio
30f62b0560 added GUI for lensfun 2017-09-07 16:45:41 +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
f7b857eb9e added wrapper classes for lensfun types 2017-09-05 23:42:17 +02:00