Commit Graph

4304 Commits

Author SHA1 Message Date
Desmis
b5af6eec60 Fixed crash when use extra 2020-05-09 19:57:39 +02:00
Desmis
8bffa1ee84 Bad behavior equalizer blue red denoise 2020-05-08 20:51:04 +02:00
Pandagrapher
aa41870346 Various changes in Locallab GUI
- Modified some Locallab tool default parameters
- Updates some labels
- Expanders visibility state is now kept when using history
- New added tool has now its visibily state resetted to default one
- Code cleanup
2020-05-06 13:14:54 +02:00
Pandagrapher
65c008aea7 Merge with branch 'dev/newlocallab'...
Others:
- Improves "Local Contrast" tool GUI behavior
- Fixes label for default complexity mode choice in preferences windows
2020-05-05 15:51:39 +02:00
Lawrence Lee
852b3270e1 Make history message key names more descriptive
Use keys that are more descriptive than "HISTORY_MSG_###".
2020-05-04 18:15:27 -07:00
Lawrence Lee
fb5094b6f9 Merge from branch 'dev' 2020-05-04 14:07:45 -07:00
Lawrence Lee
8a970f95bc Merge from branch 'dev' 2020-05-04 11:49:34 -07:00
Pandagrapher
d0d79c7d59 Improve complexity mode management for Locallab tools
Changes:
- For each Locallab tool, a complexity mode can now be chosen (by
defaut, "Expert") to reduce or not the number of tool parameters.

