What should be the first step to find data term in exempler based image inpainting?

1 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2015-1-24
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 个评论
jainab bano
jainab bano 2015-1-25
Thanks for the answer. But I didn't want the code. I'll code it. I have two images one is original image and another one is mask image (that have 1's in the mask region that we want to remove and 0's in remaining region). Now I need to find the contour in original image by using this mask. So how can I find the contour of removed region?
Image Analyst
Image Analyst 2015-1-25
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by