Bicubic interpolation is an extension of cubic interpolation for interpolating data points on a two dimensional regular grid. The interpolated surface is smoother than corresponding surfaces obtained by bilinear interpolation or nearest-neighbor interpolation. Bicubic interpolation can be accomplished using either Lagrange polynomials, cubic splines, or cubic convolution algorithm.
Questions tagged [bicubic]
80 questions
0
votes
2 answers
GLSL performance - function return value/type
I'm using bicubic filtering to smoothen my heightmap, I implemented it in GLSL:
Bicubic interpolation: (see interpolate() function bellow)
float interpolateBicubic(sampler2D tex, vec2 t)
{
vec2 offBot = vec2(0,-1);
vec2 offTop = …

David Szalai
- 2,363
- 28
- 47
0
votes
1 answer
Scale 2D-Array using Bicubic Interpolation
I want to scale an arbitrary double[][] to another double[][] with different dimensions. The values of the resulting array should be calculated based on the input array using bicubic interpolation.
I know this was done in image processing for…

klamann
- 1,697
- 17
- 28
0
votes
2 answers
Bi-cubic image resize algorithm
I've been trying to learn about image resizing algorithms, such as nearest neighbor, bi-cubic and bi-linear interpolation algorithms. I've studied the math a bit, and I'm now looking at existing implementations to understand and appreciate how they…

Channel72
- 24,139
- 32
- 108
- 180
-1
votes
1 answer
How to perform bicubic interpolation using scipy.ndimage.zoom?
So I'm using scipy.ndimage.zoom to resize a 3D volume. However I would like to understand better the mode parameter. From the documentation it can have the following values:
{‘reflect’, ‘grid-mirror’, ‘constant’, ‘grid-constant’, ‘nearest’,…

Janikas
- 418
- 1
- 8
-3
votes
1 answer
Bicubic Interpolation in CUDA and C / How is bicubic interpolation applied to an entire image?
I am currently writing a MEX file for Matlab in C to first rotate an image and then interpolate it bicubically. While researching I found a partial implementation of bicubic interpolation in C++ on https://www.paulinternet.nl/?page=bicubic. However,…

Zazs
- 1
- 1