From 13a19161b68cebe32f357b07555bb2174e44bcc0 Mon Sep 17 00:00:00 2001 From: David Hilvert Date: Fri, 24 Aug 2007 20:09:00 +0000 Subject: [PATCH] d2::render::combine: Set all filter contributions to have weight one, in order to prevent interference from certainty values calculated under different assumptions. darcs-hash:20070824200954-d1b56-1599ccfc9710a39ee3ce4722d016599eac966667.gz --- d2/render/combine.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/d2/render/combine.h b/d2/render/combine.h index 5b5cdc9..70c77bd 100644 --- a/d2/render/combine.h +++ b/d2/render/combine.h @@ -190,6 +190,16 @@ private: if (!(pw > 0)) continue; + /* + * XXX: Set the weight to one + * for now, to prevent + * interference from certainty + * values calculated under + * different assumptions. + */ + + pw = 1; + ale_real w = pw * f->response(point(ii / filter_scale, jj / filter_scale)); -- 2.11.4.GIT