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

SurfaceFitView: Watch for cases when there is no valid disparity #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oleg-alexandrov
Copy link

I put a fix for the case when the input disparity is invalid in the entire region to fit.

This code is still not robust enough in funny situations. I would argue that a better approach would be to simply blur the input disparity, but then one must be careful that one invalid pixel in the disparity not invalidate the entire convolution, so one would need to blur by doing a weighted average of the valid pixels only.

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

Successfully merging this pull request may close these issues.

1 participant