Everything Totally Explained


Ask & we'll explain, totally!
Resampling
Totally Explained


  NEW! All the latest news in the worlds of computer gaming, entertainment, the environment,  
finance, health, politics, science, stocks & shares, technology and much, much, more.  


View this entry using RSS

Everything about Resampling totally explained

Resampling is the digital process of changing the sample rate or dimensions of digital imagery or audio by temporally or areally analysing and sampling the original data.

Audio

Audio resampling is also called sample rate conversion. This operation in digital signal processing involves converting a sampled signal from one sampling frequency to another. For instance, the output waveform of a digital audio workstation that was processed at 96 kHz must be resampled to 44.1 kHz to be placed on a Compact Disc. The article Sample rate conversion explains how this is done.

Bitmap

A digital image is known as a bitmap, it being a literal map of which pixels are what value, to construct an image. (This isn't to be confused with the BMP image file format, which is a method of storing bitmaps in file data. PNG, JPEG and GIF are other equally valid methods of storing bitmaps.)
   A bitmap is said to be sampled on each pixel, rather than being supersampled (more than one point of data per pixel) or subsampled (less than one point of data per pixel). Resampling this bitmap involves creating a sample grid, which is overlaid on the pixels. According to how far each grid point is away from the original centre of each pixel, and according to whatever resampling algorithm is in use, the new sample point is given a colour value.
   The mathematics behind bitmap resampling is multivariate interpolation in two spatial variables, and done separately for each color channel, which outlines the methods available to bitmap resampling. The simplest method is known as nearest-neighbour or point sampling. The closest pixel center to each sample grid point is used, with no input from other surrounding pixels. Bilinear interpolation is slightly better than nearest neighbour, where a sample point takes the four closest pixel centers and linearly interpolates their color values according to their distance from the sample point. This method is particularly useful when an image is being enlarged, or transformed or distorted without decrease in average size. Nearest neighbour or bilinear should only be used when interpolation speed is critical, if not, the methods Lanczos resampling or bicubic interpolation are better alternatives. Supersampling is a method where several sample points are calculated and the results averaged (or combined according to a convolution kernel) to yield the required value on the sample grid. This method is particularly useful when an image is being reduced in size, or transformed or distorted with a decrease in average size.

Further Information

Get more info on 'Resampling'.


External Link Exchanges

Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:

    <a href="http://resampling.totallyexplained.com">Resampling Totally Explained</a>

Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
   As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned.



Copyright © 2007-8 totallyexplained.com | Licensed under the GNU Free Documentation License | Site Map
This article contains text from the Wikipedia article Resampling (History) and is released under the GFDL | RSS Version