The Wayback Machine - https://web.archive.org/web/20240813231243/https://www.geeksforgeeks.org/interpolation-methods-in-computer-graphics/
Open In App

Interpolation Methods in Computer Graphics

Last Updated : 05 Aug, 2020
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Interpolation is a method of constructing new data points within range of discrete set of known data points. The number of data points obtained by sampling or experimentation represents values of function for limited number of values of independent variable.

The main task of Interpolation is to find suitable mathematical expression for known curve. This technique is used when we have to draw curve by determining intermediate points between known sample points.

Types of Interpolation methods :

  • Inverse Distance Weighted (IDW) –
    In this method, estimation of cell values is done by averaging values of sample data points in neighborhood of each processing cell. A specified number of points or all points within specified radius can be used to determine output value of each location. The point closer to center of cell have more influence or weight in averaging process.


  • Kriging –
    Kriging is geostatistical procedure that considers both distance and degree of variations between known data points when estimating values in unknown areas. In this procedure, there is generation of an estimated surface from scattered set of points with z-values.


  • Natural Neighbor –
    Natural Neighbour interpolation method finds closest subset of input samples to query point. It applies weights to input samples based on proportionate areas to interpolate value. It is also known as Sibson or “area-stealing” interpolation.


  • Spline –
    In this interpolation method, estimation of values is done using mathematical function that minimizes overall surface curvature and results in smooth surface that passes exactly through input points.


  • Spline with barriers –
    Spline with barriers method is similar to spline method, only difference is that this tool honors discontinuities encoded in both input barriers and input point data.


  • Topo to raster –
    This method uses technique specifically designed to create surface that more closely represents natural drainage surface and better preserves stream networks from input contour data.


  • Trend –
    It is a global polynomial interpolation that fits smooth surface defined by mathematical function (a polynomial) to input sample points. The trend surface changes gradually and captures coarse-scale patterns in data.


Similar Reads

Methods for Text Clipping in Computer Graphics
Text Clipping is a process of clipping the string. In this process, we clip the whole character or only some part of it depending upon the requirement of the application. Text clipping Methods : All or None String Clipping method - In this method, if the whole string is inside the clip window then we consider it. Otherwise, the string is completely
2 min read
2D Transformation in Computer Graphics | Set 1 (Scaling of Objects)
We can use a 2 × 2 matrix to change or transform, a 2D vector. This kind of operation, which takes in a 2-vector and produces another 2-vector by a simple matrix multiplication, is a linear transformation. By this simple formula, we can achieve a variety of useful transformations, depending on what we put in the entries of the matrix. For our purpo
5 min read
Segments in Computer Graphics
Introduction : Introduction segments are a fundamental concept in computer graphics, used to represent the basic building blocks of a graphical scene. They are commonly used in 2D graphics to represent lines or curves that connect two or more points. An introduction segment is defined by two endpoints, which are specified using their (x,y) coordina
8 min read
Computer Graphics |Cathode Ray Oscilloscope| Cathode ray tube (video display technology)
Computer Graphics has become a common element in today's modern world. Be it in user interfaces, data visualization, motion pictures, etc, computer graphics play an important role. The primary output device in a graphics system is a video monitor. Although many technologies exist, the operation of most video monitors is based on the standard Cathod
5 min read
Computer Graphics | The RGB color model
The RGB color model is one of the most widely used color representation method in computer graphics. It use a color coordinate system with three primary colors: R(red), G(green), B(blue) Each primary color can take an intensity value ranging from 0(lowest) to 1(highest). Mixing these three primary colors at different intensity levels produces a var
2 min read
Window to Viewport Transformation in Computer Graphics with Implementation
Window to Viewport Transformation is the process of transforming 2D world-coordinate objects to device coordinates. Objects inside the world or clipping window are mapped to the viewport which is the area on the screen where world coordinates are mapped to be displayed. General Terms: World coordinate - It is the Cartesian coordinate w.r.t which we
8 min read
Display Processor in Computer Graphics
Display Processor is the interpreter or a hardware that converts display processor code into picture. The Display Processor converts the digital information from CPU to analog values. The main purpose of the Digital Processor is to free the CPU from most of the graphic chores. The Display Processor digitize a picture definitions given in an applica
1 min read
Difference between Parallel and Perspective Projection in Computer Graphics
Projection are defined as mapping of three-dimensional points to a two-dimensional plane. There are two type of projection parallel and perspective. 1. Parallel Projection : Parallel projections are used by architects and engineers for creating working drawing of the object, for complete representations require two or more views of an object using
3 min read
Interactive Graphical Techniques in Computer Graphics
To construct various images and graphics in interactive manner, there are different methods which are built into various graphics packages. These packages contains various options which help user to enter information of coordinate by using stroke devices or various locators. These coordinates helps in creating boundaries for various objects which u
4 min read
Computer Graphics - 3D Shearing Transformation
Shearing transformation is the same as we see in 2D space, but here we have to deal with the x, y, and z axes whereas in 2D we deal with the only x and y axes. Shearing is the process of slanting an object in 3D space either in x, y, or in the z-direction. Shearing changes(or deformed) the shape of the object. AS we are discussing 3D space so shear
4 min read
Article Tags :
Practice Tags :
three90RightbarBannerImg