Improve finer and coarser levels with maxlevels
This commit is contained in:
@@ -469,7 +469,8 @@ void ImProcFunctions::ip_wavelet(LabImage * lab, LabImage * dst, int kall, const
|
||||
cp.t_lsl = static_cast<float>(params->wavelet.bllev.getTopLeft());
|
||||
cp.b_rsl = static_cast<float>(params->wavelet.bllev.getBottomRight());
|
||||
cp.t_rsl = static_cast<float>(params->wavelet.bllev.getTopRight());
|
||||
cp.numlevS = 9 - params->wavelet.threshold2;
|
||||
// cp.numlevS = 9 - params->wavelet.threshold2;
|
||||
cp.numlevS = params->wavelet.thres - params->wavelet.threshold2;
|
||||
int maxlevS = cp.numlevH;
|
||||
cp.numlevS = rtengine::max(cp.numlevS, maxlevS);
|
||||
//highlight
|
||||
|
Reference in New Issue
Block a user