Best viewed if javascript is enabled

edge-directed interpolation for deinterlacing

Resizes an image by 2x in the vertical direction by copying the existing
image to 2*y(n) and interpolating the missing field. It is intended for
edge-directed interpolation for deinterlacing (i.e. not really made for
resizing a normal image).