预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共23页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

附录MATLAB图像处理工具箱函数 表1通用函数 函数功能语法colorbar显示颜色条colorbar colorbar(...,'peer',axes_handle) colorbar(axes_handle) colorbar('location') colorbar(...,'PropertyName',propertyvalue) cbar_axes=colorbar(...)getimage从坐标轴取得图像数据A=getimage(h) [x,y,A]=getimage(h) [...,A,flag]=getimage(h) [...]=getimageimage创建并显示图像对象image(C) image(x,y,C) image(...,'PropertyName',PropertyValue,...) image('PropertyName',PropertyValue,...)Formalsyntax-PN/PVonly handle=image(...)imagesc按图像显示数据矩阵imagesc(C) imagesc(x,y,C) imagesc(...,clims) h=imagesc(...)imshow显示图像imshow(I,n) imshow(I,[lowhigh]) imshow(BW) imshow(X,map) imshow(RGB) imshow(…,display_option) imshow(x,y,A,…) imshowfilename h=imshow(…)imview利用图像浏览器显示图像imview(I) imview(RGB) imview(X,map) imview(I,range) imview(filename) imview(...,'InitialMagnification',initial_mag) h=imview(...) imviewcloseallmontage在矩形框中同时显示多帧图像montage(I) montage(BW) montage(X,map) montage(RGB) h=montage(...)immovie创建多帧索引色图像的电影动画mov=immovie(X,map) mov=immovie(RGB)subimage在一个图形中显示多个图像,结合函数subplot使用subimage(X,map) subimage(I) subimage(BW) subimage(RGB) subimage(x,y,...) h=subimage(...)truesize调整图像显示尺寸truesize(fig,[mrowsmcols]) truesize(fig)wrap将图像显示到纹理映射表面warp(X,map) warp(I,n) warp(BW) warp(RGB) warp(z,...) warp(x,y,z,...) h=warp(...)zoom缩放图像或图形zoomon zoomoff zoomout zoomreset zoom zoomxon zoomyon zoom(factor) zoom(fig,option) 表2图像文件I/O函数 函数功能语法imfinfo返回图像文件信息info=imfinfo(filename,fmt) info=imfinfo(filename)imread从图像文件中读取图像A=imread(filename,fmt) [X,map]=imread(filename,fmt) [...]=imread(filename) [...]=imread(URL,...) [...]=imread(...,idx) (CUR,GIF,ICO,andTIFFonly) [...]=imread(...,'PixelRegion',{ROWS,COLS})(TIFFonly) [...]=imread(...,'frames',idx)(GIFonly) [...]=imread(...,ref)(HDFonly) [...]=imread(...,'BackgroundColor',BG) (PNGonly) [A,map,alpha]=imread(...) (ICO,CUR,andPNGonly)imwrite把图像写入图像文件中imwrite(A,filename,fmt) imwrite(X,map,filename,fmt) imwrite(...,filename) imwrite(...,Param1,Val1,Param2,Val2...) 表3空间变换函数 函数功能语法findbounds为空间变换寻找输出边界ou