blog

Tag Archive for lanczos at Jozef Chúťka's blog

November 10, 2010

5 Comments

image lanczos LanczosBitmapDataResizer resample resize

Lanczos Resampling With ActionScript

A grid of colour blocks beside a blurred version.

It has been a while since I worked on some interesting library. But the day has come :-) and here it is. Let me introduce you LanczosBitmapDataResizer class. Lanczos resampling is an interpolation method used to compute new values for sampled data. In resampling (resizing) images it is considered to be one of the best algorithms at all. Lanczos is a convolution filters. That means a filter that for each output value moves the convolution functions point of origin to be centered on the output and then multiplies all the values in the input with the value of the convolution function (kernel) at that location and adds them together.

Read the rest of this entry »