Fixed issues:
- Some tool parameters had their values forced to a default one in
"Normal" mode whereas it shouldn't.
2020-05-03 13:48:05 +02:00
Desmis
778e9af9b7 Added checkbutton in settings forced change in BW 2020-05-02 11:13:48 +02:00
Desmis
0196b31bf5 Change some default sliders settings wavelet 2020-05-01 08:34:11 +02:00
Desmis
dd070dbd3d Added Damper to wavelet local contrast and gradient 2020-04-29 11:11:08 +02:00
Desmis
9048380242 Improve soft radius wavelet pyramid 2020-04-28 16:17:17 +02:00
Desmis
3dd21f5fe0 merge with dev 2020-04-28 12:52:42 +02:00
Thanatomanic
1beb3c91b4 Adjust white-point for Nikon COOLPIX P1000. Fixes #5734 2020-04-27 18:13:47 +02:00
Desmis
0189cc0815 Added directional contrast to wavelet pyramid 2020-04-27 09:47:43 +02:00
Desmis
2673504ba2 Added shadows highlight to residual image wavelet pyramid 2020-04-26 13:50:47 +02:00
Desmis
1ca10eb755 Save GUI for local wavelet residual shadows Highlight 2020-04-26 13:18:51 +02:00
Flössie
70eeeddddd Fix newly introduced SEGV in ProcParams::save() 2020-04-26 11:59:23 +02:00
Flössie
48ea4741a6 Restore procparams.cc formatting 2020-04-25 19:26:08 +02:00
Flössie
4fc32783fa Fix labimage warning 2020-04-25 18:04:55 +02:00
Desmis
40678e717f Try to fix warning in labimage advice benitoite 2020-04-25 15:07:38 +02:00
Desmis
da10ea26e0 Fixed another waring newhr in iplocallab 2020-04-24 14:19:33 +02:00
Desmis
02e24bb332 Fixed - I hope - warning in ipretinex iplocallab 2020-04-24 14:09:57 +02:00
Desmis
53f98d5f7f Change formating in procparams.cc 2020-04-24 12:20:04 +02:00
Pandagrapher
50ad85bae5 Merge remote-tracking branch 'dev/newlocallab' into newlocallab 2020-04-24 09:58:35 +02:00
Desmis
5d66b894f7 merge with dev 2020-04-24 07:16:46 +02:00
Pandagrapher
192c9b118f Update storage method in .pp3 files for RT-spot points
RT-spot points are now stored as integer vector (instead of four
dedicated integer) to allow future improvements.
2020-04-23 19:38:53 +02:00
Desmis
bc760b8492 Added damper to edge sharpness wavelet 2020-04-21 13:45:29 +02:00
Desmis
07e6d07d46 Added GUI sigmaed to edge sharpness wavelet 2020-04-21 13:23:49 +02:00
Desmis
4af3ffadc2 Added damper to wavelet level blur 2020-04-21 11:08:58 +02:00
Desmis
f2d867bef1 Added slider sigmabl - disactivated blurcbdl 2020-04-21 10:32:38 +02:00
Desmis
266b219f0a Added Damper to dynamic compression wavelet 2020-04-21 08:10:06 +02:00
Desmis
bef184aa95 GUI part - adde sigma to Wavelet Range Compression 2020-04-20 18:09:39 +02:00
Desmis
eec3bdcfdf Change denoise parameters wavelet and DCT 2020-04-20 17:31:34 +02:00
Ingo Weyrich
d165a08e36 revert a801d76, fixes #5716 2020-04-20 13:43:08 +02:00
Pandagrapher
cca6b09768 Merge remote-tracking branch 'dev/newlocallab' into newlocallab 2020-04-20 12:54:09 +02:00
Pandagrapher
dd4eb44971 Merge Locallab tool "Denoise" into Locallab tool "Blur & Noise" 2020-04-19 15:19:48 +02:00
Desmis
f0e78b2a0d merge with dev 2020-04-18 07:43:44 +02:00
Pandagrapher
4ea4663e34 Merge with 'dev/newlocallab'... 2020-04-16 16:01:53 +02:00
Desmis
a70691caf1 Enabled Toning excluded colors - to test 2020-04-16 10:57:52 +02:00
Desmis
c46eb29875 Improve toning level (disabled) - add information verbose 2020-04-16 08:43:25 +02:00
Desmis
a481b18e94 Save provisory work on toning 2020-04-15 15:37:13 +02:00
Desmis
b0f73d7cd3 Wavelet - added damper to directionnal contrast 2020-04-15 08:48:18 +02:00
Desmis
ad207e003c Wavelet Improve Chroma with link contrast levels 2020-04-14 13:08:02 +02:00
Desmis
cb700cc676 Fixed bad behavior blur levels damper 2020-04-14 09:38:05 +02:00
Desmis
e3c802f610 Wavelet levels - Fixed bad behavior edge sharpness with damper 2020-04-14 09:11:32 +02:00
Desmis
2c3c658171 Wavelet - added meanab sigmaab damper to chroma -Fixed bug in toning 2020-04-14 08:36:51 +02:00
Desmis
6db96ed88e merge with dev 2020-04-13 18:00:27 +02:00
Desmis
25513c85bc Improve toning with meanab sigmaab and damper 2020-04-13 17:52:56 +02:00
rom9
22eee9787e Film negative stable multipliers (#5485)
* Added new feature to calculate channel multipliers from crop area. This also saves the crop area channel medians to the processing profiles, in order to get a more consistent color balance when batch-applying the same profile to multiple pictures from the same film roll.

* Fixed wrong initialization of array, and missing check for the result of `getFilmNegativeMedians()`.
Moved `ImProcCoordinator::translateCoord()` from private member to anonymous namespace.
Fixed some whitespace and formatting issues.

* Fixed some formatting issues

* Passed `ipf` parameter as const in `translateCoord`.
Narrowed `using namespace` to single class `Coord2D`.

* Added `scaleGain` entry to thumbnail metadata file, to make `scale_mul` multipliers available in thumbnail processing phase. This simplifies multiplier calculations, so that "faking" thumbnail multipliers in the main image processing is not necessary anymore. This way, output values are immune to slight variations of multipliers between successive shots taken with in-camera AWB turned on.
Shifted multipliers so that the output channel medians are balanced when "Camera WB" is selected. This way, just computing multipliers from crop and setting "Camera WB" (which is the default) gives a pretty well balanced image as a starting point.

* New channel scaling method, based on a film base color sample instead of crop area channel medians. Channels are scaled so that the converted film base values are equal to 1/512th of the output range (65k). This giver better black levels in the output, and more consistency when batch-processing multiple negatives.
The output is now compensated for a known fixed WB value, so that the film base will appear grey when WB is set to 3500K, Green=1.
Added PPVERSION 347 to preserve backwards compatibility: when a processing profile saved by RT 5.7 is loaded (PPVERSION=346), the new fields are initialized to the special value -1, which will instruct the main processing to follow the old channel scaling behaviour. The old channel scaling multipliers will then be converted to the new film base values so that the resulting image is the same, and the fields will be overwritten as soon as the PP is saved again. This will transparently upgrade the processing profile.
When the new behaviour is used, but the film base values are still unset, they are estimated based on channel medians, excluding a 20% border around the image. This should give a better result out-of-the-box for pictures containing a large film holder.

* Code cleanup from review

* Run astyle on film neg source files

* Fixed automated build failure caused by incompatible libraries on my dev PC.

* Simplified `Thumbnail::processFilmNegative` method signature. There is no need to pass in `rmi`,`gmi`,`bmi` multipliers from the caller, i can do the same with my own internal multipliers.

* Added `FilmNegListener` class to pass estimeted film base values to the GUI after first processing. Removed old `filmBaseValues` instance variable from RawImageSource.

* Code cleanup

* Forgot to set baseValues flag in `PartialPasteDlg::applyPaste`
Fixed `filmBaseValuesLabel` not updating when reading zero baseValues. Normally not needed (the label is updated later by the listener), but when the user is browsing through pictures the listener won't fire, so the label must be updated to show values are unset.

* Overwritten channel scaling multipliers by calling `get_colorsCoeff` with `forceAutoWB=false`.
Initially, in `RawImageSource::load`, channels are auto-balanced by averaging the whole picture when computing multipliers.
This can give different multipliers for multiple shots of the same camera, which will lead to inconsistent conversions when batch-processing multiple negatives.
This commit re-sets `scale_mul`, `ref_pre_mul`, etc., in order to "undo" the auto-WB and use the normal camera multipliers.

* Found an easier way to get stable overall multipliers, removed the (horrible) on-the-fly mutation of scaling instance variables.
2020-04-13 17:20:56 +02:00