region fill()function doesn't work for this masked image that i have attached. can u give me the sample code to do inpainting

2 次查看(过去 30 天)
I have removed the object by freehand function

回答(1 个)

Walter Roberson
Walter Roberson 2015-11-8
fill with what?
In any case, take double() of your image, set the masked locations to Nan, and apply the File Exchange contribution inpaint_nans.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by