How to use inpaint on RGB image with binary mask
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to use the inpaint in matlab like its used in Mathematica by implementing directly on the "RGB" Image with the region specified.
Inpaint[image,region]
I have tried finding any substitute in matlab but was not succeeded. The functions developed for it doesn't take the RGB image as input or either the mask binary image as the region.
Kindly guide me how can i solve this problem.
Highly thankful.
0 个评论
回答(1 个)
KSSV
2018-4-27
YOu keep the values as it is at the places where you don't want to paint.....at the region where you want to use inpaintn at that region keep NaN's.
3 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!