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

What is the theory for SmallBlurryImage::IteratePosRelToTarget() method ? #16

Open
cggos opened this issue Jan 24, 2018 · 3 comments
Open

Comments

@cggos
Copy link

cggos commented Jan 24, 2018

I'm learning the PTAM code, but I cannot find the theory respond to the SmallBlurryImage::IteratePosRelToTarget() method linking https://github.com/Oxford-PTAM/PTAM-GPL/blob/master/Src/SmallBlurryImage.cc#L98-L205
I would appreciate it if you can tell me the theory or its thesis name.
I am looking forward to your reply, thank you.

@GeorgKlein
Copy link
Collaborator

This is described by section 6 of the ECCV 2008 paper "Improving the agility of keyframe-based SLAM". In short, we run ESM (similar to Lucas-Kanade) to align two images to each other over SE(2).

@cggos
Copy link
Author

cggos commented Feb 6, 2018

@GeorgKlein
I can not understand the code segment below in SmallBlurryImage::IteratePosRelToTarget() method.

  1. SE2<> se2XForm = se2WfromC * se2CtoC * se2WfromC.inverse();
    what does se2WfromC and se2CtoC mean and why make se2XForm in that form ?

  2. v4Jac[2] = -(ir.y - irCenter.y) * v2SumGrad[0] + (ir.x - irCenter.x) * v2SumGrad[1];
    what does v4Jac[2] mean and why compute it like this ?

  3. dMeanOffset -= v4Update[3];
    why use v4Update[3] to make dMeanOffset and compute the dFinalScore ?

@GeorgKlein
Copy link
Collaborator

GeorgKlein commented Feb 8, 2018 via email

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