From 9fccd475f2f3469c4923901f51caca3e1824e765 Mon Sep 17 00:00:00 2001 From: Desmis Date: Fri, 8 Feb 2019 16:09:17 +0100 Subject: [PATCH] harmonize radius for blur shape detect --- rtengine/iplocallab.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 6930999ec..6a39f8b2c 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -3644,7 +3644,7 @@ void ImProcFunctions::transit_shapedetect(int senstype, LabImage * bufexporig, L origblur = new LabImage(GW, GH); LabImage *origblurmask = nullptr; - float radius = 3.f; + float radius = 3.f / sk; if (senstype == 1) { @@ -4586,7 +4586,7 @@ void ImProcFunctions::calc_ref(int befend, int sp, LabImage * original, LabImage } } - float radius = 2.f; + float radius = 3.f / sk; { //No omp gaussianBlur(origblur->L, blurorig->L, spotSi, spotSi, radius);