1 function varargout = cvupdatemotionhistory(varargin)
\r
2 %CVUPDATEMOTIONHISTORY Update motion history image
\r
3 % IMAGE mhi = cvUpdateMotionHistory(IMAGE silhouette,
\r
4 % timestamp, mhiDuration);
\r
5 % silhouette - silhouette image
\r
6 % timestamp - current system time
\r
7 % mhiDuration - maximal duration of motion track before it will be removed
\r
9 % mhi - motion history image
\r
12 error 'Invalid number of parameters';
\r
22 error 'Too many output parameters'
\r
26 [varargout{1}] = feval('cvwrap', 'UpdateMotionHistory', varargin{:});
\r