onlineMotionCorrection. To transfer an image from Matlab, please see amitani/mex_tools It requires OpenCV to compile. This was tested with Qt Creator 4.4.1 on Windows 10 with OpenCV 3.2.
If used for research, please properly cite a paper this is used first. Brain-Computer Interface with Inhibitory Neurons Reveals Subtype-Specific Strategies Mitani, Akinori et al. Current Biology , Volume 28 , Issue 1 , 77 - 83.e4 http://www.cell.com/current-biology/fulltext/S0960-9822(17)31517-8