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

About the preprocessing before warping #10

Closed
ptriantd opened this issue May 4, 2017 · 1 comment
Closed

About the preprocessing before warping #10

ptriantd opened this issue May 4, 2017 · 1 comment

Comments

@ptriantd
Copy link

ptriantd commented May 4, 2017

It was mentioned in a previous issue that the occluded areas are filled with 0s before warping. Is this filling with 0s performed somewhere in this code? And is the location of the occluded areas available in your datasets?

@eddy-ilg
Copy link
Collaborator

eddy-ilg commented May 5, 2017

It is just the initialization with 0s. It was not entirely correct what I said, in this case we perform backward warping (warping image 2 to image 1). Since the flow field in image 1 is available for every pixel, we have a value to assign for every pixel (except for vectors pointing out of the image 2, these locations are left as 0). In the case of occlusion two different image locations from image 1 point to image 2. Both locations in image 1 will be assigned the same value after warping, but this value is only correct for one of the locations in image 1. In the other case the assigned color is wrong due to the occlusion. It is left to the network to deal with this. Some, but not all datasets include occlusion ground truth.

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

2 participants