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