Hi all,
I browsed through the net for a superresolution script to play around with, however most scripts I found weren't really memory friendly, easily running out of memory with 24MP images and using large stacks.
So I made
yet another my own version, using python and hugin. Can process jpg and tif, 8bit and 16bit.
System requirements:
Linux would probably a whole lot easier than using windows.
Hugin (open source panorama software)
Python3
- Python packages: pyvips
For a ~15 Image Stack of 8-bit 24MP Images:
RAM 4GB will be enough for 24MP images
~6-7GB HDD the tif files are huge
Takes ~12min. on my old i3-3225
There is actually no limit on stack-size concerning RAM when using the average method. Using median, at some point memory could run out (not soon).
How it works:
Step 1: Images are resized to 200% using Bilinear extrapolation (tried several, looked best to me), saved as tif (uncompressed to speed stuff up).
Step 2: Images are aligned using hugin, and cropped to an area all images cover. (this is done on the gpu)
Step 3: Average & Median values are calculated for each pixel (each channel RGB separately)
Step 4: The two output files are created and saved in the folder superresolution
How to use it:
Please see
GitHub - Rudgas/Superresolution: Another take at the creation of superresolution images using python and hugin for installation instructions. I'll post about updates here in the thread.
(old) Results (Handheld High-Burst with a K3 and a A-50mm/f1.7) below:
Last edited by manufocus; 11-03-2018 at 08:30 AM.