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

ENH: LucasKanade:d_subpixel_init could be passed to optimize_translations #8

Open
domengorjup opened this issue Jan 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@domengorjup
Copy link
Collaborator

When starting the optimization loop in methods.LucasKanade.calculate_displacements, the input current image subset G is selected at the last calculated point location, rounded to nearest integer position. This enables us to never have to interpolate the current image G, only the reference image is interpolated.

The last calculated (subpixel) position of the observed point is an even better initial estimate to our optimization loop. The remainder when rounding the result of the previous optimization could possibly be passed as d_subpixel_init to the optimize_translations method, and could decrease the number of optimization iterations to convergence.

The correct direction of this remainder should be checked when implementing this, as well as the new number of iterations until convergence.

@domengorjup domengorjup self-assigned this Jan 30, 2020
@domengorjup domengorjup added the enhancement New feature or request label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant