Questions tagged [interpolation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
1k views

Screen coordinates, barycentric coordinates and global coordinateas

To continue with this my other question, here's the problem. So, I've a slide, which I'm trying to understand. Here are my questions. What are the barycentric coordinates of? From my previous ...
user avatar
5 votes
1 answer
250 views

How to rasterize a line when the background color is not always white?

I've to rasterize a line taking into account not only the background color of the screen, which is white, but also the color of other objects in the scene. In my case, I've just another object, a ...
user avatar
3 votes
3 answers
106 views

Does the blending matrix change between calculating various curve segments in a uniform cubic B-splines approximation?

I would like to ask about uniform (periodic) cubic B-splines (approximation, no interpolation). $$B=1/6\begin{bmatrix}-1&3&-3&1\\3&-6&3&0\\-3&0&3&0\\1&4&1&...
Nick's user avatar
  • 321
3 votes
1 answer
583 views

Creating a gently moving 2D fog effect

I am trying to create a fog-like effect, similar to that found using perlin noise. I know where I can find information about that effect, but it's harder for me to tell if it's an efficient route for ...
aceslowman's user avatar
6 votes
1 answer
544 views

Image rescaling algorithm

Suppose I have to use bilinear interpolation to rescale image. I more or less understand how enlargement works in case of integer scale factor. But what to do with non-integer scale and especially ...
justanothercoder's user avatar
3 votes
1 answer
368 views

Find closest point on surface interpolated by 2d matrix of points

I have rectangular matrix of 3d points sampled from a parametric surface. In my program this matrix provides base points for bilinear interpolation of surface (In any (u,v) point it returns 3d point ...
Ibraim Ganiev's user avatar
4 votes
1 answer
555 views

How can you interpolate over an array of say 5 colors?

I have an array of color values. I have an interpolating parameter, t, which varies from 0 to ...
lokstok's user avatar
  • 43
0 votes
0 answers
262 views

How to do keyframe interpolation on matlab?

I want to do keyframe interpolation in matlab. If I understand correctly, it uses splines to approximate the the motion of specific pixel points within the frames(through transforms). Correct me if I'...
MyBushisaNeonJungle's user avatar
9 votes
3 answers
5k views

What is bilateral upsampling?

I've worked with various interpolation algorithms including linear, cubic (and bilinear and bicubic), other bezier (and nurbs, etc) based interpolations, lagrange interpolation and some others, but I ...
Alan Wolfe's user avatar
  • 7,761
6 votes
1 answer
814 views

Perspective correct interpolation of normal values

I'm currently writing a software rasterizer and I'm at the point where I can draw arbitrary triangles with vertex colors and perspective correct texture mapping. I do point and directional lighting by ...
lelgetrekt's user avatar
5 votes
1 answer
2k views

Is there a way to interpolate color across the line with only integer calculation ?`

Here is my function that does interpolation ...
user avatar
4 votes
2 answers
1k views

Linear interpolation on Plane (Marching Cubes)

Let's assume I have the following cube. Let's assume the isovalue = 0. I would like to draw the resulting triangles of the isosurface. I know that first I define which values are inside or outside ...
john john's user avatar
  • 423
5 votes
1 answer
2k views

Which interpolation algorithm does MS Paint on Windows 7 use for image rescaling?

I was about to scale this image down to 64x64 pixels: The result I got on MS Paint on Windows 7 was surprisingly good (i.e. crisp edges): , whereas scaling it with GIMP resulted in for cubic and ...
dialer's user avatar
  • 151
5 votes
1 answer
2k views

Interpolating vectors on a grid

If you have values on a grid and you want to find the value of a point within one of the cells, you can use techniques like bilinear or bicubic interpolation to get the data at that point. What ...
Alan Wolfe's user avatar
  • 7,761
4 votes
0 answers
67 views

MRF and Textures

I am pursuing my research in Texture Interpolation. After digging deep into it, I'm stuck at a point. It is proven that textures can be modeled as Markov Random Fields and that each texture can be ...
user3159395's user avatar
12 votes
1 answer
732 views

Is a cubic Lagrange interpolation tensor product the same as bicubic interpolation?

I just implemented some interpolated texture sampling by sampling the 4x4 nearest pixels then doing Lagrange interpolation across the x axis to get four values to use Lagrange interpolation on across ...
Alan Wolfe's user avatar
  • 7,761

1
2