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
1
vote
1 answer
Bicubic interpolation of image
I have a 4*4 image 'A' with the following intensities.
A = 55.0000 75.0000 95.0000 115.0000
152.5000 110.0000 130.0000 150.0000
125.0000 145.0000 165.0000 185.0000
160.0000 55.0000 75.0000 95.0000
I'm doing bicubic…

Celine
- 115
- 1
- 5
- 13
1
vote
1 answer
Interpolation: calculate correction based on 3D table
This is just for my personal interest and a follow-up to question from Linear interpolation: calculate correction based on 2D table
How would calculation look like when line and correction table use three dimensions - what kind of interpolation and…

Elmi
- 5,899
- 15
- 72
- 143
1
vote
0 answers
Enlarging image using GD results in dismal quality compared to Scalr (JAVA)
I have been dealing with very small images and I have tried to discover the best way to increase them. I compared two different sources: imagecopyresampled (PHP: http://www.php.net/manual/en/function.imagecopyresampled.php) versus Scalr (JAVA: How…

DanielTheRocketMan
- 3,199
- 5
- 36
- 65
1
vote
1 answer
How does bicubic interpolation work with MRI data?
I am trying to add slices to a stack of MRI images. I did a linear interpolation by calculating every new slice as the average of the immediate top and bottom slices. So while doing bicubic, do I just use 2 immediate top and bottom slices for an…

UserAP
- 11
- 1
1
vote
2 answers
Why is my bicubic interpolation of discrete data looking ugly?
i have a 128x128 array of elevation data (elevations from -400m to 8000m are displayed using 9 colors) and i need to resize it to 512x512. I did it with bicubic interpolation, but the result looks weird. In the picture you can see original, nearest…

Johnny Bravo
- 13
- 3
0
votes
1 answer
Problems with manual bicubic interpolation algorithm (C++)
I'm working on an algorithm to create an BMP output image of 1920x1080 with an input image of 4x4.
This is the 4x4 input image (16 pixels)
Here the output image using my algorithm
The image I want to get
There may be some issues with my code, the…

emmanuelvelmo
- 21
- 1
0
votes
0 answers
Interpoloation algorithm for image smoothing - Angular 12 environment
I am working on implementing a bicubic interpolation function (within our Angular application) in order to "smooth" an image upon zooming. Without it the image becomes very pixelated on zoom.
I have it working in the StackBlitz online project…

bob.mazzo
- 5,183
- 23
- 80
- 149
0
votes
2 answers
Whats wrong in the following cpp Bucubic interpolation code for Image Resizing
I am trying to upsample an Image using Bicubic Interpoloation, I need the accurate values matching the cvResize() function of opencv, but the results of following code is not matching the results from cvResize(), can you take a look and help me to…

pradeepa
- 4,104
- 5
- 31
- 41
0
votes
0 answers
Cubic Interpolation with the official formula fails
I am trying to implement the Cubic Interpolation method using the next formula when a=-0.5 as usual.
My Linear Interpolation and Nearest Neighbor interpolation is working great but for some reason the Cubic interpolation fails with white pixels and…

Roy Amoyal
- 717
- 4
- 14
0
votes
0 answers
2x upsample with bicubic interpolation
I would like to understand how bicubic interpolation works and for that I choose the most easy example, 2x upsample.
So I know that I start with an image array, let say it is:
1 5 6 8 7
3 4 8 9 7
9 8 7 5 4
3 2 5 4 7
As I want to 2x upsample I will…
0
votes
1 answer
OpenCL bicubic interpolation kernel failed with error CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST
Bicubic interpolation is one of the common interpolation method, but I can not find any working implementation on OpenCL. I was decided to write bicubic interpolation on OpenCL myself, but ...
I have some problem with kernel programm.
When I run…

Igor Suhorukov
- 21
- 1
- 4
0
votes
2 answers
MATLAB, even if i use the wrong code in imresize, but it will be executed
I used bicubic as a method when using imresize in MATLAB
This is the code.
a = imresize (image, 1/3, 'bicubic');
b = imresize (a, 3, 'bicubic');
It works well.
But I was wondering if I made a mistake and changed the method
a = imresize (image, 1/3,…

ONION
- 239
- 1
- 4
- 13
0
votes
0 answers
Bicubic Interpolation - Time vs Scale
I was performing upscaling via OpenCV's bicubic interpolation algorithm.
Essentially, I want to scale an image to a size WxH.
The initial images have sizes W/2 x H/2 and W/4 x H/4 for x2 and x4 upscaling respectively.
I also timed the algorithms for…

user3126802
- 419
- 8
- 19
0
votes
0 answers
C++/OpenCV Bicubic resize of an RGB image
I want to resize an RGB image with the Bicubic interpolation. I used the following code :
// Include standard headers
#include
#include
#include
#include
#include
#include
using namespace…

Philippine Prevost
- 21
- 7
0
votes
0 answers
Bicubic interpolation the surface
Faced the problem of interpolating the surface with a cubic spline, dug the entire Internet, but except for the banal interpolation in the square [0,1] x [[0,1] did not find anything, but I need to interpolate the value inside an arbitrary region…

user9582211
- 21
- 2