Commit Graph

452 Commits

Author SHA1 Message Date
Hombre
a69c631f22 Fix issue #3411 + revert some code to the old one for better readability 2016-09-03 00:49:35 +02:00
Hombre
c96c7dc8f3 Soft-proofing ang GamutCheck buttons are now disabled if Monitor profile
== NONE of is no suported intent for the selected profile.

The Monitor profile list (in the Editor and in Preferences) shows RGB
profiles only, whereas the output profile list shows all profiles (RGB,
CMYK, ... anything!)

Bugfix: When switching to a new image, the image now use the selected profile and intent.
2016-09-02 16:23:21 +02:00
Hombre
d31de41f68 Cleaner implementation of the gamma array (more C++11) 2016-08-31 23:40:27 +02:00
Hombre
d762ef4510 Bugfix + cleanup 2016-08-30 02:06:10 +02:00
Hombre
ad5ef21648 Merge remote-tracking branch 'origin/master' into softproofing 2016-08-29 21:08:54 +02:00
Hombre
7c7cb9f9f1 Bug fix: the monitor profile and softproofing profile are now computed
automatically even without special trigger event. The order of the
Monitor Intent is now correct.
2016-08-29 21:04:59 +02:00
heckflosse
46334c0462 Disables StopWatch 2016-08-28 19:59:46 +02:00
Hombre
a1981dbd4d Merge branch 'master' into softproofing 2016-08-27 23:52:53 +02:00
Hombre
827acd35f9 Some bugfix. 2016-08-27 22:20:54 +02:00
heckflosse
66054ca50d RGB curves luminosity mode: Experimental patch to equalize the strength of R, G and B curve 2016-08-26 16:38:14 +02:00
heckflosse
7a2dd888bb RGB Curves Luminosity mode, reduce number of atan2 calculations 2016-08-26 14:20:47 +02:00
heckflosse
294f16c741 RGB Curves Luminosity mode: ~ 40% speedup 2016-08-25 19:28:05 +02:00
Hombre
5affa18341 Introducting soft-proofing and Black Point Compensation, simplify the
CMM at the end of the pipeline + sparse code refactoring
A new BPC checkbutton has been created in 'Preferences/Color Management'
and in the ICM tool. Better hanbling of widget sensitivity of the output
profile / gamma part of the ICM tool.
2016-08-24 22:32:06 +02:00
Ingo Weyrich
d9d539cbb3 Merge pull request #3401 from Beep6581/colourtoning
Colourtoning: Speedup and improvement for Automatic Saturation Protection
2016-08-24 21:30:18 +02:00
heckflosse
39a57cbb3b Disabled StopWatch 2016-08-24 21:28:01 +02:00
Morgan Hardwood
3160efde81 camconst.json updated by IliasG, closes #3298 2016-08-24 11:01:42 +02:00
heckflosse
281e3979d5 ImProcFunctions::moyeqt, simplified calculation 2016-08-23 21:32:30 +02:00
heckflosse
7a4cf9aba8 Colourtoning: Always calculate saturation for 'Automatic Saturation Protection' from full image 2016-08-23 19:59:49 +02:00
heckflosse
9b62f92095 About 7x speedup for Automatic Saturation Protection in Colourtoning 2016-08-23 19:35:15 +02:00
heckflosse
3df0acee56 Fixed wrong transition curve in ciecam02, fixes #3398 2016-08-21 15:13:17 +02:00
heckflosse
3e510cd94e Fix some ciecam02 issues, fixes ##3380, fixes #3396, fixes #3397 2016-08-18 21:41:16 +02:00
heckflosse
1339cbe67a Fixes "CIECAM02 causes blue to become black"
Signed-off-by: Morgan Hardwood <entertheyoni@gmail.com>
2016-08-02 01:15:36 +02:00
Morgan Hardwood
1255d9e942 Fixes #3389 - CbDL memleak. 2016-07-28 04:48:53 +02:00
heckflosse
2d346f670e Fix build issue with clang 2016-07-14 20:56:14 +02:00
heckflosse
5127e94cc9 Add missing #ifdef __SSE2__, fixes #3382 2016-07-12 17:28:16 +02:00
Morgan Hardwood
cb5e99ef62 Updated defaults for crop, sharpening and post-resize sharpening. 2016-07-10 21:22:12 +02:00
heckflosse
2ee160dcf7 Fix OOB access in ImProcFunctions::MadRgb, fixes #3379 2016-07-10 18:35:19 +02:00
Flössie
8d01bef05a Remove unused rtengine/colorclip.h 2016-07-10 11:00:29 +02:00
Flössie
e129510b62 Partly revert rtengine/dcraw.cc and astyle again
Also recreate `dcraw.patch` as suggested by Ingo.
2016-07-09 17:42:59 +02:00
Flössie
2e9f3fb9dc Applied clang-tidy on rtengine/FTblockDN.cc
- Applied `clang-tidy` 3.8 with these checks and `-fix`:
  google-readability-casting,modernize-redundant-void-arg,
  modernize-use-bool-literals,modernize-use-nullptr,
  modernize-use-override,readability-braces-around-statements,
  readability-container-size-empty,
  readability-inconsistent-declaration-parameter-name,
  readability-redundant-control-flow,readability-redundant-string-cstr,
  readability-redundant-string-init,readability-simplify-boolean-expr,
  readability-static-definition-in-anonymous-namespace
