-
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
-
GAfitSim
遗传算法寻优基于SIMULINK的寻优算法(Genetic algorithm optimization)
- 2021-04-28 17:38:44下载
- 积分:1
-
Matlab_code_for_Ray_EC_Function
The statements below guide us to write the code for the transmission of sensed data to a sink node using cognitive radios in multiple spectrum bands. In doing this we are trying to find the most appropriate modulation scheme using MATLAB simulation.
- 2013-11-21 03:58:27下载
- 积分:1
-
TSP_PSO
某一PSO算法优化TSP路径优化的问题,城市已经给定。(TSP scheme in a new version using some conventional PSO algorithm)
- 2014-02-16 17:00:17下载
- 积分:1
-
GMSK
仿真GMSK传输系统,同时画出传输过程图形。(simulate the GMSK transmission system)
- 2009-11-16 20:43:35下载
- 积分:1
-
y7572030039
主要是vblast的检测算法的研究,主要讲的是检测算法的分析,非常有用(Mainly vblast test algorithm, the main stress is the detection method of analysis, very useful)
- 2010-05-18 16:08:08下载
- 积分:1
-
IIR
说明: 基于matlab的IIR滤波器的设计代码(Based on the IIR filter design matlab code)
- 2010-04-02 10:37:11下载
- 积分:1
-
Gaussian
基于MATLAB研究二维Gaussian低通滤波器的时频特性及其用于模仿点扩散函数(PSF:point spread function)在图像退化建模中的应用(When the frequency characteristics of the two-dimensional Gaussian MATLAB study based on its low-pass filter is used to mimic the point spread function (PSF: point spread function) in image degradation modeling)
- 2014-08-31 00:06:23下载
- 积分:1
-
TSP
This is a matlab source code for the Travelling Salesman Problem
- 2012-11-21 23:50:30下载
- 积分:1
-
Fuzzy-Logic
模糊逻辑控制仿真源代码,希望对大家有帮助(fuzzy logic cntrol Matlab simulation source code)
- 2012-02-11 09:15:53下载
- 积分:1