Change Sampling Mode (vuo.image.samplingMode)

Changes the way that pixels are interpolated when using other nodes to resample an image.

By default, nodes that resize or warp an image (such as Make Image Layer (Scaled) and Ripple Image, respectively) will use smooth (bilinear) interpolation. If instead the output image from this node is fed into those nodes, those nodes can pick the nearest pixel without any smoothing.

For example, if you start with this low-resolution image:

By default, when Vuo enlarges the image, it will use bilinear interpolation:

Using this node, you can tell it to pick the nearest pixel, without interpolation:

Thanks to Gisle Martens Meyer for funding development of this node!

Keywords: bilinear, blending, blocky, box, censor, chunky, cube, enlarge, filter, filtering, grid, interpolation, linear, lofi, mosaic, nearest-neighbor, overenlarge, pixelate, pixellate, pixels, rectangle, reduce, resampling, resize, scale, simplify, square, tile


Example compositions:


Back to vuo.image node set documentation.