- Renamed last occurrences of `ULIM` to `median`
- Removed double include of `median.h` from `rtengine/rawimagesource.cc`
  (found by Ingo)
2016-07-09 12:52:59 +02:00
Flössie
7f66eb5ec4 Move common code out of switch in ImProcFunctions::Median_Denoise()
- Move suggested by @heckflosse
- Use switch/case
- astyle `FTblockDN.cc`
- Whitespace cleanups
- Apply `median()` on `ffmanager.cc`
2016-07-09 11:47:47 +02:00
Flössie
c0c82abb32 Merge branch 'master' into median-rework 2016-07-08 18:11:22 +02:00
Flössie
719b405076 Remove vectorized medians < 25 from ImProcFunctions::Median_Denoise()
- But keep those versions in `median.h` for consistency
- Remove stopwatch
2016-07-08 17:28:27 +02:00
Ingo Weyrich
3b734e4a7a Merge pull request #3376 from Beep6581/small_camconst_speedup
Improve processing time to read camconst.json by almost factor 2. Additionally make it future-proof by reducing O(n²) copying amount in reallocate phase to O(n)
2016-07-08 12:43:40 +02:00
Ingo Weyrich
36f2c4db59 Merge pull request #3375 from Beep6581/fix_all_cppcheck_performance_hints
Fix cppcheck performance hints
2016-07-08 12:42:34 +02:00
heckflosse
b744eae46d Fix a bug reported by cppcheck and an OOB access, kudos to Floessie 2016-07-08 12:41:38 +02:00
heckflosse
ed7ee02150 Added change suggested by Floessie 2016-07-07 22:31:04 +02:00
heckflosse
f76211509f Improve processing time to read camconst.json by almost factor 2. Additionally make it future-proof by reducing O(n²) copying amount in reallocate phase to O(n) 2016-07-07 21:44:44 +02:00
Beep6581
7a70601f59 Merge pull request #3372 from Beep6581/helpman
Updated help and man page, #3369
2016-07-07 11:23:20 +02:00
heckflosse
f241caf8cb Canon EOS-1D mkII raw files are rendered as flat black, fixes #3373 2016-07-06 14:46:10 +02:00
heckflosse
c8779c04f5 Fix all - 2 cppcheck performance hints 2016-07-06 13:04:24 +02:00
Morgan Hardwood
3d6f9407a2 Updated help and man page, #3369 2016-07-05 23:07:58 +02:00
heckflosse
a991d53bf3 Fix segfault when adding files to the currently watched folder, kudos to Floessie for the fix 2016-07-05 16:48:30 +02:00
heckflosse
1bf2f87cdc Exif lost when saving compressed tiff from raw on windows builds, fixes #3370 2016-07-05 15:05:03 +02:00
heckflosse
1a0b96b223 Remove some top level tags when saving to uncompressed tiff, also simplified generation of 'Software' tag 2016-07-04 19:28:04 +02:00
heckflosse
87e1914b9d Fix buffer overrun writing uncompressed tiff 2016-07-03 16:06:07 +02:00
heckflosse
2710bcdcec Fix a warning and a crash 2016-07-02 23:03:58 +02:00
heckflosse
b8c5ee7e47 Disabled StopWatch 2016-07-01 15:04:34 +02:00
heckflosse
58e560b88e Added further speedups and astyles the changed files 2016-06-30 19:48:44 +02:00
Flössie
1f63ab85fa Vectorize 49 and 81 in ImProcFunctions::Median_Denoise() (#3346) 2016-06-30 18:18:13 +02:00