Giter VIP home page Giter VIP logo

Comments (3)

HpWang-whu avatar HpWang-whu commented on September 23, 2024

Hi @qsisi ,
Sorry for the late reply and thanks for your interest!
In SGHR, the relative transformation aligns point cloud $P_j$ to point cloud $P_i$ , here $j>i$, i.e., $P_i = R_{ij} * P_j + t_{ij}$ s.t. $j>i$. (For consistence with FCGF/YOHO/SpinNet/GeoTrans.)
In LTS, the basic relative transformation is formulated as: $P_j = R_{ij} * P_i + t_{ij}$, s.t. $j>i$.
Thus, $R_{ij}^{LTS} = (R_{ij}^{SGHR})^T$ and $t_{ij}^{LTS} = -(R_{ij}^{SGHR})^T * t_{ij}^{SGHR}$.
Such a difference causes the differences of rotation and translation synchronization formulations. Specifically, for rotation synchronization, LTS uses $R_{ij}^T$ in its Eq.(1) while SGHR using $R_{ij}$ in Eq.(8).
For translation sychronization, I have not derived LTS‘s formulation carefully, but I believe it can be derived with the basic least square method or its variants: https://en.wikipedia.org/wiki/Least_squares, where the translation solution of SGHR comes from.

Yours,

from sghr.

qsisi avatar qsisi commented on September 23, 2024

Thanks for your prompt reply, I did notice the "inverse" relations on rotations between LTS and SGHR, but I still could not derive the translation synchronization of your implementation. So may I ask did the code scripts come from other code bases?

Thank you so much for your help.

from sghr.

HpWang-whu avatar HpWang-whu commented on September 23, 2024

Hi @qsisi,
Sorry for the late reply!
This code snippet is original and is implemented based on Linear Least Square Algorithm and the following formulas:

'''
base : RiPi+ti = RjPj+tj
Pi = RijPj+tij
--> Ri(RijPj+tij)+ti = RjPj+tj
--> RiRij = Rj Ritij+ti = tj
--> -ti + tj = Ritij (3 formular)
least square:
B: (p*3)*(N*3)
P: (p*3)*(p*3)
L: Ritij--> (p*3)
'''

yours,

from sghr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.