Optimised C++ routines for image up-conversion and down-conversion

Table of Contents | Up-conversion: Optimisation: Other | Down-conversion: Filters

Down-conversion

The down-conversion routines were written after the up-conversion code had been finalised so they are quite similar. The down-conversion routine halves the size of the image and can be applied repeated times to achieve a quarter or eighth image size.

Down-converting an image that was produced by the up-conversion can be done quite easily. Simply take every other pixel in both dimensions to retrieve the original image. Applying this technique to real images that have not been up-converted does not work well and the resulting image suffers from aliasing effects.

In this section:

SourceForge.net Logo