English | 简体中文 GitHub | Gitee码云
MATLAB version: R2017b (9.3.0.713579) 64-bit (glnxa64)
Recommend to use bicubic_pytorch.
Scale | Diff (Ours) | Diff ratio (Ours) | Diff (bicubic_pytorch) | Diff ratio (bicubic_pytorch) |
---|---|---|---|---|
Downsample X2 | 2 | 0.00% | 4 | 0.01% |
Downsample X3 | 0 | 0.00% | 1 | 0.00% |
Downsample X4 | 0 | 0.00% | 0 | 0.00% |
Upsample X2 | 86 | 0.01% | 268 | 0.03% |
Upsample X3 | 515 | 0.02% | 759 | 0.04% |
Upsample X4 | 67 | 0.00% | 3119 | 0.08% |
Run on CPU Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz.
Average on 100 runs.
Scale | Time (Ours) | Time (bicubic_pytorch) | MATLAB |
---|---|---|---|
Downsample X2 | 0.0689 | 0.0019 | 0.0017 |
Downsample X3 | 0.0475 | 0.0028 | 0.0013 |
Downsample X4 | 0.0236 | 0.0023 | 0.0014 |
Upsample X2 | 0.2146 | 0.0627 | 0.0044 |
Upsample X3 | 0.3585 | 0.1078 | 0.0099 |
Upsample X4 | 0.4949 | 0.1631 | 0.0173 |