Commit Graph

8739 Commits

Author SHA1 Message Date
Ingo Weyrich
b2443b0e7e more double promote fixes, still not complete 2020-01-21 00:16:27 +01:00
Ingo Weyrich
9dbf0ff629 Fix LGTM issues 2020-01-20 18:50:24 +01:00
Ingo Weyrich
544a2e5068 Fix double promotion in target rtexif 2020-01-20 16:02:30 +01:00
Ingo Weyrich
6d76670e7d sleef.h: Do not convert to double in signf(float) 2020-01-19 12:02:19 +01:00
Lawrence
f16773eb3f Merge branch 'dev' into perspective
Resolve minor conflict in ImProcFunctions::transformGeneral and add new
arguments for use of ImProcFunctions::needsTransform in
PerspectiveCorrection::autocompute.
2020-01-18 18:41:26 -08:00
Lawrence
7395b26db4 Add rotation to camera-based perspective tool
This rotation is different from the Rotate tool and the post-correction
adjustment rotation because it is applied between camera shift and
camera angle. It is equivalent to correcting the camera's roll and is
the same as the rotation calculated by automatic perspective correction.
2020-01-18 17:13:24 -08:00
Lawrence
025d11bb22 Make auto perspective centered at 0
darktable/ART searches for the optimal value of a parameter starting
with the currently set value. They scan within a range of that value.
This commit changes the starting value to 0 for rotation, pitch, and
yaw. It makes the search range balanced.
2020-01-18 15:26:52 -08:00
Ingo Weyrich
bf301b7e40 reduce include depenencies 2020-01-18 23:46:48 +01:00
Lawrence
72dfa1b242 Add auto perspective correction to GUI
Add three buttons for correcting pitch, yaw, or both. Horizontal and/or
vertical tilt adjusters are updated with the automatically computed
values.
2020-01-18 14:32:03 -08:00
Lawrence
6ab92eb1f5 Adapt auto perspective for camera-based correction
Comment out parameters that darktable/ART use in case we decide to use
them later. Add yaw and pitch parameters used by the camera-based
perspective correction. Modify homography matrix calculation to use the
camera-based perspective model.
2020-01-18 12:31:04 -08:00
Lawrence
b2a5c6a0f3 Fix a homogeneous function parameter type
The rotation matrix function signature used a generic type for the
rotation angle. Change it to double.
2020-01-18 10:59:57 -08:00
Ingo Weyrich
c3a86befaa Fix broken build 2020-01-18 11:57:31 +01:00
Ingo Weyrich
54d8efc5f6 reduce include dependecies 2020-01-17 23:56:17 +01:00
Ingo Weyrich
d82ea3af02 reduce some include dependencies 2020-01-17 23:18:48 +01:00
Benitoite
136c67f083 macOS: libexpat handling 2020-01-17 10:15:16 -08:00
Ingo Weyrich
507af11adf mlsharpen: bugfix and speedup 2020-01-17 16:25:20 +01:00
Ingo Weyrich
c304d32702 mlsharpen review: minor changes 2020-01-17 14:23:06 +01:00
Ingo Weyrich
d5c60475e5 review mlsharpen 2020-01-17 14:16:54 +01:00
Ingo Weyrich
906347ab2d Capture sharpening: some cleanups 2020-01-15 22:15:31 +01:00
Lawrence
d9886d58f9 Take auto perspective correction files from ART 2020-01-13 19:51:38 -08:00
Ingo Weyrich
88808d1364 Merge pull request #5585 from Beep6581/lab2monitorRgb-review
Simplify copyAndClampLine, make in place transformations when gamutwa…
2020-01-13 13:57:26 +01:00
Desmis
ba7a61c391 merge with dev 2020-01-13 08:33:45 +01:00
Desmis
4e81cbaa72 merge with dev 2020-01-13 08:02:43 +01:00
Ingo Weyrich
4ee4888d5b Capture sharpening: Disable benchmark 2020-01-12 19:38:37 +01:00
Ingo Weyrich
54bce4af64 Capture sharpening: minor speedups 2020-01-12 19:36:37 +01:00
rfranke
590ee199cc Fix scrolling in thumb browser under macOS, see #5599
The Quartz backend emits adjusted GdkEventScroll delta values.
This is why the RT thumb browser scrolls several hundred times too fast
if the deltas are additionally multiplied by thumb size under macOS.

