answersLogoWhite

0

How image re-sized using bilinear interpolation?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

In bi-linear there is the syllable 'bi'.

An image has two axis and basically we do a linear interpolation for each axis.

Suppose that my original image has pixels with intensity values a,b,c and d arranged like this:

a b

c d

I would like to determine the value for a pixel e positioned somewhere in this square.

a b

e

c d

Suppose that e is at a horizontal distance X from a and c. (X being a number between 0 and 1.

I do a first linear interpollation on the horizontal axis to find f and g with f and g at the same distance from the left:

f

e

g

Therefore:

f = a+(b-a).X;

g = c+(d-c).X;

f,e and g are on the same vertical line.

Now we suppose that the distance from e to f is Y (Y being between 0 and 1).

We do the vertical linear interpolation and find the result:

e=f+(g-f).Y;

We do this for every pixel 'e' in the output image and we find the resulting image.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How image re-sized using bilinear interpolation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is an image that is created using pixels?

An image is made up of pixels, or tiny squares that each have a designated color. the pixels are normally so small that you don't see them. However, sometimes a picture looks blurry when resized. That blurry image is a pixelated image.


When using the least-squares line for prediction are results more reliable for extrapolation or interpolation?

The results are more reliable for interpolation .


What is linear interpolation used for?

Linear interpolation is used as a method used in mathematics of constructing a curve that has the best fit to a series of points of data using linear polynomials.


Difference between Gouraud and Phong's method of shading?

Gouraud Shading is effective for shading surfaces which reflect light diffusely. Specular reflections can be modelled using Gouraud Shading, but the shape of the specluar highlight produced is dependent on the relative positions of the underlying polygons. The advantage of Gouraud shading is that it is computationally the less expensive of the two model, only requring the evaluation of the intensity equation at the polygon vertices, and then bilinear interpolation of these values for each pixels. Phong Shading produces highlights which are much less dependent on the underlying polygons. However, more calculation are required, involving the interpolation of the surface normal and the evaluation of the intensity function for each pixel.


Interpolation program using matlab?

To create an interpolation program using MATLAB, you can use the built-in functions such as interp1 or interp2 for one-dimensional or two-dimensional interpolation, respectively. These functions allow you to specify the input data points and the desired interpolation method (e.g., linear, cubic, spline) to generate interpolated values. You can then use the interpolated values for further analysis or visualization tasks.


Which software is using image to pdf?

Now, I'm using Image converter.


What can be resized using the shape height and shape width text boxes in the size group on the format tab in the picture tools tab?

True


What is the formula for interpolation method in thermodynamics by using steam table?

T= Ta + (Tb-Ta)((H-Ha)/(Hb-Ha))


What are some of the tips for using an image enhancer effectively?

What are some of the tips for using an image enhancer effectively?


Differentiate between extrapolation and interpolation?

Interpolation is a math method of estimating an answer for something when you know 2 data points, one greater and one less than the answer you are looking for. Extrapolation estimates an answer for a data point when you know data either greater than or less than the one you need, but not both.


How are gaps in a sequence filled in?

What you are asking is not precisely clear, but in general missing data is filled in by a process of interpolation. eg. Linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points.


A selected graphic can be resized using the Shape Height and Shape Width text boxes in the Size group on the Format tab in the Picture Tools tab?

True