adjustements tooltip

This commit is contained in:
Desmis 2020-01-03 16:47:16 +01:00
parent e6bcb49656
commit db1b1b68a3
3 changed files with 19 additions and 10 deletions

View File

@ -2252,6 +2252,7 @@ TP_LOCALLAB_COL_NAME;Name
TP_LOCALLAB_COL_VIS;Status
TP_LOCALLAB_COMPFRA;Levels Dynamic Laplacian Range Compression ƒ
TP_LOCALLAB_COMPREFRA;Levels Dynamic Wavelet Range Compression
TP_LOCALLAB_COMPRESS_TOOLTIP;Use if necessary the module 'Clarity & Sharp mask and Blend images' by adjusting 'Soft radius' to reduce artifacts.
TP_LOCALLAB_COMPFRAME_TOOLTIP;Allows special effects. You can reduce artifacts with 'Clarity & Sharp mask - Blend Images".\nUses a lot of resources
TP_LOCALLAB_COMPLEX_METHOD;Software Complexity
TP_LOCALLAB_COMPLEX_TOOLTIP; Allow user to select Local adjustements rubrics.
@ -2309,7 +2310,7 @@ TP_LOCALLAB_EXNORM;Normal spot
TP_LOCALLAB_EXPCBDL_TOOLTIP;In the case of contaminated sensor (type "grease"), and when the area is important or for a series of small defects.\n\na) Put the selection spot on a pronounced default (adapting its size if necessary), use a large spot enough to allow wavelet; b) choose a wide selection area to cover most of the area affected by the defects; c) Select a transition value (low) and transition weakening (high value); d) act on levels 2, 3, 4 or 5 or lower by reducing the contrast (values below 100) and by acting on the chroma slider if necessary. e)possibly act on "scope" to reduce the extent of the action.\n\nYou can also complete with Blur levels and Gaussian blur (Smooth Blur and noise)
TP_LOCALLAB_EXPCHROMA;Chroma compensation
TP_LOCALLAB_EXPCOLOR_TOOLTIP;In the case of small defects.\n\nRed-eyes : red-centered circular selector, spot delimiters close to the eye, weak scope, "lightness" -100, "chrominance" -100.\n\nSpotIR :Circular selector centered on the defect, spot delimiters close to the default - reduce "chrominance", possibly act on "scope" to reduce the extent of the action.\n\nDust - grease (small) :Circular selector centered on the defect (adapt the size of the spot), spot delimiters not too close to the defect to allow an inconspicuous transition. a) "Transition" (low values) and "Transition weak" (high values); b) act on "lightness" and possibly on "chrominance" or "Color correction grid - direct" to approach the rendering of the polluted zone to that of the healthy zone; c) act moderately on "scope" to modulate the desired action.\n\nYou can also complete with Gaussian blur (Smooth Blur and noise)
TP_LOCALLAB_EXPCONTRAST_TOOLTIP;Avoid spots that are too small(< 50x50 pixels).\nUse low transition values and high weakening transition values and scope to simulate small RT-spot.
TP_LOCALLAB_EXPCONTRAST_TOOLTIP;Avoid spots that are too small(< 50x50 pixels).\nUse low transition values and high weakening transition values and scope to simulate small RT-spot.\nUse if necessary the module 'Clarity & Sharp mask and Blend images' by adjusting 'Soft radius' to reduce artifacts.
TP_LOCALLAB_EXPCURV;Curves
TP_LOCALLAB_EXPGRAD;Graduated Filter
TP_LOCALLAB_EXPMETHOD_TOOLTIP;Standard : use an algorithm similar as main Exposure but in L*a*b* and taking account of deltaE.\n\nLaplacian & PDE : use another algorithm also with deltaE and with Poisson equation to solve Laplacian in Fourier space.\nPDE IPOL, PDE Fattal and Standard can be combined.\nFFTW Fourier Transform is optimized in size to reduce processing time.\nPDE reduce artifacts and noise.

View File

@ -1240,16 +1240,18 @@ void ImProcFunctions::ToneMapFattal02(Imagefloat *rgb, const FattalToneMappingPa
float l = std::max(L(xx, yy), epsilon) * (scale / Y);
if (Lalone == 0) {
// rgb->r(y, x) *= l;
// rgb->g(y, x) *= l;
// rgb->b(y, x) *= l;
float &r = rgb->r(y, x);
float &g = rgb->g(y, x);
float &b = rgb->b(y, x);
r = max(r * l - offset, 0.f);
g = max(g * l - offset, 0.f);
b = max(b * l - offset, 0.f);
if(l > 1.f) {
r = max(r * l - offset, r);
g = max(g * l - offset, g);
b = max(b * l - offset, b);
} else {
r *= l;
g *= l;
b *= l;
}
assert(std::isfinite(rgb->r(y, x)));
assert(std::isfinite(rgb->g(y, x)));
assert(std::isfinite(rgb->b(y, x)));
@ -1257,7 +1259,7 @@ void ImProcFunctions::ToneMapFattal02(Imagefloat *rgb, const FattalToneMappingPa
if (Lalone == 1) {
Lum[y][x] *= (0.5f * l - offset);
} else if (Lalone == -1) {
Lum[y][x] *= (-0.5f * l);
Lum[y][x] *= (-0.5f * l + offset);
}
}
}

View File

@ -2907,7 +2907,11 @@ pe(nullptr)
wavshapecompre->setResetCurve(FlatCurveType(defSpot.loccomprewavcurve.at(0)), defSpot.loccomprewavcurve);
if (showtooltip) {
// wavshape->setTooltip(M("TP_RETINEX_WAV_TOOLTIP"));
// wavshapecompre->setTooltip(M("TP_LOCALLAB_COMPRESS_TOOLTIP"));
// wavshapecomp->setTooltip(M("TP_LOCALLAB_COMPRESS_TOOLTIP"));
}
if (showtooltip) {
llshape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_LL_TOOLTIP"));
}
LocalcurveEditorwavcompre->curveListComplete();
@ -3022,6 +3026,7 @@ pe(nullptr)
compreBox->pack_start(*LocalcurveEditorwavcompre, Gtk::PACK_SHRINK, 4);
compreBox->pack_start(*residcomp);
compreFrame->add(*compreBox);
// ToolParamBlock* const compBox = Gtk::manage(new ToolParamBlock());
compBox->pack_start(*fatdet);
@ -3031,6 +3036,7 @@ pe(nullptr)
compBox->pack_start(*fatres);
compFrame->add(*compBox);
Gtk::HBox* const LCTitleHBox = Gtk::manage(new Gtk::HBox());
Gtk::Label* const LCLabel = Gtk::manage(new Gtk::Label());
// RTImage* const LCImage2 = Gtk::manage(new RTImage("wavelets.png"));