Applies the Horn–Schunck method (https://en.wikipedia.org/wiki/Horn%E2%80%93Schunck_method) to a video and extract motion profile over time.
Includes a copy of Horn-Schunck Optical Flow Method implemented for matlab by by Mohd Kharbat http://www.mathworks.com/matlabcentral/fileexchange/22756-horn-schunck-optical-flow-method
This method is set up to run on video recorded with a neuralynx system and tracks mouse activity levels over time to quantify arousal levels.
Method is used in: Lewis LD, Voigts J, Flores FJ, Schmitt LI, Wilson MA, Halassa MM, Brown EN Thalamic reticular nucleus induces fast and local modulation of arousal state. 2015 eLife ;10.7554/eLife.08760 http://elifesciences.org/content/early/2015/10/13/eLife.08760