The following is a list of all the MATLAB sources that are applied to generate the figures presenting the simulation results in this book. All MATLAB sources have been tested with MATLAB 2016B. If you are using MATLAB in other versions, beware that you may need to modify the sources, as MATLAB do update the language from time to time.
Figure | Listing | Filename | Function |
2.7 | 2.3.3 | freqshiftplot |
2D spatial frequency plot with shift |
2.14 | 2.5.1 | sobel |
Sobel edge image extraction |
2.7.1 | directds |
Down‐sampler with down‐sampling ratio | |
2.7.2 | sincds |
Sinc filter down‐sampler with down‐sampling ratio | |
2.7.3 | aveds |
Averaging filter down‐sampler with down‐sampling ratio | |
3.2.1 | imageerr |
Error image generation | |
3.2.2 | mae |
Mean absolute error | |
3.2.3 | mse |
Mean squares error | |
3.2.4 | rmse |
Root mean squares error | |
3.2.5 | psnr |
Peak signal‐to‐noise ratio | |
3.2.6 | epsnr |
Edge peak signal‐to‐noise ratio | |
3.3.1 | mssim |
Mean structural similarity | |
4.1.1 | directus |
Low‐resolution to high‐resolution image resampling by zero padding | |
4.1.2 | nnfilter |
Nearest neighbor interpolation by 2D convolution | |
4.4 | 4.1.3 | nn |
Nearest neighbor interpolation with |
4.5a | ratio 2 | ||
4.1.4 | bi2x2 |
Pixelwise bilinear interpolation | |
4.8 | 4.1.5 | biinterp |
Bilinear image interpolation with ratio |
4.9a | |||
4.14 | 4.1.6 | bicubic |
Bicubic image interpolation with ratio 2 |
4.15a | |||
4.1.7 | bicubic4x4 |
Pixelwise bicubic interpolation | |
4.4.1 | rotatenn |
Image rotation by nearest neighbor interpolation | |
4.21a | rotatenn40 |
Cat image rotation by nearest neighbor interpolation | |
4.4.2 | rotatebi |
Image rotation by bilinear interpolation | |
4.21b | rotatebi40 |
Cat image rotation by bilinear interpolation | |
4.22 | rotate9 |
Structure integrity test by 9 rotations of the Cat image with | |
5.1.1 | dftinterp |
Fourier interpolation of 1D signal sequence to length | |
5.4a | 5.1.2 | zpfft |
image interpolation by DFT zero padding |
5.5 | 5.1.3 | dftramp8 |
interpolation of a discrete ramp by DFT zero padding |
5.2.1 | dctkernel |
Length DCT kernel | |
5.6 | 5.2.2 | dctramp8 |
interpolation of a discrete ramp by DCT zero padding |
5.3.1 | zeropad2 |
Zero padding a block to | |
5.7a | 5.3.2 | blockdct |
Forward DCT block processing |
5.3.3 | blockidct |
inverse DCT block processing | |
5.8 | 5.3.4 | dctx2 |
image interpolation with block DCT |
5.9 | zero padded to | ||
5.3.5 | brightnorm |
Image dynamic range normalization with respect to a given reference image | |
5.10b | 5.4.1 | npart |
Return an image with the first and the last columns discarded |
5.10c | 5.4.2 | mpart |
Return an image with the first and the last rows discarded |
5.10d | 5.4.3 | dpart |
Return an image with the first and the last columns and the first and last rows discarded |
5.11 | 5.4.5 | dctcs |
image interpolation with DCT block zero padding and half block size cyclic spin |
5.12a | vzdctx2 |
image interpolation with mean filtering block DCT zero padding and half block vertical block DCT zero padding | |
5.13 | mzdctx2 |
image interpolation with mean | |
5.14a | filtering block DCT zero padding and 3 half block cyclic spin block DCT zero padding |
Figure | Listing | Filename | Function |
5.5.1 | eidctkernel |
EIDCT kernel matrix | |
5.5.2 | eidct |
interpolated image by DFT zero padding through DCT transformed coefficients using EIDCT | |
5.15a | 5.5.3 | mzdcteidct |
image interpolation with mean filtering block DCT zero padding and DFT zero padding through EIDCT |
5.18 | 5.6.1 | dctx2bp |
image interpolation by block DCT zero padding with direct down‐sampling iterative error compensation |
6.4a | 6.1.1 | twoddwtex |
2D DWT dyadic decomposition image |
6.6a | 6.2.1 | wzp |
image interpolation by wavelet zero padding |
6.7a | 6.2.2 | wbp |
image interpolation by wavelet bilinear interpolation |
6.9a | 6.2.3 | wazp |
image interpolation by wavelet alternate zero |
6.10a | 6.2.4 | wazp15 |
image interpolation by wavelet alternate zero with LL band divided by 1.5 |
6.11a | 6.2.5 | wrazp |
image interpolation by wavelet alternate zero with regularity preserving subband scaling |
6.13a | 6.3.1 | wzpcs |
image interpolation by mean filtering wavelet alternate zero with regularity preserving and wavelet zero padding cyclic spinning |
6.15a | 6.3.2 | wlrcs |
image interpolation by mean filtering wavelet alternate zero and cyclic spinning wavelet zero padding with LL bands replaced low‐resolution image cyclic spinning |
6.16a | wzplrcs |
image interpolation by mean filtering wzpcs and wlrcs |
|
6.18a | 6.4.1 | wecor |
image interpolation by wavelet zero padding iterative error correction |
7.2.1 | ease1d |
1D EASE interpolation | |
7.2.2 | directus1d |
1D direct up‐sample by zero padding | |
7.2.3 | ease2d |
Pointwise 2D EASE interpolation | |
7.10 | 7.2.4 | ease |
image interpolation by EASE |
7.11a | |||
8.3.1 | nedi _weighting _factor |
Weighted average interpolation weighting factors | |
8.3.3 | nedi _core |
The core function of the NEDI | |
8.3.4 | nedi _window |
NEDI image interpolation windows | |
8.3.5 | nedi _correct |
Correction of underestimation or overshoot pixel | |
8.8 | 8.3.6 | nedi |
NEDI image interpolation |
8.10 | |||
8.9a | 8.4.1 | nedi _pe |
Image boundary extension by periodic extension |
8.9b | 8.4.2 | nedi _pe _crop |
NEDI image interpolation with |
8.9c | periodic boundary extension and crop the interpolated image to size | ||
8.6.1 | medi |
MEDI, a modified NEDI with windows defined on low‐resolution pixels alone | |
8.13a | 8.6.2 | medi _call |
MEDI image interpolation with boundary extension |
8.7.1 | emedi _select _win |
Local covariance window selection to maximize covariance power | |
8.7.2 | emedi _core |
EMEDI core, a modified NEDI core to incorporate local covariance window selection that maximizes covariance power | |
8.7.3 | emedi |
EMEDI, a modified MEDI with covariance window adaptation | |
8.21a | 8.7.4 | emedi _call |
EMEDI image interpolation with periodic boundary extension |
8.8.1 | imedi _select _win |
Selection of biased high‐resolution prediction window that achieves the smallest covariance difference in iMEDI | |
8.8.2 | imedi _core |
iMEDI window generation | |
8.8.3 | imedi |
iMEDI image interpolation | |
8.23a | 8.8.4 | imediloop |
|
8.8.5 | cmse |
Mean squared difference of two images | |
9.3.1 | encodeFractal |
Fractal image encoding with scaling only | |
9.4.1 | decodeFractal |
Fractal image decoding with scaling only | |
9.5 | decodeFractal _call |
Fractal image decoding function call | |
9.8 | |||
9.9a | 9.5.1 | interpFractal |
zoom‐in image using fractal with doubled range block size using scaling only |
9.10a | 9.5.2 | exactinterpFractal |
interpolated image using fractal with doubled range block size using scaling only and interleave with low‐resolution image pixel replacement layer |
9.11a | encodeFractalcs |
Fractal image encoding with scaling only for a set of cyclic spin images | |
9.11a | decodeFractalcs |
image interpolation by mean filtering a set of four cyclic spin fractal decoding images with doubled range block size and interleaved low‐resolution image pixels |
3.23.101.60