diff --git a/rtdata/languages/default b/rtdata/languages/default index 1762c83de..cf3e6adc8 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2100,8 +2100,8 @@ TP_LOCALLAB_RESID;Residual Image TP_LOCALLAB_CONTRESID;Contrast TP_LOCALLAB_RETI;Retinex - Strong local contrast TP_LOCALLAB_RETI_NEIGH_VART_TOOLTIP;Adapt these values according to images - if misty images and depending on whether you want to act on the front or the background -TP_LOCALLAB_LC_FFTW_TOOLTIP;FFT improve quality and allow big radius.\nThe treatment time depends on the surface to be treated.\nDimensions can be reduced by a few pixels to optimize FFTW. -TP_LOCALLAB_RETI_FFTW_TOOLTIP;FFT improve quality and allow big radius.\nThe treatment time depends on the surface to be treated.\nDimensions can be reduced by a few pixels to optimize FFTW.\nThis optimization is not possible if the 2 delimiters of the Spot (vertical or horizontal) are outside the image +TP_LOCALLAB_LC_FFTW_TOOLTIP;FFT improve quality and allow big radius.\nThe treatment time depends on the surface to be treated.\nTo be used preferably for large radius.\n\nDimensions can be reduced by a few pixels to optimize FFTW. +TP_LOCALLAB_RETI_FFTW_TOOLTIP;FFT improve quality and allow big radius.\nThe treatment time depends on the surface to be treated.\nTo be used preferably for large radius.\n\nDimensions can be reduced by a few pixels to optimize FFTW.\nThis optimization is not possible if the 2 delimiters of the Spot (vertical or horizontal) are outside the image TP_LOCALLAB_TRANSMISSIONGAIN;Transmission gain TP_LOCALLAB_STREN;Compression Strength TP_LOCALLAB_STRGRID;Strength diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 3674613ec..e236335e0 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -4100,7 +4100,7 @@ void ImProcFunctions::fftw_convol_blur(float *input, float *output, int bfw, int for(int j = 0; j < bfh; j++){ int index = j * bfw; for(int i = 0; i < bfw; i++) - out[i + index] *= exp((float)(-radius)*(n_x * i * i + n_y * j * j));//apply Gauss kernel whithout FFT + out[i + index] *= exp((float)(-radius)*(n_x * i * i + n_y * j * j));//apply Gauss kernel whithout FFT - some authors says radius*radius but huge differences with Gaussianblur } } else if(algo == 1) { #ifdef _OPENMP diff --git a/rtengine/ipretinex.cc b/rtengine/ipretinex.cc index cfd03b2b5..b75360f32 100644 --- a/rtengine/ipretinex.cc +++ b/rtengine/ipretinex.cc @@ -979,7 +979,7 @@ void ImProcFunctions::MSRLocal(int sp, bool fftw, int lum, LabImage * bufreti, L float ka = 19.f / 4600.f; float kb = 1.f - 400 * ka; kr = ka * sigm + kb; - float kga = -0.5f / 4600.f; + float kga = -0.14f / 4600.f;//decrease float kgb = 1.f - 400.f * kga; kg = kga * sigm + kgb; if(sigm > 5000.f) {