* Init levels trc GUI
* Levels TRC
* Complete with gamma based attenuation
* Limit RGB channel Slope with checkbox
* Improve GUI and code channel TRC
* Change default values - compexity levels RGB channels
* Relative gamma mode RGB channel TRC
* Change label and ponderation rolloff
* Change rolloff level
* Threshold attenuation
* Threshold attenuation 2 part
* GUI Link R G B
* Linked RGB with Green slope - RGB channels
* Set Freeman TM functions with ImProcFunctions
* First GUI Abstract profile highlight attenuation
* GUI AP part 2
* Restore olg GUI AP
* Expander AP primaries adn illuminant
* Disable RGB channel TRC
* Expander contrast AP
* Slider attenuation response
* Save work GUI local contrast
* Save GUI part 2 AP curve
* Local contrast GUI Abstract Profile
* Move Abstract profile in toolpanel and ICMpanel
* rtengine variable contrast
* Variable contrast 2
* Variable contrast engine 3
* Variable contrast engine 4
* Variable contrast engine
* Detail levels pyramid
* Engine residual contrast
* Residual contrast
* Change settings detail levels
* Expander refinement - new tooltips - low resid contrast
* Change contrast profile and labels
* Remove warning message GUI Gtk
* Gamutcontrol code - disabled
* Improve with calceffect
* Other improvement variable contrast
* Offset variable contrast
* Range offset - comment code
* Parametric inva fot lut
* Clean cmakelist.txt
* Change contrast profiles
* Comment code ipwavelet
* Added orthogonal Daubechies scaling D20
* Change strenght curve - tooltip Daubechies
* Forgotten changes
* Comment code
* Move variable in process - take into account highlight attenuation
* Display label maximum preview and preset selection
* Remove console message
* harmonize levels wavelets iplocallab
* Tooltips contrast enhancement
* Change tooltip Contrast profile
* Chnage tooltip Contrast
* Message warning preview size
* Change gamma TRC values in GUI
* Remove itanium architecture support for windows as PR 7105
* Change windows.yml and appimage.yml
* Windows.yml apseimprov
* Clean and comment ipwavelet
* Clean comment icmpanel.cc
* Harmonize local contrast wavelet Selective editing with Abstract profile
* Harmonize with AP - offset
* vanishing moment D20 - Selective editing wavelet
* Offset only in advanced mode
* GUI expander contrast enable and pyrwavtrc
* Clean and comment code
* merge with dev
* Prepare sigmoid based
* Contrast sigmoid GUI
* Skew sigmoid GUI
* Sigmoid tone mapper in iplocallab
* Change GUI settings
* White-point and black-point auto
* Change EvDCP to ALLNORAW as others events DCP
* Change default skew
* Change settings - enable scale Yb
* Display white point - advanced mode
* Improve GUI
* Clean unused variable
* new sigmoid Q in cam16
* Change tooltips and default sigmoid Q settings
* Sigmoid Jz
* Clean code Jz and sigmoid
* Harmonize Sigmoid Q and Sigmoid RGB
* Harmonize Sigmoid Jz
* Clean code
* Improve labels wit cd/m2
* Slope base Q methode first
* GUI slope based Q
* Change default settings and tooltips
* Change tooltips
* Clean code - change default setting
* Change default local contrast & wavelet to wavelet & basic mode
* Fixed bad assignation slopesmoq
* Improve sigmoid and slope based Q - GUI for Log encoding Color appearance
* Remove wrong change
* various small improvments
* Allows black and white AP and SDA in basic mode
* Change the writing of wGamma and wSlope - attenuates the effect of the first 2 AP contrast profiles
* Clean code wgamma wslope
* Set curve Cam16 in basic mode
* Change position curve in GUI cam16
* Enable tonecurve1 in colorappearance & lighting in standard mode
* Fixed bug scale yb scene - ciecam curve - change default contrast enhancement
* not reset curve shape ciecam in strandard
* Change label Tone mapping operators and tooltips
* Change some labels and tooltips - Appearance - Mask and Mofifications - Recovery Based On Luminance Mask
* Forgotten changes
* Clean locallabtools2.cc
* Maxlevel wavelet minimum to 5
* Reset mask and modifications in SE wavelet and all tools in Global
* Show modified areas SE wavelet
* Tooltip show wavelets decomposition
* Fixed another bad behavior in Global - changes also in color & light for merge file
* Change behavior fullimage - global as in PR GHS
* Disable all mask and modifications in Global but remain active in fullimage and normal
* Set expander expanded = true
* Chane contrast enhancement coef
* Replace VBox trcWavVBox by ToolParamBlock trcWavFBox
* Forgotten code in icmpanel read pedited opacityShapeWLI - hope solve batch mode
* Change RGB Slope behavior with link
* No access to last level contrast enhancement
* Move Abstract Profile tooltip to title
The tooltip was popping up when the cursor was over almost any part of
the tool which was inconvenient. Now, the tooltip only appears when
hovering over the title.
* Improve Color Management expanders behavior
By default, collapse Abstract Profile and leave it's sub-expanders
expanded.
Keep the expanded state of all the sub-expanders during the editing
session.
Fix the right-click behavior. The clicked expander should be expanded
and all siblings, if any, should be collapsed.
* Fix RGB slope tone mapping RGB linkage
Synchronize the red, green, and blue values before updating the preview
to avoid using incorrect values to generate the preview.
* Fix SE CAM tone mapping slider defocus
Avoid unnecessarily hiding then showing the adjusters in tone mapping so
that focus is not lost while adjusting the adjusters.
* Delete history kslopesmo - remove IcmOpacityCurveWL
* change the tooltips as suggested by Lawrence
* Review L37 - change strengthjz strengthlc - MIDDLE_GREY MIDDLE_GREYjz - artifacts ciecam
* Change name Tone map freeman functions
* Remove gamutcont - rename localcont - change allocation memory wdspot
* Clean procparams
* remove sigmoidsenscie - logcieq
* Added * to three labels 'sigmoid' - change tooltip which shows the incompatibility with 5.11
* Forgotten correction suggested by Lawrence
* Compatibility 5.11 log encoding - sigmoid part 1
* Compatibility 5.11 part 2
* Compatibility 5.11 - step 3
* Compatibility 5.11 - step 4
* Compatibility 5.11 step xx
* Compatibility 5.11 - combobox operators Q and J
* Compatibility 5.11 Cam16 GUI first part
* Improve GUI Cam16 sigmoid compatibility
* Compatibility 5.11 Jz - sigmoid - step 1
* Compatibility 5.11 Jz gui step 2
* Compatibility 5.11 Jz GUI step x
* Compatibility 5.11 Jz - history - etc.
* Various change labels - history ...
* Improve GUI - hide show 5.11 5.12
* Jz 5.11 in iplocallab - step 1
* Compatibility 5.11 iplocallab cam16 step 1
* Improve GUI hide show 511 512
* Solved - I hope - GUI problem with tone mapper Q and J 5.11 and 5.12
* Compatibility 5.11 iplocallab Cam16 step 2
* Improve GUI compatibility 5.11 labels tooltips
* Small improvments GUI - labels - history...
* Fixed typo in paramsedited.cc clcurve issue 7283
* Change tooltips method 5.12 - 5.11 for cam16 and Jz brightness Q or J
* Clean and refine code
* Various change dafult language and CAM16 CAM02 replace by Cam16 Cam02
* Change modeQJ method for 5.11 in function ppversion
* Change labels as suggested by Wayne PR 7111
* Others changes suggested for label
* Change tooltips as suggested in PR
* Use unique pointer instead of manual management
* Update rtdata/languages/default
Co-authored-by: Lawrence37 <45837045+Lawrence37@users.noreply.github.com>
* Change all Cam16 references to CAM16
* Change convention uppercase and lowercase in frame - checkbox
* Improve tooltips for Tone Mapping Operators
* Another change CIECAM and uppercase lowercase in checkbox
* Remove appimage and windows yml
---------
Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
File browser thumbnails for raw images start with a minimally-processed
images. These images are cached and image adjustments are applied on
top. The black level is "baked-into" the cached image. Therefore, to
reflect the black level adjustments in the thumbnail, one of two options
are required:
1. Cache an image before the black level is applied and process the
black level on top of this image.
2. Recreate the base image with the new black level and cache it.
The first option yields better performance when the user changes the
black level. However, it requires other base adjustments to be applied
every time, such as the camera multipliers. The second option requires
the base image to be recreated every time the black level is changed.
This commit implements the second option. It minimizes code changes, and
therefore possible bugs. It does add a performance penalty when the
black level changes, but the black level adjustment is rarely used.
Use LCMS to convert values back into L*a*b*. The pipette buffer has the
output or working profile applied with LCMS. Performing the inverse
operation fixes the incorrect values shown in the navigator, histogram
indicator bars, and lockable color pickers.
Place it between the shadows curve (black and shadow compression) and
DCP tone curve and look table. Moving it after exposure makes it
possible to easily adjust the exposure to the ball-park range before
applying the tone equalizer. Keeping it before the tone curves allows it
to affect the image before clipping occurs.
* Change Preferences for observer whitebalance
* Change label white balance preferences
* Added Preferences 2 parameters Whitebalance auto correlation
* Add Preference Temperature correlation - sort and tooltip
* Change to rtengine cmakelist
* Apply patch from Lawrence37
* Small comment code
* Change defaut order prefrences wba
* Added force extra algoritm to Preferences
* Harmonize itcwb sorted
* Add fields to Preferences Itcwb
* Change settings precision Itcwb in Preferences
* Change tooltip Itcwb preferences
* First stage Itwcwb settings in main with pp3 and selction in preferences
* Second stage Itwcwb settings in main with pp3 and selction in preferences
* Third stage Itwcwb settings in main with pp3 and selction in preferences
* Add itcwb_fgreen student - green optimize
* Add Itcwb green range
* Itcwb history msg - first tooltips
* Remove force-extra because always used
* reused force-extra to use entire CIExy for sampling datas
* Removed inwanted text in console
* Set sensitive for Itcwbframe
* Various change - comment ..
* Small code review - chnage tooltips
* Remove settings itcwb_delta in Rawimagesource.cc to simplify
* Remove Itcwb Observer - put a single observer for everything - general - itcwb
* Fixed conflicts in colortemp.cc
* Various change - fixed bug - simplify
* Fixed limits for settings pp3 - chnage tooltip
* Clean unused code
* Put itcwb_findgreen in GUI
* Added checkbox 'Low sampling' to find the settings of 5.9
* Set Observer to Observer 10° - preferences default
* Missing setting Low sampling
* Show white balance multipliers
* Change default settings - Itcwb_sorted
* Move observer from preferences to WB
* Make observer selectable for camera WB
* Ensure observer checkbox is in sync with PP3
* Set default ITCWB low sampling for PP3s from <=5.9
Ensure temperature correlation white balance algorithm 1 is used when
opening edits from versions 5.9 and earlier.
* Removed unused White-balance frame in Preferences
* Comment some GUI sliders checkbox
* Removed all GUI itcwb in preferences and whitebalance
* Removed forgotten code in preferences
* Remove labels tooltips history Itcwb
---------
Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
* Fixed numerous problems with gamut and Munsell in Local adjustments
* change gamut-munsell in lab adjustmnts - gamut in ciecam
* Improve XYZ colorimetry and tooltip
* Change event - format code - change labels tooltips
* Removed avoid_ and avoidmun_
* Removed avoidcolorshift in labcurve
* Push change proposed by Lawrence37 - compatibility with old pp3
Merge with local adjustments tone equalizer image processing function
for consistent results.
To-do: Enable for batch editing and add pivot/colormap to the local
adjustments version.
* Gui improvments
* Several improvments GUI Jz algo
* Change function La for lightess Jz
* SH jzazbz first
* enable Jz SH
* Clean code
* Disabled Munsell correction when Jz
* Change tooltip and Cam16 Munsell
* GUI for CzHz and HzHz curves
* Enable curves Hz(Hz) Cz(Hz)
* Improve Cz chroma
* Jz100 reference refine
* Change limit Jz100
* Refine link between jz100 and peak adaptation
* Improve GUI
* Various improvment PQ PU gamut
* Change defaults settings
* forgotten PL in gamutjz
* Small changes and comment
* Change gamujz parameter
* disabled gamut Jz too slow
* Jzazbz curve Jz(Hz)
* reenable gamutjz
* small changes
* Change tooltip
* Change labels tooltips
* Jzazbz only on advanced mode
* GUI improvments
* Change tooltip
* Change default values and tooltip
* Added tooltip Jz
* Disabled Jz gamut
* Change gamma color and light - remove exposure
* Gamma for exposure and DR
* gamma Sharp
* Gamma vibrance
* gamma optimizations
* Change tooltips
* Optimization PQ
* LA GUI for tone curve Ciecam
* LA ciecam Enable curve lightness - brightness
* LA ciecam GUI color curve
* LA ciecam enable color curve
* Change tooltip and default values
* Enable Jz curve
* Enable Cz(Cz) curve
* Enable Cz(Jz) curve
* Added Log encoding to ciecam
* Improvment algorithm remapping
* Reenable forgotten listener logencodchanged
* Change Jz tooltips
* Reenable dynamic range and exposure
* First change GUI auto ciecam
* 2nd fixed ciecam auto
* Improve GUI maskbackground curves
* Enable activspot for la ciecam
* set sensitive sliders La ciecam when auto scene conditions
* Change internal calculations see comments
* Checcbox ForceJz to 1
* Change tool position - change order CAM model
* Expander for Jzczhz
* Remove unused code
* GUI changes
* Change labels CAM16 Jzazbz
* Change slider brightness parameters
* improvment SH jz
* Some changes to brightness Jz
* Fixed scene conditions auto
* Renable forgotten change
* Prepare calculation Zcam
* Prepare Iz for zcam
* First GUI Zcam
* Improve GUI Zcam
* Calculate Qz white - brightness of the reference white
* Prepare for PQ - eventually
* Init LUT ZCAMBrightCurveJz and ZCAMBrightCurveQz
* prepare zcam achromatic variables
* First zcam
* Change algo step 5 zcam
* Another change original algo
* Another change to original algo
* first colorfullness
* Fixed bad behavior threshold and change c c2 surround parameters
* added saturation Zcam
* Change parameters surround
* Enable chroma zcam
* change chroma and lightness formula
* disable OMP for 2nd process Zcam
* Improvment zcam for some high-light images
* Change parameters overflow zcam
* Change parmeters high datas
* another change to retrieve...
* Simplify code matrix conversion xyz-jzazbz
* Adjust internam parameters zcam
* Change some parameters - clean code
* Enable PQCam16
* Enable PQ Cam16 - disable ZCAM
* remove warning compilation message
* Change GUI jzczhz
* Fixed bad behavior remaping jz
* Remove forgotten parameter - hide Jz100 - PU adaptation- chnage tooltips
* Another change to chroma parameter
* Small changes
* If verbose display in console Cam16 informations
* If verbose display in console source saturation colorfullness
* Change to La calculation for ciecam
* Change GUI cam16 - jzczhz - remove cam16 and jzczhz
* Disable exposure compensation to calculate La for all Ciecam and Log encoding
* Change label Cam16 and jzczhz
* Improve GUI Jz
* Other improvment GUI Jz Cam16
* verify nan Jz and ciecam matrix to avoid crash
* Enable La manual for Jz to change PU-adaptation
* Improve calculation to avoid crash Jz and Cam16 matrix
* Fixed crash with local contrast in cam16
* Clean code loccont
* First step GUI Cie mask
* GUI part 2 - Cie
* Build cieMask
* Gui part 3 cie
* Valid llcieMask
* Valid llcieMask
* Pass GUI curves parameters to iplocallab.cc
* 2nd pass parameters from GUI to iplocallab.cc
* Init first functions modifications
* Add expander to cam16 adjustments
* First test mask cie
* Various improvment GUI - tooltips - process
* Take into account Yb cam16 for Jz - reenable warm-cool
* Surround source Cam16 before Jz
* Improve GUI and process
* Fixed bug and bad behavior last commit
* Fixed bug chroma mask - improve GUI - Relative luminance for Jz
* Increase sensitivity mask chroma
* Improve Jz with saturation Z - improve GUI Jzczhz
* Small code improvment
* Another change mask C and enable mask for Cam16 and Jz
* Some changes
* Enable denoise chroma mask
* Small change LIM01 normchromar
* Enable Zcam matrix
* Improve chroma curves...mask and boudaries
* take into account recursive slider in settings
* Change tooltip - improvment to C curve (denoise C - best value in curves - etc.) - remove Zcam button
* Change tooltips
* First part GUI - local contrast wavelet Jz
* Passed parameters GUI local contrast wav jz to rtengine
* save config wavelet jz
* first try wavelet local contrast Jz
* Add tooltips
* Simplify code wavelet local contrast
* take into account edge wavelet performance in Wavelet Jz
* Fixed overflow jz when usig botth contradt and wavelt local jz contrast
* Adapt size winGdiHandles in filepanel to avoid crash in Windows multieditor
* First GUI part Clarity wavelet Jz
* First try wavelet Jz Cz clarity
* Added tooltips
* Small change to enable wavelet jz
* Disabled (commented) all Zcam code
* Improve behavior when SH local-contrast and Clarity are use both
* Change limit PQremap jz
* Clean and optimize code
* Reenable mjjz
* Change settings guidedfilter wavelet Jz
* Fixed crash when revory based on lum mask negative
* Change tooltip
* Fixed ad behavior auto mean and absolute luminance
* Remove warning in console
* Fixed bad behavior auto Log encoding - bad behavior curves L(H) Jz
* Fixed another bad behavior - reenable curves color and light L(H) C(H)
* first transposition Lab Jz for curves H
* Change mask boundary for Jz
* Various improvment to H curves Jz
* Add amountchrom to Hcurve Color and Light
* Improve gray boundary curves behavior
* reenable Jz curve H(H) - soft radius
* Improve guidefilter Jz H curve
* Threshold chroma Jz(Hz)
* Enable guidedfilter chroma curve H
* improve GUI curves Hz
* Checkbutton chroma for curve Jz(Hz)
* Change event selectspot
* Clean and small optimization code
* Another clean code
* Change calculation Hz references for curves Hz
* Clean code
* Various changes to GF and GUI
* Another change to Chroma for Jz(H)
* Change GUI sensitive Jz100 adapdjzcie
* Improve code for Jz100
* Change default value skin-protection to 0 instead of 50
* Clean code
* Remove BENCHFUN for ciecam
* small correction to huejz_to_huehsv2 conversion
* Added missing plum parameter for jch2xyz_ciecam02float
* another small change to huejz_to_huehsv2
* Improvment to huelab_to_huehsv2 and some double functions
* Fixed warning hide parameters in lgtm-com
* Fixed ? Missing retuen statement in lgtm-com
* Change behavior Log encoding whith PQ Cam16
* Small improvment to Jz PU adaptation
* Added forgoten to_one for Cz slider
* Replace 0.707... by RT_SQRT1_2 - change some settings chroma
* Improvment to getAutoLogloc
* Fixed crash with array in getAutoLogloc
* First try Jz Log encoding
* Forgotten Cz
* Various improvment GUI setlogscale - Jz log encoding
* Change labels tooltips Jz log
* Change wrong clipcz value
* Change tooltip auto scene conditions
* Fixed bad behavior blackevjz whiteevjz
* Small improvment to LA Log encoding std
* Avoid bad behavior Jz log when enable Relative luminance
* Change sourcegray jz calculation
* Revert last change
* Clean and comment code
* Review tooltips thanks to Wayne - harmonize response La log encoding and Jz Log encoding
* Always force Dynamic Range evaluation in full frame mode for Jz log encoding
* Remove unused code
* Small optimizations sigmoid Cam16 and Jz
* Comment code
* Change parameters deltaE for HDR
* Various improvment to Jz - La - sigmoid - log encoding
* Basic support for Sony ILCE-7M4 in camconst.json
* German translation Spot Removal (#6388)
* Filmnegative German translation (#6389)
* (Temporarily) disable `ftree-loop-vectorize` for GCC 11 because of #6384
* Added BlacEv WhiteEv to sigmoidJz
* Improve GUI for BlackEv WhiteEv
* Change location SigmoidJz in Iplocallab
* Improvment GUI and sensitivity sliders strength sigmoid
* Change labels
Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
Co-authored-by: Anna <simonanna@gmx.net>
* Change TRC in the process
* Improve GUI slope
* Add tooltip output profile
* Various change to enable and tooltip
* Chnage rtthumbnail
* Small change tooltip trc
* Another small change tooltip
* Improve GUI - change default TRC BT709 - change tooltip
* Other GUI improvment
* Small changes to BT709 values
* Various change to TRC - add illuminant working profile
* Change labels tooltip TRC illuminant
* Display wp in console if wp provided
* Change tooltip
* Change max wlope
* Init trc + illum + primaries
* Add black point compensation
* Change location abstract
* Fixed bug with rtthumbnail...
* Added tooltip
* Logscale for wslope
* Change tooltip abstract
* Change labels tooltips abstract profile
* Added 6 sliders custom primaries X and Y
* Change GUI custom primaries
* Use custom primaries abstract profiles
* Tooltip with primaries red green blue
* Fixed warning gtk
* Change one tooltip
* Change range custom primaries
* Change GUI default Primaries
* Change one tooltip
* Speedup for trc
* Rendering intent for abstract profile
* Hide intent abstract
* Preserve neutral tones
* Chnage settings preserves neutral tones
* Improve GUI
* Improvment to preserv
* Clean code - speedup TRC when illuminant and primaries default
* Change label
* Change bad default value Blux
* Add forgoten illuminant when selecting primaries
* clean code
* Change labels
* improve workingtrc for LA
* Change default primaries when select default
* Added others working profile to primaries
* Change labels and GUI
* Change tooltip
* CIExy diagram displaying the primaries (interactive) and the white point (#6207)
* Ciexy diagram
* Change to Ciexy graph
* Change graph and defaut coordonates
* Various changes to graph - params
* Disable setListener(ToolPanelListener)
* Add some graduation to graph
* Clean comment code graph
* Change radius 0
* Enable sensitive graph Ciexy
* update Ciexy graph with primaries
* Remove reset button graph
* Change labels and behavior
* First step third spot green
* Second step 3rd spot green
* First try 3 primaries graph Ciexy
* Fixed bad behavior in lab grid
* Fixed another bad behavior graph
* Clean and comment code
* Change default gamma
* More accurate graph Cie xy
* Added white point to Ciexy graph
* Added tooltip Cie xy diagram
* Improvment when illuminant change
* Refine diagram CIE xy - added WP 2000K
* White point D120 + tooltip
* Change label
* Change labels
* Change tooltips
* Improve diagram CIE xy with parabolic
* Other parabolic to improve Cie xy diagram
* Small change GUI
* Added Label CIE xy - change labels
* Change behavior when none - change labels
* Improve gUI and trys to fix LGTM alerts
* CIE xy change set sensitive
* Improve tooltip primaries sliders
* Adapt tooltip to new labels
* Fixed crash and some bad behavior
* First fix bad behavior with some primaries
* Second fixed bad behavior primaries
* Third fixed bad behavior primaries
* Change white point BestRGB
* Change order rgb in history msg Ciexy
* Change tooltip
* Change tooltip
* Improve GUI primaries
* Illuminant 1500K - display in console matrix XYZ-RGB
* Improve GUI illuminant
* Change a tooltip
* Somme changes to GUI and verbose
* Test code for wprim in read
* clean code for wprims
* further cleanups, not tested
* Some cleanups and bugfixes, #5949
* Simplify `std::unique_ptr<>` dereferencing
Also some minor cleanups.
* Some changes suggested by Floessie
* Others change suggested
* Others changes suggested by Floessie
* Forgotten change in procparams.cc
* Added black and white for use with the primaries channel mixer
* Small change behavior GUI - illuminant
* Change pragma omp in iplab2rgb
* Add enums and clean up
* Remove unused code icmpanel.cc
* Fix LGTM alert, #5949
Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
Co-authored-by: Flössie <floessie.mail@gmail.com>
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
* make improcfun.cc cppcheck clean
* improcfun.cc: add -Wdouble-promotion to stay clean about this warning in future, because we are clean about it atm
* improcfun.cc: some cleanups, now this file is -Wextra clean. Let's keep it clean...
* improcfun.cc : Fix LGTM alert