any one can solve the code of image inpaintig that i have attatched
1 次查看(过去 30 天)
显示 更早的评论
hello please check the attached code in that code it only run for the one image which i have attached. so please checked it and make it run for any images
0 个评论
采纳的回答
Image Analyst
2014-5-4
Like I said in your duplicate post, that's not a good or efficient method. See my better method, attached as test.m. Even if you did want to use convolution, you wouldn't do it like you did it for reasons I gave in your duplicate post. My method uses roifill(), the inpainting method built in to the Image Processing Toolbox.
13 个评论
Image Analyst
2014-5-7
It gets pixels that are black in all three color channels. So if RGB = (0,0,0) it would get that, but if the pixel is (0,2,0) it would not consider that as black because it's not pure black in the green.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!