文件名称: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 scr ipt 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
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 scr ipt 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
相关搜索: matlab play
scroll
(系统自动生成,下载前可以参看下载内容)
下载文件列表
license.txt
videofig.m
videofig.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.