- 6
- 0
- 约9.52千字
- 约 15页
- 2018-04-06 发布于湖北
- 举报
图像处理课后探索模块使用说明书
自动化学院
石英
探索一:图像显示 1
探索二:图像基本运算 2
探索三:图像几何变换 5
探索四:图像正交变换 6
探索五:图像增强(一)——点运算 7
探索六:图像增强(二)——加噪与平滑 8
探索七:图像增强(三)——滤波增强 9
探索八:边缘检测 12
探索一:图像显示
图像读、显示和保存的MATLAB 命令
1.Imread :读取图像
使用格式:J = imadjust(I,[low_in high_in],[low_out high_out],gamma)
2 .Imwrite
使用格式:J = imadjust(I,[low_in high_in],[low_out high_out],gamma)
3 .Imshow
使用格式:J = imadjust(I,[low_in high_in],[low_out high_out],gamma)
图像读、显示和保存的MATLAB 示例
clear ,close all
I=imread(pout.tif);
imshow(I);
whos
I2=histeq(I);
imwrite(I2,pout2.png);
imshow(I2);
imfinfo(pout2.png)
1
探索二:图像基本运算
图像的算术运算(加、减、乘、除)和逻辑运算
imadd
imsubtract
imabsdiff
immultiply
imdivide
imcomplement 图像求反
MATLAB 示例
加法:C=A+B 去除叠加噪音生成叠加效果
减法:C=A-B 去除叠加图案检测同一场景中的图像变化
乘法:C=A*B 图像的局部显示
求反:~A 获得负像获得子图像的补图像
异或:A ⊙B 获得相交图像
clear all
A=imread(clev1.bmp);
B=imread(clev2.bmp);
figure(Name,原始图像) %创建图像窗口%
subplot(1,2,1) %拆分窗口%
imshow(A);title(原始A); %显示指定工作区图像%
colorbar %添加色度条%
subplot(1,2,2)
imshow(B);title(原始B);
colorbar
figure(Name, 图像算数运算)
res1=imadd(A,B); %A+B%
res2=imsubtract(A,B); %A-B%
res2_2=imsubtract(B,A); %B-A%
2
res3=immultiply(A,B); %A*B%
res4=imdivide(A,B); %A/B%
res4_2=imdivide(B,A); %B/A%
subplot(2,3,1)
imshow(res1);title(A 加B);
subplot(2,3,2)
imshow(res2);title(A 减B);
subplot(2,3,3)
imshow(res2_2);t
您可能关注的文档
- 防火门质检人员培训试题(答案)精选.pdf
- Website for Aron and Aron, Statistics for Psychology (3rd…精选.pdf
- Course Overview – Lean Six Sigma Green Belt - ASQ精选.pdf
- 256-订正太素脉秘诀精选.pdf
- Word_Smart-Building_A_More_Educated_Vocabulary_II精选.pdf
- Fragile by Design The Political Origins of Banking Crises and…精选.pdf
- 房地产销售部各岗位流程图精选.pdf
- career specialty preferences among psychology majors cognitive processing styles associated with scientist and practitioner interests精选.pdf
- machine learning and data mining machine learning algorithms文档精选.pdf
- Dynamic spectrum access — concepts and future architectures精选.pdf
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
原创力文档

文档评论(0)