TWIT in C Works
Status update.... TWIT now has a .c file that can be called from Python to do the core iteration of TWIT. Performance The performance is now at 2 ms. per TWIT of 255x255x3 to 100 x 200 x 3 with preclear of destionation to 0.0, of the dog1.jpg image. I tested it with a loop of 10,000 iterations with a cached twit definition. Generating the twit parameters is very fast too. Before in pure python it was many seconds for one transfer. Original, and TWIT stretched and Weight Fade. The code in Python Available on GitHub at https://github.com/RMKeene/twit Next step..... Multithread! import numpy as np import twit import twitc from PIL import Image import matplotlib . pyplot as plt def scale_image () : """ ...