From 6b054006937596abbe1925dda02d5e1db4433592 Mon Sep 17 00:00:00 2001 From: Desmis Date: Sat, 13 Jun 2020 13:35:09 +0200 Subject: [PATCH] Added tooltip to tone mapping --- rtdata/languages/default | 5 ++++- rtgui/locallabtools2.cc | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 96e3aec3a..51b9bf837 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2767,7 +2767,10 @@ TP_LOCALLAB_TLABEL;TM Datas Min=%1 Max=%2 Mean=%3 Sigma=%4 (Threshold) TP_LOCALLAB_TLABEL_TOOLTIP;Transmission map result.\nMin and Max are used by Variance.\nTm=Min TM=Max of Transmission Map.\nYou can act on Threshold to normalize TP_LOCALLAB_TM;Tone Mapping - Texture TP_LOCALLAB_TM_MASK;Use transmission map -TP_LOCALLAB_TONEMAPESTOP_TOOLTIP;Increase Edge stopping - or Reweighting iterates, increase processing time - but increases the effects +TP_LOCALLAB_TONEMAPESTOP_TOOLTIP;This parameter affects sensitivity to edges.\n The greater it is the more likely an illumination change is to be considered an "edge".\n If set to zero tone mapping will have an effect similar to unsharp masking. +TP_LOCALLAB_TONEMAPREWEI_TOOLTIP;In some cases tone mapping may result in a cartoonish appearance, and in some rare cases soft but wide halos may appear.\n Increasing the number of reweighting iterates will help fight some of these problems. +TP_LOCALLAB_TONEMASCALE_TOOLTIP;This control gives meaning to the difference between "local" and "global" contrast.\nThe greater it is the larger a detail needs to be in order to be boosted +TP_LOCALLAB_TONEMAPGAM_TOOLTIP;Gamma moves the action of tone-mapping to shadows or highlights. TP_LOCALLAB_TOOLCOL;Structure mask as tool TP_LOCALLAB_TONEMAP_TOOLTIP;Tone Mapping - main menu must be disabled TP_LOCALLAB_TOOLMASK;Tools diff --git a/rtgui/locallabtools2.cc b/rtgui/locallabtools2.cc index 9b7aca2ee..c50355579 100644 --- a/rtgui/locallabtools2.cc +++ b/rtgui/locallabtools2.cc @@ -276,7 +276,9 @@ void LocallabTone::updateAdviceTooltips(const bool showTooltips) if (showTooltips) { exp->set_tooltip_text(M("TP_LOCALLAB_TONEMAP_TOOLTIP")); estop->set_tooltip_text(M("TP_LOCALLAB_TONEMAPESTOP_TOOLTIP")); - rewei->set_tooltip_text(M("TP_LOCALLAB_TONEMAPESTOP_TOOLTIP")); + rewei->set_tooltip_text(M("TP_LOCALLAB_TONEMAPREWEI_TOOLTIP")); + scaltm->set_tooltip_text(M("TP_LOCALLAB_TONEMASCALE_TOOLTIP")); + gamma->set_tooltip_text(M("TP_LOCALLAB_TONEMAPGAM_TOOLTIP")); equiltm->set_tooltip_text(M("TP_LOCALLAB_EQUILTM_TOOLTIP")); sensitm->set_tooltip_text(M("TP_LOCALLAB_SENSI_TOOLTIP")); expmasktm->set_tooltip_markup(M("TP_LOCALLAB_MASK_TOOLTIP")); @@ -292,6 +294,8 @@ void LocallabTone::updateAdviceTooltips(const bool showTooltips) exp->set_tooltip_text(""); estop->set_tooltip_text(""); rewei->set_tooltip_text(""); + scaltm->set_tooltip_text(M("")); + gamma->set_tooltip_text(M("")); equiltm->set_tooltip_text(M("")); sensitm->set_tooltip_text(""); expmasktm->set_tooltip_text("");