Code

#581990
Grant Privett
Participant

It won’t be elegant or finished for a few days – I’m bug hunting at the moment – but it will be a single self contained file (probably 1800 lines or so). Mainly uses standard stuff like numpy. I’m running it under Anaconda.

May be able to improve the speed and memory usage yet. As far as possible I’m avoiding the temptation to resample images using splines or similar when I translate them to try to avoid the blurring/smearing that causes and maximise pixel counts. Happily, with well set up mounts the rotation isnt much. I’m doing integer shifts and translates where I can. 

Python does gobble the memory though – havent checked yet but its probably converted the images to floating point or 64bit ints or something silly.