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

Table of Contents | Results: Up-conversion

Results

Down-conversion

The results for the down conversion were measured in the same way as the up-conversion timings. The process started with a CIF image and went through successive down-conversions.

  By a factor of 1/2 By a factor of 1/4 By a factor of 1/8
Down-Conversion 0.0019 seconds 0.0023 seconds 0.0025 seconds

The down conversion appears much faster than the up-conversion process but this is no surprise when we consider the difference in the amount of IO and computation performed. A more meaningful set of timing results is shown below. Here the amount of time taken to convert the image back to its original size (after the up-conversion) is shown.

  By a factor of 1/2 By a factor of 1/4 By a factor of 1/8
Down-Conversion 0.0072 seconds 0.0352 seconds 0.148 seconds

In each case the image was filtered properly and I did not perform the fast down-conversion that was possible given the knowledge that the image had subsequently been up-converted.

SourceForge.net Logo