Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not described how to use donors #11

Open
zavolokas opened this issue Mar 13, 2018 · 1 comment
Open

It is not described how to use donors #11

zavolokas opened this issue Mar 13, 2018 · 1 comment

Comments

@zavolokas
Copy link
Owner

zavolokas commented Mar 13, 2018

There is a feature that allows to use donor areas for the inpainting process. How does it works? You can provide an additional mask image where masked areas that fall into the area to inpaint will be inpainted from the areas that are not falling into the inpaint area.

The task is pretty fun though.

  1. You clone the repo.
  2. Build and run sample console project Inpaint
  3. Find the place in code where donors are used(for the moment they are empty)
  4. Find a sample image t061.jpg, mask - m061.png and donor images d0611.png, d0612.png - modify the sample code to use this input.
  5. Play around with it. Understand what it does.
  6. Update the README.md with good explanation on how donors work. It should contain code extracts and visuals(e.g. demonstrate results with and without donors).
  7. Be creative!
@WindowsNT
Copy link

I'm not sure I 've understood how to use the donor. I provide a new mask that contains the area that I want to use for filling, but it seems to ignore it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants