-
videofig
A figure ready to scroll through and play videos. You can also draw any custom graphics on it.
(VIDEOFIG(NUM_FRAMES, @REDRAW_FUNC) creates a figure with a horizontal scrollbar and shortcuts to scroll automatically. The scroll range is 1 to NUM_FRAMES. The function REDRAW_FUNC(F) is called to redraw at scroll position F (for example, REDRAW_FUNC can show the frame F of a video).
This can be used not only to play and analyze standard videos, but it also lets you place any custom Matlab plots and graphics on top.
Jiro posted a great example on the Pick of the Week blog, along with a nice GIF animation so you can see it in motion:
http://blogs.mathworks.com/pick/2010/12/10/video-player-for-your-frame-based-processing/
EXAMPLE 1
Place this in a file called "redraw.m":
function redraw(frame)
imshow([ AT3_1m4_ num2str(frame, 02.0f ) .tif ])
end
Then from a script or the command line, call:
videofig(10, @redraw)
redraw(1)
The images "AT3_1m4_01.tif" ... "AT3_1m4_10.tif" are part of the Image
Processing Toolbox and there s no ne)
- 2010-12-14 16:38:11下载
- 积分:1
-
Matlab-Toolbox-application-guide
《Matlab工具箱应用指南——信息工程篇》(" Matlab Toolbox application guide- Information Engineering articles" )
- 2011-04-19 20:32:31下载
- 积分:1
-
multilink
matlab multilink 包,用于matlab的计算和应用(matlab multilink)
- 2011-06-28 07:38:49下载
- 积分:1
-
mobile-position
本程序是移动协作定位算法的仿真程序,各种条件下的代码都有,可以直接运行。(This progrem is a mobile cooperative localization algorithm, various conditions have the code, can be directly run.)
- 2013-04-04 12:16:13下载
- 积分:1
-
ialm
不精确拉格朗日法,求解矩阵补全的凸优化问题,可以用该方法实现背景建模(Imprecise Lagrangian method for solving matrix completion convex optimization problem, you can use this method, background modeling)
- 2014-05-31 06:50:39下载
- 积分:1
-
FDBPM 3D paper
有限差分法(finite difference method ... ... ... ... ... ... ... ... ... ... )
- 2007-04-16 18:28:31下载
- 积分:1
-
MATLAB
matlab用于处理图像图像的应用,全书所有的代码都在(matlab image processing images for applications, all of the code in the book)
- 2014-12-10 15:58:33下载
- 积分:1
-
matlab
用MATLAB做阶乘的和,比如1!+2!+3!+4!+。。。+10!(MATLAB to do with factorial and, for example, 1!+2!+3!+4!+...+10!
)
- 2013-10-23 23:30:36下载
- 积分:1
-
bessel
该程序用来实现贝塞尔第一类函数,阶数从0到7.(This is bessel function of order 0 through 7.)
- 2010-12-08 09:06:14下载
- 积分:1
-
dimension_full
matlab mfile for chaos
- 2012-06-14 16:30:14下载
- 积分:1