After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 378115 - Trilinear interpolation from pyramid
Trilinear interpolation from pyramid
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: GeglBuffer
git master
Other Linux
: Low normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2006-11-22 13:30 UTC by Øyvind Kolås (pippin)
Modified: 2008-01-17 01:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Øyvind Kolås (pippin) 2006-11-22 13:30:19 UTC
gegl_buffer_get_get_rect_fmt_scale () is currently doing nearest neighbour interpolation to get its result.

This should be changed to (optionally if the buffer is configured to do so) use
a image pyramid as cache.

This would involve 50% 25% 12.5% etc versions of tiles combining 4 (or more including the sampling kernel of the resampling used) tiles from the next higher resolution level in the pyramid to a single tile.
Comment 1 Øyvind Kolås (pippin) 2006-11-27 09:13:03 UTC
Tentative implementation of tiled pyramid in CVS. Now bilinear/trilinear interpolation to achieve good visual quality when zoomed out. This should probably
be added in a manner that allows the current nearest neighbour at nearest plane method to be used when panning/zooming interactivly and a reblit be done with
better interpolation when the user stops moving around.
Comment 2 Øyvind Kolås (pippin) 2006-11-27 12:07:53 UTC
Changed priority to low since it is a purely esthetic enhancement not interacting with other important technologies (yet).
Comment 3 Øyvind Kolås (pippin) 2006-11-29 13:37:03 UTC
bilinear resampling from the next higher res level in pyramid implemented in CVS.
Comment 4 Øyvind Kolås (pippin) 2007-09-11 23:20:04 UTC
Doing a box filter from the next higher level, requiring a 3x3 neighbourhood like done for the display in GIMP is probably the next natural step.
Comment 5 Øyvind Kolås (pippin) 2008-01-17 01:20:28 UTC
2007-09-14  Øyvind Kolås  <pippin@gimp.org>

>-------* gegl/buffer/gegl-buffer.c: (gegl_buffer_get and friends )replaced
>-------the bilinear resampling from the next larger level with a box filter.
>-------Only for 8bit formats for now.