From 6226a2781a0f9e51ddc983f9e690a638dbeb5cdf Mon Sep 17 00:00:00 2001 From: Desmis Date: Fri, 2 Aug 2019 08:07:21 +0200 Subject: [PATCH] change maxlevel to 9 --- rtengine/iplocallab.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index b857867a6..643ebbfe3 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -7162,6 +7162,9 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o int minwin = min(bfwr, bfhr); int maxlevelspot = 9; // adap maximum level wavelet to size of RT-spot + if (minwin * sk < 1024) { + maxlevelspot = 9; //sampling wavelet 512 + } if (minwin * sk < 512) { maxlevelspot = 8; //sampling wavelet 256