See use of scroll_unit and GDK_WINDOWING_QUARTZ for Gtk scrollbars:
https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-24/gtk/gtkrange.c#L3080
2020-01-12 16:09:11 +01:00
Desmis
01fbc2eddf Suppress interaction between wavelet and tone-mapping 2020-01-12 08:03:52 +01:00
Desmis
d8564cb652 another fix for wavelet <=> tone mapping 2020-01-11 16:25:50 +01:00
Ingo Weyrich
fd5cdce3d0 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2020-01-11 11:21:53 +01:00
Ingo Weyrich
1a02f16c35 crash in Tab: transform, fixes #5604 2020-01-11 11:20:41 +01:00
Desmis
2ff619e5e2 Fixed bad behavior gamma slider tone-mapping 2020-01-11 08:23:15 +01:00
Ingo Weyrich
09b1a5fada Capture sharpening: add vectorization hints for gcc 2020-01-10 19:45:59 +01:00
Ingo Weyrich
355fd5a44a Capture sharpening: add vectorization hints for clang 2020-01-10 14:25:51 +01:00
Ingo Weyrich
c6f021dcc9 Merge pull request #5589 from Beep6581/logtransform
Applying geometric transformations leads to dark artifacts in combina…
2020-01-06 20:52:22 +01:00
Ingo Weyrich
0edac2dac7 Speedup for scalar xlog functions 2020-01-06 19:01:30 +01:00
Benitoite
aaab85fbed macOS: LOCAL_PREFIX default/better negative logic 2020-01-04 16:06:13 -08:00
Benitoite
5ca8c85334 macOS: one fewer /local for libjpeg 2020-01-04 12:36:28 -08:00
Benitoite
d420acdded macOS: /local after $LOCAL_PREFIX 2020-01-04 12:16:55 -08:00
Benitoite
f3d4d8027b macOS: use $LOCAL_PREFIX for gtk locations 2020-01-04 08:57:06 -08:00
Benitoite
f23cf0808b macOS: accept -DLOCAL_PREFIX and default to /usr 2020-01-04 08:53:43 -08:00
Ingo Weyrich
5252836503 filterpanel: make full use of the screen vertical space, copied from ART 2020-01-04 11:28:05 +01:00
Ingo Weyrich
cabbf8c229 guidedfilter: direct copy when no rescaling is needed, copied from ART 2020-01-03 20:23:34 +01:00
Ingo Weyrich
e07ff4032b log transform: Fix segfault 2020-01-03 11:35:20 +01:00
Ingo Weyrich
7c2aa2405b Startup crashes in LensProfilePanel::LFDbHelper, fixes #5577, thanks to @dlichtenberger for the fix 2020-01-02 23:01:37 +01:00
Ingo Weyrich
49d594f67a Log transform: add method combobox 2020-01-02 19:28:57 +01:00
Ingo Weyrich
2ce6e6d1d3 skip unnecessary transform 2020-01-02 14:35:27 +01:00
Ingo Weyrich
085c68fc29 Log tranform: fix bug in preview mode 2020-01-01 19:06:02 +01:00
Ingo Weyrich
52f7c2c531 Log transform: further speedup 2020-01-01 15:18:47 +01:00
Ingo Weyrich
6302084804 sleef: use our own replacement of rint. Based on code from Alberto Griggio, but further optimized for SSE 2020-01-01 14:52:15 +01:00
Ingo Weyrich
399a0055c6 Log transform: Fix broken build 2019-12-31 20:07:39 +01:00