Is there anyway to speed up this image editing process? Such as.. - Use faster algorithm (of matrix calculation?) - Multi-core usage - By using approximation?