diff options
author | Nicolas Robidoux <nrobidoux@git.gnome.org> | 2013-01-02 11:49:11 -0500 |
---|---|---|
committer | Nicolas Robidoux <nrobidoux@git.gnome.org> | 2013-01-02 11:49:11 -0500 |
commit | 10bcfcaa02f17fe1289a54875c2a5ea1d0315730 (patch) | |
tree | b8e0ce767b0bc2d2bd308095ee6219cbe5387636 | |
parent | c291f54d3fedfc57dd929de9f31105700cb196d8 (diff) |
comments
-rw-r--r-- | gegl/buffer/gegl-sampler-lohalo.c | 4 | ||||
-rw-r--r-- | gegl/buffer/gegl-sampler-nohalo.c | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c index 5e55a241..2b29d942 100644 --- a/gegl/buffer/gegl-sampler-lohalo.c +++ b/gegl/buffer/gegl-sampler-lohalo.c @@ -24,7 +24,7 @@ * * The Lohalo ("Low Halo") sampler is a Jacobian-adaptive blend of * sigmoidized tensor filtering with the Mitchell-Netravali Keys cubic - * filter used as an upsampler (thus is unscaled), with + * filter used as an upsampler (and consequently unscaled), with * non-sigmoidized (plain linear light) EWA (Elliptical Weighted * Averaging) filtering with the Robidoux Keys cubic, which is used * whenever some downsampling occurs and consequently is appropriately @@ -47,7 +47,7 @@ * * This code owes a lot to R&D performed for ImageMagick by * N. Robidoux and Anthony Thyssen, and student research performed by - * A. Turcotte and C. Racette. + * Adam Turcotte and Chantal Racette. * * Sigmoidization was invented by N. Robidoux as a method of * minimizing the over and undershoots that arise out of filtering diff --git a/gegl/buffer/gegl-sampler-nohalo.c b/gegl/buffer/gegl-sampler-nohalo.c index eea7e86c..e727de7e 100644 --- a/gegl/buffer/gegl-sampler-nohalo.c +++ b/gegl/buffer/gegl-sampler-nohalo.c @@ -41,13 +41,13 @@ * themselves: It is done to accommodate GEGL's preferred pixel data * management system. * - * TODO: The teepee filter probably should be replaced by filtering - * with the triangle (bilinear, Mexican hat function) filter, using - * clamped parallelograms instead of clamped ellipses (which I believe - * has never been done, even though it's a fairly obvious thing to - * do). It has better antialiasing, and is not much blurrier, although - * the slight added blur is probably a good thing when downsampling - * just a little bit. + * TODO: The teepee downsampling filter probably should be replaced by + * filtering with the triangle (a.k.a. bilinear, Mexican hat function) + * downsampling filter, using clamped parallelograms instead of + * clamped ellipses (which I believe has never been done, even though + * it's a fairly obvious thing to do). It has better antialiasing, and + * is not much blurrier, although the slight added blur is probably a + * good thing when downsampling just a little bit. */ /* @@ -153,9 +153,9 @@ #include "gegl-sampler-nohalo.h" /* - * NOHALO_MINMOD is an implementation of the minmod function which - * only needs two "conditional moves." - * NOHALO_MINMOD(a,b,a_times_a,a_times_b) "returns" + * NOHALO_MINMOD is a novel implementation of the minmod function + * which only needs two "conditional moves." It was probably invented + * by N. Robidoux. NOHALO_MINMOD(a,b,a_times_a,a_times_b) "returns" * minmod(a,b). The macro parameter ("input") a_times_a is assumed to * contain the square of a; a_times_b, the product of a and b. * |