When you place the mouse cursor over one of the numbers around the periphery of the following image, the image will change to an enlargement made by the method corresponding to the number given in the legend below.   This requires that your web browser support javascript.   Please, allow ample time for all images to load before starting.

![]() |
||
I call your attention to the halo around the pole and which methods diminish this halo.   Those methods incorporated apriori knowledge that this is a Lanczos 3 reduction.  


Compare with other people's results here:
http://www.resampling.narod.ru/
http://audio.rightmark.org/lukin/graphics/resampling.htm
http://audio.rightmark.org/lukin/graphics/lhouse_more.htm
http://dsplab.ece.cornell.edu/papers/results/orinterp/rail_4x.html
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13470&objectType=file
Note the relative absence of halos in the Pseudoinverse with SuperRez result.   This was accomplished by modeling the input image as a bicubic(-1) ("-1" is the slope of the continuous kernel at spatial coordinate 1) reduction in the parameter settings.   If the enlargement is reduced back to original size using bicubic(-1), it will match the input image almost exactly.   Even though the enlargement result shows almost no halo, reduction by bicubic(-1) will produce a halo that matches the halo in the input image.  
(Attention! The following applies to another image and NOT the clown or the lighthouse image.)   Roughly, the procedure is to take a test image, make a reduction of that image, enlarge the reduction back to original size, and then make statistical measurements on the differences or errors between the result and the original.   These errors are treated as noise and the most common measurement used for this purpose is peak signal to noise ratio (PSNR), which is simply 20log(255/RMSE) where RMSE is the root mean square error. It is useful to examine another statistic, average absolute error (AAE) in place of RMSE because it is less sensitive to a few large errors. Version 2.0 of SAR Image Processor is fully capable of making these measurements.
More specifically:
1. The test image was the 2297x3600 freeware image, PDI-Target
2. The top row of pixels was cropped off so that both width and height were divisible by four.
3. This 2296x3600 image was reduced 0.25X to 574x900 using a box convolution kernel. This approximates the effect of Foveon sensors on a continuous image projection because Foveon sensors integrate light intensities over adjacent, nonoverlapping, square areas. The reduction can be downloaded here PDI-Target Reduction
4. The reduction was enlarged 4X by a variety of methods.  
(Note that to perform a valid comparison, there cannot be any image shifting and the resizing must be exact. Often vendors enlarge by a factor (N2 - 1)/(N1 - 1) instead of N2/N1, where N1 and N2 are input and output dimensions, respectively.)
5. All measurements were on the Y channel of YCbCr color space.
6. Parameter settings were default unless otherwise noted.
| RMSE1 | AAE1 | PSNR2 | |
| Box (Nearest neighbor) | 12.51 | 5.27 | 26.19 |
| Step Interpolation | 12.18 | 5.66 | 26.42 |
| Bilinear | 11.50 | 5.18 | 26.92 |
| Bicubic | 10.77 | 4.81 | 27.49 |
| Lanczos 2 | 10.75 | 4.82 | 27.50 |
| Lanczos 3 | 10.55 | 4.79 | 27.67 |
| Lanczos 4 | 10.53 | 4.82 | 27.68 |
| Lanczos 5 | 10.52 | 4.85 | 27.69 |
| Lanczos 6 | 10.53 | 4.88 | 27.68 |
| Triangulation | 11.26 | 5.04 | 27.10 |
| MBS5 | 10.61 | 4.80 | 27.62 |
| Xin Li*3 | 10.62 | 4.75 | 27.61 |
| Zhao Xin Li* | 10.57 | 4.78 | 27.65 |
| Windowless Xin Li* | 10.36 | 4.71 | 27.82 |
| Jensen Xin Li*3 | 10.38 | 4.59 | 27.81 |
| Jensen Zhao Xin Li* | 10.26 | 4.58 | 27.90 |
| IFS4 | 10.09 | 4.40 | 28.05 |
| DDL1 (Data Dependent Lanczos1)* | 11.39 | 5.05 | 27.00 |
| DDL2* | 10.82 | 4.79 | 27.44 |
| DDL3* | 10.58 | 4.74 | 27.64 |
| DDL4* | 10.59 | 4.78 | 27.63 |
| DDL5* | 10.58 | 4.81 | 27.64 |
| Jensen-DDL1 (JDDL1)* | 11.03 | 4.84 | 27.28 |
| JDDL2* | 10.54 | 4.61 | 27.67 |
| JDDL3* | 10.34 | 4.56 | 27.84 |
| JDDL4* | 10.35 | 4.60 | 27.83 |
| JDDL5* | 10.35 | 4.64 | 27.83 |
| Backprojected DDL1 (BPDDL1)* | 10.30 | 4.56 | 27.87 |
| BPDDL2* | 10.16 | 4.55 | 28.00 |
| BPDDL3* | 10.13 | 4.62 | 28.02 |
| BPDDL4* | 10.15 | 4.67 | 28.00 |
| BPDDL5* | 10.19 | 4.74 | 27.97 |
| BPJDDL1* | 10.00 | 4.42 | 28.13 |
| BPJDDL2* | 9.90 | 4.42 | 28.22 |
| BPJDDL3* | 9.90 | 4.49 | 28.22 |
| BPJDDL4* | 9.93 | 4.55 | 28.19 |
| BPJDDL5* | 9.98 | 4.61 | 28.15 |
| BPZXL* | 10.09 | 4.59 | 28.05 |
| BPJZXL* | 9.85 | 4.46 | 28.26 |
| LAD Deconvolution6 | 9.51 | 4.05 | 28.57 |
| Pseudonverse with SuperRez Postprocessing7 | 9.51 | 4.08 | 28.57 |
| DDL with SuperRez Postprocessing8 | 9.42 | 4.03 | 28.65 |
1 - Smaller is better.
2 - Larger is better.
* - Centered using Lanczos 3 interpolation.
5 - Enlarged 5X followed by 4/5 reduction using Lanczos 3.