From 5368a9254a0e3fe8a17c3eb52ae8c7641e85c116 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Thu, 27 Oct 2011 08:58:51 -0400 Subject: [PATCH] Clamp DE radius further. The maximum standard deviation pushes far too hard into the limits of the filter width, giving discrete points a weird boxy blur. The filter slice width needs to be expanded, but that's a whole lot of coeffecient debugging, and I'm putting it off by just reducing the maximum DE width for now. --- cuburn/code/filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuburn/code/filtering.py b/cuburn/code/filtering.py index b191c33..7faa2d1 100644 --- a/cuburn/code/filtering.py +++ b/cuburn/code/filtering.py @@ -137,7 +137,7 @@ void logscale(float4 *pixbuf, float4 *outbuf, float k1, float k2) { // See helpers/filt_err.py for source of these values. #define MIN_SD 0.23299530f -#define MAX_SD 4.33333333f +#define MAX_SD 2.5f __global__ void density_est(float4 *pixbuf, float4 *outbuf,