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

Image capture is missing pixels #2

Open
Yoric opened this issue Oct 3, 2016 · 0 comments
Open

Image capture is missing pixels #2

Yoric opened this issue Oct 3, 2016 · 0 comments

Comments

@Yoric
Copy link
Collaborator

Yoric commented Oct 3, 2016

The problem here is that the mask provided by the background substractor contains holes. We might want to use some kind of imFill or inpaint to fix this, or simply a blur.

object

Yoric pushed a commit that referenced this issue Oct 6, 2016
With this patch, instead of keeping only the last frame for extracting
an object, we try perform the attempt on (by default) the last 10% of
frames. Results show that we obtain better quality of image. The
drawback is that we tend to overcapture the background a bit more.
Yoric pushed a commit that referenced this issue Oct 6, 2016
In many cases, the mask used to compute the image contains holes. We
recover these pixels by flood filling any hole. We discard the image
when we realize that we have filled too many pixels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant