Calculate optical flow using Horn & Schunck. USAGE [Vx,Vy] = optFlowHorn( I1, I2, [sigma], [show], [alpha], [nIter] ) INPUTS I1, I2 - input images to calculate flow between sigma - [1] amount to smooth by (may be 0) show - [0] figure to use for display (no display if == 0) alpha - [.1] smoothness constraint nIter - [500] number of iterations (speed vs accuracy) OUTPUTS Vx, Vy - x,y components of flow [Vx>0->right, Vy>0->down] EXAMPLE See also optFlowCorr, optFlowLk Piotr's Image&Video Toolbox Version 2.66 Copyright 2012 Piotr Dollar. [pdollar-at-caltech.edu] Please email me if you find bugs, or have suggestions or questions! Licensed under the Simplified BSD License [see external/bsd.txt]