This commit is contained in:
Miloslav Ciz 2023-08-14 17:22:57 +02:00
parent 9cb436ae49
commit 45bd7c47c0
12 changed files with 224 additions and 9 deletions

View file

@ -37,6 +37,8 @@ Many times we apply our interpolation not just to two points but to many points,
The above mentioned methods can be generalized to more dimensions (the number of dimensions are equal to the number of interpolation parameters) -- we encounter this a lot e.g. in [computer graphics](graphics.md) when upscaling [textures](texture.md) (sometimes called texture filtering). 2D nearest neighbor interpolation creates "blocky" images in which [pixels](pixel.md) simply "get bigger" but stay sharp squares if we upscale the texture. Linear interpolation in 2D is called [bilinear interpolation](bilinear.md) and is visually much better than nearest neighbor, [bicubic interpolation](bicubic.md) is a generalization of cubic interpolation to 2D and is yet smoother that bilinear interpolation.
TODO: simple C code pls, maybe linear interpolation without floats
## See Also
- [extrapolation](extrapolation.md)