Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
ImageSuperResolution
Use neural networks to magnify images
Contributed by:
Aster Ctor
ResourceFunction["ImageSuperResolution"][image] Resize the image by a factor of 2. | |
ResourceFunction["ImageSuperResolution"][image,zoom] Resize the image by a factor of zoom in each dimension. |
Details and Options
The Method option provides the following choices:
| "VDSR" | "Very Deep Net for Super-Resolution" |
| "ESRGAN" | "Enhanced Super-Resolution GAN Trained on DIV2K, Flickr2K and OST Data" |
Some PerformanceGoal option settings are:
| Automatic | automatically balance performance based on input size |
| "Performance" | the effect is prioritized, and the speed of some algorithms may be very slow |
| "Speed" | speed is prioritized (useful when there is no GPU availability) |
Output size can vary slightly from that requested. One can use "SizeCheck"→True to force output size to be exactly equal to the specified zoom multiple.
Examples
Basic Examples (3)
Get an image resized to 128×128:
| In[1]:= |
| Out[1]= | ![]() |
Zoom in to four times the size:
| In[2]:= |
| Out[2]= | ![]() |
Compare to the original picture:
| In[3]:= |
| Out[3]= | ![]() |
Properties and Relations (3)
Get an image resized to 128×128:
| In[4]:= |
| Out[4]= | ![]() |
The magnification factor need not be an integer:
| In[5]:= |
| Out[5]= | ![]() |
Magnification using ImageSuperResolution is less blurry than with ImageResize:
| In[6]:= |
| Out[6]= | ![]() |
Publisher
Related Links
Version History
- 1.0.0 – 13 November 2019
Related Resources
Related Symbols
License Information
This work is licensed under a Creative Commons Attribution 4.0 International License





