基于MATLAB数字图像处理大作业-图像去遮挡

上传者: s1t16 | 上传时间: 2022-12-01 17:28:02 | 文件大小: 5.47MB | 文件类型: ZIP
作业要求将图片前景的黑色栏杆去除,恢复遮挡部分。要求修改的图片有两张,第一张图片的前景栏杆较窄,第二张图片的前景栏杆大部分较窄,有一根栏杆较粗。 为了去除遮挡部分,首先需要找到遮挡部分的位置,即 mask,这一步使用一系列图像处理的方法来完成。 针对第一张图片,由于遮挡物较窄,我使用了 Fast Marching Method 算法来实现去遮挡,该算法运算较快,对窄遮挡物去除效果较好,但对宽遮挡物(宽度大于 15 像素)进行修复时会出现模糊现象(Telea, 2004)。因此,针对第二张图片的宽栏杆部分,我使用了 criminisi 算法来进行修复,该算法运算较慢,但对宽遮挡物修复效果极佳(Criminisi, Perez, &Toyama, 2003)。 此外,我对 criminisi 算法做了一点改动,大大提高了它的运算速度,同时保证修复质量。 为了便于可执行文件的使用,我制作简单的 UI 界面。 去遮挡算法难以用矩阵运算实现,只能使用 for 循环,因此运算速度整体较慢。为了减少运算时间,我缩小了图片尺寸。

文件下载

资源详情

[{"title":"( 24 个子文件 5.47MB ) 基于MATLAB数字图像处理大作业-图像去遮挡","children":[{"title":"imageinpainting","children":[{"title":"报告.pdf <span style='color:#111;'> 2.00MB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"简介.md <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"code","children":[{"title":"mygui.m <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"main1.m <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"get_mask","children":[{"title":"get_hough_lines.m <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"get_mask_2.m <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"maskFromlines.m <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"lines_integrate.m <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"get_mask_1.m <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"img2.JPG <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false},{"title":"main2.m <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"criminisi_inpaint","children":[{"title":"inpaint_criminisi.m <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"bestMatch_fast.m <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"bestMatch.m <span style='color:#111;'> 987B </span>","children":null,"spread":false}],"spread":true},{"title":"FFM_inpaint","children":[{"title":"solve_T.m <span style='color:#111;'> 743B </span>","children":null,"spread":false},{"title":"inpaint_FMM.m <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"myMinheap.m <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"compute_outside.m <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"mygui.fig <span style='color:#111;'> 42.02KB </span>","children":null,"spread":false},{"title":"img1.JPG <span style='color:#111;'> 618.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"结果","children":[{"title":"img1_result.png <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"img2_result.png <span style='color:#111;'> 207.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 18.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明