From 0f1f12d29ab2782a260f8552cd4a60315bbbbbb2 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Thu, 14 Feb 2019 15:49:02 +0100 Subject: [PATCH] guided filter: removed timing code --- rtengine/guidedfilter.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rtengine/guidedfilter.cc b/rtengine/guidedfilter.cc index 78f6306ad..e64ef4e3e 100644 --- a/rtengine/guidedfilter.cc +++ b/rtengine/guidedfilter.cc @@ -32,8 +32,7 @@ #include "boxblur.h" #include "rescale.h" #include "imagefloat.h" -#define BENCHMARK -#include "StopWatch.h" + namespace rtengine { #if 0 @@ -79,7 +78,7 @@ int calculate_subsampling(int w, int h, int r) void guidedFilter(const array2D &guide, const array2D &src, array2D &dst, int r, float epsilon, bool multithread, int subsampling) { - BENCHFUN + const int W = src.width(); const int H = src.height();