91 Commits

Author SHA1 Message Date
Alberto Griggio
b39529f7c0 LCP: new experimental logic for finding the correct distortion coefficients 2017-06-05 14:21:52 +02:00
heckflosse
6e55f6bab5 Fixed a lot of issues reported by cppcheck 1.78 2017-04-08 22:41:46 +02:00
Hombre
23863aceca Printer profile added in Preferences for soft-proofing
The output profiles now retain only 'Display' device class as well as
the Monitor profile - and they both have to have rgb color space, the
printer profile retain only 'Output' device class.

MacOS can use soft-proofing but due to undocumented feature of OSX, and
since Cairo assume that the image data are sRGB, the monitor profile is
forced to 'RT_sRGB'. A warning message replace the combobox for this OS.
2016-12-30 03:59:18 +01:00
heckflosse
053b305d89 Tone curve histogram ignores DCP tone curve, fixes #3512 2016-11-23 17:23:25 +01:00
Flössie
730c03785d Reapplied clang-tidy filters
- modernize-use-nullptr
- modernize-redundant-void-arg
- readability-simplify-boolean-expr
- misc-redundant-expression
- readability-redundant-control-flow
- readability-avoid-const-params-in-decls
2016-10-18 18:16:05 +02:00
heckflosse
ed42b1239c Merge cppckeck2 branch into master 2016-10-16 22:13:13 +02:00
Hombre
50165dab20 Merge branch 'master' into softproofing 2016-10-16 01:45:52 +02:00
heckflosse
e98bd47487 Cppcheck: Fix some warnings 2016-10-12 19:04:06 +02:00
heckflosse
f9f593d343 Cppcheck: Fix issues related to rtengine/FTblockDN.cc 2016-10-02 15:09:26 +02:00
Hombre
d31de41f68 Cleaner implementation of the gamma array (more C++11) 2016-08-31 23:40:27 +02:00
Hombre
827acd35f9 Some bugfix. 2016-08-27 22:20:54 +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
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
5cbff43191 Finalize median.h
- Added median 13, 49, and 81
- Integrated Ingo's SSE optimization for "5x5 strong"
- Converted `MIDDLE4OF6`
- Refactored `enum mediantype`
2016-06-28 21:49:07 +02:00
Flössie
2fa1ad138e Start median rework (#3346)
- Added basic algorithms to `rtengine/median.h`
- Converted first occurrences
2016-06-14 22:08:03 +02:00
Floessie
2abd641c06 Refactor DCPProfile::DCPProfile()
- Rename members
- Styling
- C++11

Still to come:
- All the rest of DCPProfile
2016-06-05 21:30:51 +02:00
Floessie
a520c93775 Add Ingo's patch for #3304 2016-06-04 21:07:41 +02:00
heckflosse
b31225672a Some new improvements to speed of curve generation (mainly to speedup thumb processing in file browser) 2016-05-31 23:47:01 +02:00
heckflosse
6646c2dc5c Speedup for thumbnail and editor processing, also reduced base memory usage a bit 2016-05-06 21:51:57 +02:00
Ingo Weyrich
4df5e64056 Merge pull request #3188 from Beep6581/cbdlbw
Adapt Cbdl to B&W tools
2016-03-01 20:31:14 +01:00
heckflosse
51de80b558 Fixed bug with combination of cbdl and ciecam, cleaned code, made SSE version for lab2rgb 2016-03-01 19:16:34 +01:00
heckflosse
24ca91dc61 Removed cleanupCache from improcfun.h and StopWatch for iccstore 2016-02-24 02:17:09 +01:00
heckflosse
e52b1fcdd4 Reduce start time and memory usage by removing redundant lookup tables and fillig remaining lookup tables in parellel 2016-02-24 01:35:47 +01:00
Desmis
5f988861b0 Init CBDL before Black and White 2016-02-19 16:58:23 +01:00
Hombre
fa6a9671cb Merge branch 'master' into NewPreviewCanvas 2016-02-13 17:57:13 +01:00
Adam Reichold
a3531d87fb Fix passing the large type struct cont_params by value in the image processing functions. 2016-02-07 14:10:36 +01:00
Hombre
4665b88788 Modified Preview Canvas
- Now the Preview can show free space around the image (the image's
corner will coincide with the center of the preview area)
- Editing objects can now be manipulated in this free space
- The editing mechanism has been split : it was completely handled in
rtengine before, now rtengine still handle the pipette's data provider,
but rtgui now handle the objects data provider.
- Bugfix: when using coarse rotate in the Editor panel, the Gradient
widgets are now correctly displayed
2016-02-05 01:40:31 +01:00
heckflosse
a3c20daa46 Cleaned gauss code and included some speedups 2016-01-18 23:56:02 +01:00
Adam Reichold
5fd5d5bece Remove the soft proof button and internal flag as it was decided not to mix this with the output profile handling. 2016-01-01 19:43:09 +01:00
Hombre
bcbb45454a Updated icons (from Drslony), code cleanup and bugfix 2015-12-29 03:52:50 +01:00
Hombre
32eb6b996c Adding softproofing. Now the output profile and the new rendering intent
profile for the output profile will only be shown when the new softproof
toggle button (bottom of the preview in the Editor panel) will be on.
2015-12-15 01:06:38 +01:00
Morgan Hardwood
5d6f7080b7 Merge branch 'master' into dehaze 2015-09-08 09:40:23 +02:00
Desmis
3bddbc8d6f Dehaze with Rawprocess 2015-08-23 16:41:51 +02:00
heckflosse
0b2b19a761 Speedup for Wavelet/Final Touchup/Final local contrast curve, #2874 2015-08-19 20:55:25 +02:00
heckflosse
86b0bb5420 Initial commit for DeHaze branch 2015-08-17 18:49:02 +02:00
Morgan Hardwood
91f67f0cb6 Issue 2846: Filter preview through output profile when using a monitor profile.
- Removed the "Rendering intent" setting from Preferences,
- Hard-code "relative colorimetric" intent everywhere,
- Filter through output profile before filtering through monitor
  profile if using a monitor profile,
- If not using a monitor profile, a direct sRGB conversion is done,
2015-08-12 13:27:45 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
jdc
3ff086de02 Issue 2872: Fixed Wavelet defects reported by Coverity 2015-08-09 20:31:56 +02:00
torger
b2836b388f Issue 2850: normalized RGB-pipeline curve gammas to sRGB, make curve algorithms operate on linear image data 2015-07-23 21:34:00 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00