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

Applying Optical Flow Transform in SynWoodscape #133

Open
skrishnanv opened this issue Dec 16, 2023 · 0 comments
Open

Applying Optical Flow Transform in SynWoodscape #133

skrishnanv opened this issue Dec 16, 2023 · 0 comments

Comments

@skrishnanv
Copy link

skrishnanv commented Dec 16, 2023

Hello,
First, thanks for the efforts for the datasets.
I am trying to use the ground truth optical flow vector to warp the previous and current images. Is there in example code to achieve the same? I have tried the Python code linked here:
Using this code, the output interpolated image looks unsatisfactory, either it has lot of holes using img1 option, as explained in the documentation or using img2, the output image has duplicated overlays at the bottom of the image.
Therefore, it will be nice if there is an example code demonstrating the warped image; and also a documentation explaining the flow field clearly whether

  1. the flow moves each pixel of source(previous frame) image to a location in the destination(current frame). in this case, the output wont be a regular grid and rounding the indices will lead to holes
  2. it specifies for each output pixel(in destination image), where the source pixel comes from in the previous image
    I hope my query is clear and if not, i am happy to clarify.
    rgds
    krishnan
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