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일)
이전 댓글 표시
![](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!