export frames as pictures
来源:互联网 发布:高达ma 知乎 编辑:程序博客网 时间:2024/06/01 08:29
function show_initilization%show_target(0.2, 1)%show_template('v4_mesh0.obj', 0.5, 1, 'interp')name = 'target.obj';%options = [];options.name = name;[vertex,faces] = read_mesh(name);vertex = vertex * 0.01;vertex = vertex + repmat([0 -0.9 0], size(vertex,1), 1);options = [];%options = arrayfun(@(x) show_frame(x, vertex, faces,options), 0 );show_frame(1, vertex, faces, options);endfunction options = show_frame(index, vertex, faces, options)clf;%iptsetpref('ImshowBorder','tight'); show_target(vertex, faces, 0.2, 0, 1);name = strcat(strcat('h2g',num2str(index)),'.obj'); %name = 'coarse_mesh000.obj'name = 'v6_mesh.obj' options = show_template(name, 1, 1, 'interp', 1, 0, options);drawnow;set(gcf,'units','normalized','outerposition',[0 0 1 1]);%fullscreenset(gcf,'color',[1 1 1]);%set figure background colorF = getframe(gcf);X = frame2im(F);save_name = strcat(strcat('frame', num2str(index)),'.png');imwrite(X, save_name)end
0 0
- export frames as pictures
- pictures
- Pictures
- frames
- Frames
- [原] Mappy export as text format 初探
- Export Documents as ZIP in wdk applications
- Use JSP to export as excel
- ios学习--How to capture video frames from the camera as images using AV Foundation
- How to capture video frames from the camera as images using AV Foundation
- How to capture video frames from the camera as images using AV Foundation on iOS
- Export selection of word document as an image file
- Export selection of word document as an image file(2)
- How do I export UIImage array as a movie?
- How do I export UIImage array as a movie?
- How To Export MySQL Data as Insert Statements
- Export a buffer as a DMABUF file descriptor
- Pictures Test
- bootstrap的使用
- C语言野指针分析
- 17、SQL Server:动态SQL拼接字符串,使用变量,函数等5
- java中使用队列:java.util.Queue
- Java 8 lambda表达式示例
- export frames as pictures
- maven仓库阿里云配置
- {算法}所谓ExKmp
- annotation方式的事务注解和bean配置
- Java02-char字符串_ boolean
- bzoj 2946: [Poi2000]公共串 后缀自动机
- 两年多工作心得和体会
- Oracle11g服务详细介绍及哪些服务是必须开启的?
- 基础算法-归并排序