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();