[gegl/samplers] breaking the lohalo code to make it more powerful



commit 461d148d3d18f77ecc451730c296a6114f276c61
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date:   Wed Jun 15 17:33:52 2011 -0400

    breaking the lohalo code to make it more powerful

 gegl/buffer/gegl-sampler-lohalo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 3e49ab9..e80a0a8 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -2001,6 +2001,11 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
 	      ewa_newval[3] += weight * input_bptr[ skip + 3 ];
 	    }
 
+	    /*
+	     * NICOLAS: I'm missing the pixel values which are in
+             * the 5x5 but out of the 3x3.
+	     */
+
 	    const gfloat theta = (gfloat) ( 1. / ellipse_f );
 
 	    if (major_mag <= (gdouble) 2.5)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]