Git Product home page Git Product logo

Comments (4)

binhhuyle avatar binhhuyle commented on August 16, 2024

Hi @pramanc,
transAffine regularizer was come up after these two papers were published so it was not reported anywhere.

The idea of this regularizer is forcing the bone translation following the centroid of the patch influenced by that bone. By doing so, the bones do not "fly around".

Specifically, transAffineNorm is used to compute the position of the centroid by taking the weighted sum of vertex positions, where the weights are (skinning weight)^transAffineNorm.
Centroid of bone j at rest pose is: (\sum_{j=0}^{nB-1} w_{ij}^transAffineNorm * u_i) / (\sum_{j=0}^{nB-1} w_{ij}^transAffineNorm)
(centroid at skinning pose is similar).

Then transAffine is the strength of the regularizer on the translation solver.

from dem-bones.

pramanc avatar pramanc commented on August 16, 2024

@binhhuyle Sorry for the late response.

Actually I'm try to figure it out. I totally understand about transAffineNorm and the equation of centroid.
But for the transAffine term, I'm still confused why it would help forcing the bone translation following the centroid.

The bone translation part is calculated by
m.transVec(k, j)=qpT.template topRightCorner<3, 1>() - m.rotMat(k, j)*qpT.template bottomLeftCorner<1, 3>().transpose();

For a rigid body registration problem, the translation is determin by the rotation and center of rotation, so basicly the transAffine affect the center of rotation?

from dem-bones.

binhhuyle avatar binhhuyle commented on August 16, 2024

Hi @pramanc,

Yes, that is correct. In other words, transAffine forces the center of rotation to be close to the weighted sum of vertex positions above.

from dem-bones.

pramanc avatar pramanc commented on August 16, 2024

@binhhuyle hhh, Thank you!

I understand the basic theory now! I think I still to need to do the dirty math myself to truely understand it~

from dem-bones.

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.