cszn / IRCNN

Learning Deep CNN Denoiser Prior for Image Restoration (CVPR, 2017) (Matlab)
http://openaccess.thecvf.com/content_cvpr_2017/papers/Zhang_Learning_Deep_CNN_CVPR_2017_paper.pdf
589 stars 173 forks source link

About “Demo_inpaint” application #11

Closed mylifeyouwill closed 6 years ago

mylifeyouwill commented 6 years ago

In that application, you use Shepard initialize to fit the picture. But in Shepard function, you use mask as one of its parameter.

I'm very confused about how can we get a picture's "mask.png".Totally we just get a picture without its mask. If your paper just ignores mask's extract just because it is so easy for the paper?

Maybe my problem was so noob.... Sorry about that because I'm new to the CNN...

If you have free time to answer, thank you for your patience!!!

cszn commented 6 years ago

In most inpainting literature, the mask is given. On the other hand, it is easy to get the mask.