Skip to content

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

@domengorjup

Description

@domengorjup

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions