Nearest-neighbor interpolation: Difference between revisions

Content deleted Content added
Consistency of spelling improved.
reference for 3D-rendering applications
Line 6:
'''Nearest-neighbor interpolation''' (also known as '''proximal interpolation''' or, in some contexts, '''point sampling''') is a simple method of [[multivariate interpolation]] in one or more [[dimension]]s.
 
[[Interpolation]] is the problem of approximating the value of a function for a non-given point in some space when given the value of that function in points around (neighboring) that point. The nearest neighbor algorithm selects the value of the nearest point and does not consider the values of neighboring points at all, yielding a piecewise-constant interpolant. The algorithm is very simple to implement and is commonly used (usually along with [[mipmap|mipmapping]]) in [[Real-time computing|real-time]] [[3D rendering]]<ref>{{cite book |last=Pfister |first=HANSPETER |year=2005 |chapter=Hardware-Accelerated Volume Rendering |editor=Charles D. Hansen and Chris R. Johnson |title=The Visualization Handbook |page=233 |publisher=Elsevier |doi=10.1016/b978-012387582-2/50013-7}}</ref> to select color values for a [[texture filtering|textured]] surface.
 
==Connection to Voronoi diagram==