region fill()function doesn't work for this masked image that i have attached. can u give me the sample code to do inpainting
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151512/image.png)
I have removed the object by freehand function
0 件のコメント
回答 (1 件)
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!