matlab图像增强与平滑简单程序

上传人:痛*** 文档编号:90256673 上传时间:2022-05-14 格式:DOC 页数:5 大小:506.50KB
返回 下载 相关 举报
matlab图像增强与平滑简单程序_第1页
第1页 / 共5页
matlab图像增强与平滑简单程序_第2页
第2页 / 共5页
matlab图像增强与平滑简单程序_第3页
第3页 / 共5页
点击查看更多>>
资源描述
图像增强与平滑直方图:I=imread;imshow;I=rgb2gray; %三维变成二维的图;figure,imhist; %显示灰度分布直方图均衡处理:I=imread;I=rgb2gray;J=histeq;Subplot,imshow;Subplot,imshow;figure,Subplot,imhist; Subplot,imhist; %这个参数是什么意思?灰度变换:imadjust;I=imread;I=rgb2gray;J=imadjust;Subplot,imshow;Subplot,imshow;figure,Subplot,imhist; Subplot,imhist;图像反转:I=imread;I=rgb2gray;J=imadjust;Subplot,imshow;Subplot,imshow;figure,Subplot,imhist; Subplot,imhist;图像平滑噪声I=imread;I=rgb2gray;J=imnoise;H=ones/25;I2=imfilter; %领域平均法去噪;Subplot,imshow;Subplot,imshow;高斯噪声J=imnoise; %高斯噪声I=imread;I=rgb2gray;J=imnoise;H=ones/25;I2=imfilter; %领域平均法去噪;Subplot,imshow;Subplot,imshow;掩模大小对比I=imread;I=rgb2gray;J=imnoise;H=ones/25;H1=ones/25;I1=imfilter; %5*5领域平均法去噪I2=imfilter; %2*2领域平均法去噪Subplot,imshow;Subplot,imshow;中值滤波I=imread;I=rgb2gray;J=imnoise;H=ones/25;I2=medfilt2; Subplot,imshow;Subplot,imshow;梯度法对图像锐化I=imread;I=rgb2gray;I=double;IX,IY=gradient;GM=sqrt;figure,imshow;拉普拉斯贝尔特拉米算子I=imread;I=rgb2gray;I=double;Subplot,imshow;H=0 1 0,1 -4 1,0 1 0;J=conv2;figure,imshow;图像色彩加强rgb=imread;rbgnew=rgb;rbgnew=rgb;rbgnew=rgb;figure,imshow;图像分割边缘检测I=imread;I=rgb2gray;J=edge; /%edge 调用roberts ,算子,阀值 0.1figure,imshow;阀值0.05;.
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 管理文书 > 施工组织


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!