-
GUI-drawing-board
Matlab鼠标画图,用pop-up menu选择画图标记,颜色edit记录鼠标坐标
但是功能比较简单,只能画线,不能画矩形、椭圆等
其中一个难点就是:拖动鼠标的过程中如何显示矩形/椭圆的轮廓,并且轮廓跟着鼠标指针移动。
程序的亮点:
1、可选择点、线、矩形、椭圆进行画图;
2、可选择marker、LineTyple进行画图;
3、可选择画图颜色;
4、可实时显示鼠标指针当前坐标;
5、可清除画板;
6、可保存画好的图(bmp、jpg、gif);
7、操作比较人性化,模仿了windows画板;
8、该程序牵涉的面广,是一个很好的GUI学习资料。
(Matlab mouse drawing, with the pop-up menu select the drawing marks, color edit record mouse coordinates, but relatively simple function, can only draw a line, not drawing rectangles, ellipses, etc. One of the difficulties is this: how the process of dragging the rectangle/oval contours, and outline follow the mouse pointer moves. Program Highlights: 1, select point, line, rectangle, ellipse for drawing 2, optional marker, LineTyple the drawing 3, choose paint colors 4, real-time display the current coordinates of the mouse pointer 5, to clear the drawing board 6, save-drawn map (bmp, jpg, gif) 7, operation more user-friendly, imitating the windows drawing board 8, the program involved a wide range, the GUI is a good learning materials.)
- 2010-11-10 21:51:39下载
- 积分:1
-
caigentanxiazai001
meiyou wenjianshuoning
(nonono nono nono nono n non non ono nonon o non on on onon)
- 2009-05-22 20:35:20下载
- 积分:1
-
fft
说明: 快速傅里叶变换,可对相关数据进行频域分析(fast fourier transfer)
- 2011-03-21 10:24:36下载
- 积分:1
-
Fuzzy_PI_Controller_2nd_order_sys
fuzzy PI control for dynamic system
- 2015-04-04 11:40:44下载
- 积分:1
-
MATLBdePPThedaan
说明: MATLAB学习的PPT及有关练习题和答案为MATLAB的高级学习提高有效的帮助(MATLAB learning PPT and the exercises and answers for the MATLAB high-level study to help improve the effective)
- 2008-12-08 10:44:10下载
- 积分:1
-
73codes
(7,3)线性分组码的译码过程和产生过程,此程序为信息课的作业((7,3) linear block code decoding process and the production process, this process work for the information class)
- 2010-11-25 13:11:06下载
- 积分:1
-
geodes
求复杂网络节点之间的最短距离,也叫做测地线,对复杂网络的拓扑性质的分析很重要(Complex networks seeking the shortest distance between nodes, also called geodesic network topological properties of complex analysis is very important)
- 2013-11-08 14:24:04下载
- 积分:1
-
Untitled
a.阅读的图像img_1.tif,img_2.png的文件夹中,并
他们展示于一体,这两个数字分别。
(参考函数:imread, imshow, figure, subplot)
b.在matlab,观察从工作区中的图像信息面板
c.分别使用size, imfinfo,whos等功能获得的图像信息
d.添加标题的图像。 (参考函数:title)
Ë 。下面的代码实现的M文件编辑器
f=imread(‘img_1.tif’)
imshow(f)
set(figure(1), NumberTitle , off , Name , my first image’)
观察结果,并确定的功set()
f。保存img_1.tif目录“D: imagetest”。如果该文件夹不
存在,请首先创建这个新的文件夹。 (参考函数:imwrite)
(a. Read the images img_1.tif, img_2.png given in the folder, and
show them in one and two figures respectively.
(referenced function: imread, imshow, figure, subplot)
b. In matlab, observe the images information from the workspace
Panel
c. Use size, imfinfo,whos,etc functions to obtain image information
respectively.
d. Add title to the images. (referenced function: title)
e. Implement the following codes in the M-file Editor
f=imread(‘img_1.tif’)
imshow(f)
set(figure(1), NumberTitle , off , Name , my first image’)
observe the result, and determine the function of set()
f. Save img_1.tif to the directory “d:imagetest”. If the folder does not
exist, please create this new folder first. (referenced function:
imwrite))
- 2013-04-26 09:26:40下载
- 积分:1
-
MS_Vectoriel
Synchronous machine PM control
- 2012-02-04 20:55:57下载
- 积分:1
-
03-3
司守奎matlab lingo数学建模与应用配套程序 第三章 非线性规划编程源代码(Company keep kratos lingo mathematical modeling, and application of matlab program The third chapter nonlinear programming programming source code
)
- 2015-07-01 09:24:26下载
- 积分:1