What should be the first step to find data term in exempler based image inpainting?
1 view (last 30 days)
Show older comments
I am trying to implement the exempler based image inpainting algorithm given by criminisi. But I am having the hard time to figure out the above question. Can anybody please help me. It would be great help in my research. As I am doing research in inpainting.
Thanks
0 Comments
Answers (1)
Image Analyst
on 24 Jan 2015
I would guess that the first step is you read the article. Then, since it's not a built-in function of MATLAB, and no one here probably has programmed it up and is ready to hand it over to you, you should probably start coding up the first step it details in the paper.
2 Comments
Image Analyst
on 25 Jan 2015
Here is the code to mask an image:
% Mask the image.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask, class(rgbImage)));
Also works with a grayscale image.
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!