-
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
-
12-fenpinSVPWM
说明: 运行环境matlab2006a,请下载!(Operating environment matlab2006a, please download!)
- 2008-11-04 21:40:12下载
- 积分:1
-
mutiple-matlab-3-dimision
多目标三维跟踪的matlab程序,十分好用(mutiple matlab 3 dimision)
- 2014-09-22 02:18:46下载
- 积分:1
-
Forward-normal-cloud-generator
正向正态云发生器算法,利用Matlab或VC编程实现正向正态云发生器算法,绘制出云模型。(Forward normal cloud generator)
- 2020-11-01 11:19:55下载
- 积分:1
-
PSOR3
ANN using PSO coding
- 2012-01-19 19:16:40下载
- 积分:1
-
KPCA
说明: KPCA代码及其实例详解,关于非线性降维的新手入门教学(KPCA code and examples of detailed explanation, about nonlinear dimension reduction novice teaching)
- 2020-09-18 13:45:09下载
- 积分:1
-
Unique
说明: 唯一可译码准则 可以对你输入的码集进行判断 看是否满足唯一可译码准则(Decoding the only criteria you can enter the code set is the only judge to see if meet criteria for decoding)
- 2010-04-07 19:22:23下载
- 积分:1
-
Prj1_exp1
求解的长直接地金属槽和平板电容中的电场,并画出等位线分布图(Calculation of Electron Physics )
- 2020-10-15 21:57:30下载
- 积分:1
-
matlab_codes
ecg各个波段生成程序(The aim of the ECG simulator is to produce the typical ECG waveforms of different leads and as many arrhythmias as possible. My ECG simulator is a matlab based simulator and is able to produce normal lead II ECG waveform)
- 2011-11-16 12:04:26下载
- 积分:1
-
control2
online identification using neural network
- 2015-02-10 04:30:55下载
- 积分:1