srcImage = imread('C:/Users/lenovo/Documents/MATLAB/正弦图/牙齿.png'); % 读入图像
srcImage = rgb2gray(srcImage); % 将图像转换为灰度图像
theta1 = 0:0.5:179.5;
theta2 = 0:2:178;
theta3 = 0:10:170;
[R1, x1] = radon(srcImage, theta1);
[R2, x2] = radon(srcImage, theta2);
[R3, x3] = radon(srcImage, theta3);
figure;
imagesc(theta1, x1, R1);
xlabel('Parallel Rotation Angle - \theta (degree)');
ylabel('Parallel Sensor Position - x'' (pixels)');
colormap(hot);
colorbar;
I1 = iradon(R1,theta1,'none');%defulat:Ram-Lak滤波器
I2 = iradon(R1,theta1,'Hamming');
I3 = iradon(R1,theta1);
I4 = iradon(R2,theta2,'none');%defulat:Ram-Lak滤波器
I5 = iradon(R2,theta2,'Hamming');
I6 = iradon(R2,theta2);
I7 = iradon(R3,theta3,'none');%defulat:Ram-Lak滤波器
I8 = iradon(R3,theta3,'Hamming');
I9 = iradon(R3,theta3);
figure;
subplot(3,3,1);imshow(I1,[]);title('theta1=0:0.5:179.5 无滤波');
subplot(3,3,2);imshow(I2,[]);title('theta1=0:0.5:179.5 Hamming滤波');
subplot(3,3,3);imshow(I3,[]);title('theta1=0:0.5:179.5 Ram-Lak滤波');
subplot(3,3,4);imshow(I4,[]);title('theta2=0:2:178 无滤波');
subplot(3,3,5);imshow(I5,[]);title('theta2=0:2:178 Hamming滤波');
subplot(3,3,6);imshow(I6,[]);title('theta2=0:2:178 Ram-Lak滤波');
subplot(3,3,7);imshow(I7,[]);title('theta3=0:10:170 无滤波');
subplot(3,3,8);imshow(I8,[]);title('theta3=0:10:170 Hamming滤波');
subplot(3,3,9);imshow(I9,[]);title('theta3=0:10:170 Ram-Lak滤波');
代码的建筑师
- 粉丝: 3042
- 资源: 81
最新资源
- 注塑技术员试题及答案.doc
- 自学考试房地产开发和经营重点.doc
- 江苏镇江市2018年中考语文试题答案和解析.doc
- 精神病学试题与答案.doc
- 教育行动研究报告的写作.doc
- 老年人常见疾病的护理知识.doc
- 考试后激励学生的话.doc
- 廉洁文化主题教育课教学案.doc
- 贫困家庭申请书范文(精选多篇).doc
- 培训机构教学计划.doc
- 全新版大学英语综合教程3contentquestions答案.doc
- 全科医师转岗培训理论考试题和正确答案.doc
- 全国居民健康素养知识问卷80题及答案.doc
- 服装公司薪酬福利管理手册.docx
- 服装薪酬体系-KPI绩效考核指标.xls
- 各岗位KPI绩效考核指标——服装生产企业.xls
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