Matlab code for basic pixel based inpainting
Show older comments
Hello, I am a beginner in MATLAB. As a part of my research work I want to implement pixel based inpainting on a masked image. Please help and provide me the relevant MATLAB code.\Basic idea in this method is that the the intensity of the pixel P is decided by the pixel P1 and P2. P1 nad P2 are nearby pixels. Thanks
Answers (1)
Image Analyst
on 2 May 2014
0 votes
Use roifill. Be sure to dilate your mask first. See http://blogs.mathworks.com/steve/2014/03/18/roifill-design-critique/
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!